next up previous contents index
Next: CONSTRUCT TRANSFRM TRANSLATE [trnam] pnam1 pnam2 Up: CONSTRUCT TRANSFORM Previous: CONSTRUCT TRANSFRM ROTATE [tnam] definition

CONSTRUCT TRANSFRM SCALE [tnam] pnam1 pnam2 fact1 [fact2]

    

This command is used to define a scaling transformation.


tnam = name of the transformation
pnam1 = a point at the origin of scaling. The point may be identified by name
or picked using the graphics cursor.
pnam2 = a point on the positive axis of scaling. The point may be identified
by name or picked using the graphics cursor.
fact1 = axis scale factor to be applied in the axis direction.
fact2 = optional plane scale factor to be applied about the axis in the plane
normal to the axis direction.

This command is used to define scaling transformations for use in GEOMETRY SWEEP, GEOMETRY COPY and GEOMETRY MOVE commands.

The scaling is performed relative to a plane containing the point `pnam1' and with a normal direction (the axis of scaling) from `pnam1' to point `pnam2'. Scaling is done in the normal direction with the specified axis scale factor. If the factor is less than 1.0, then points will move towards the plane; if the factor is greater than 1.0, then points will move away from the plane.

Similarly, if the plane scale factor is less than 1.0, then points will move towards the axis; and if the plane scale factor is greater than 1.0, then points will move away from the axis.

If uniform scaling in all directions is required then `fact2' (the plane scale factor) must be set equal to `fact1' (the axis scale factor).

Examples:

1.
CONSTRUCT TRANSFRM SCALE SCA1 P1 P2 2.5

This defines a scaling of 2.5, called SCA1, relative to a plane defined by points P1 and P2.

See also the following commands

'GEOMETRY COPY'
'GEOMETRY MOVE'
'GEOMETRY SWEEP'


next up previous contents index
Next: CONSTRUCT TRANSFRM TRANSLATE [trnam] pnam1 pnam2 Up: CONSTRUCT TRANSFORM Previous: CONSTRUCT TRANSFRM ROTATE [tnam] definition

Femsys Limited
1st October 1999