Class Name: Scale

Superclass - LSR Transformation Step

Definition

An LSR Transformation Step that specifies a scaling percentage along the given axis.

If the absolute value of the scaling percentage is greater than 1.0, then the Scale operation will stretch any target object along the given axis. On the other hand, if the absolute value is less than 1.0, any target object will be shrunk along the given axis.

If the scaling value is negative, then the Scale operation will reflect any target object across the origin along the given axis, as well as shrinking or stretching the object based on the magnitude of the scale amount.

Primary Page in DRM Diagram:

Example

  1. Scale by 2.0 along the Z axis
  2. Scale by 0.5 along the Y axis
  3. Scale by -0.75 along the X axis
  4. Scale by 0.0 along the Z axis

FAQs

--FAQs needed here --

Constraints

None.

Composed of (one-way)(inherited)

Composed of (two-way)

Component of (one-way)(inherited)

Field Elements

SE_AXIS_ENUM axis; (notes)
SE_FLOAT64 scale_amount; (notes)

Notes

Composed of Notes

Reference_Vector

 This <Reference Vector> must have
 vector_type = SE_LSR_TRANSFORMATION_AXIS

Fields Notes

axis

 which axis to scale along (X, Y, Z, all,
 or the component <Reference Vector>)

scale_amount

 percentage to scale by

Prev: Same As Geometry Node. Next: Scale Control Link. Up:Index.