scale1D

This command scales only the specified dimension (X, Y, Z) of an object or objects by the factor specified by the user.

Inline mode usage

scale1D -h
Displays the help file that summarizes the parameters for this command.
scale1D –all –p <scaleFactor>
Scales all objects with a scale factor.
scale1D <name> –p <scaleFactor>
Scales one selected object with a scale factor.
scale1D –nolocal -all –p <scaleFactor>
Scales all objects with a scale factor, ignoring the reference plane to apply it.
scale1D –nolocal <name> –p <scaleFactor>
Scales one selected object with a scale factor, ignoring the reference plane to apply it.

Interactive mode usage

Invocation
scale1D or scale1D -all
Parameters
  • Objects to scale (when not using the all modifier). The objects can be selected by left-clicking on them in the geometry view (hold Ctrl for multiple selection) or by left-clicking on them in the tree view.
  • Coordinate. The dimension to be scaled. Only one of the values "x", "y" or "z" are allowed.
  • Scale factor. Factors smaller than 1 decrease the size of the selected objects while factors greater than 1 magnify the objects.
  • By default, the selected objects will be scaled using the reference plane as reference. Optionally, the user can specify the -noLocal argument to ignore the reference plane when scaling.

Example

We’re going to scale the height of a cone by using the scale1D command.

command> cone -c
Select center [x y z]: 0 0 0
Bottom radius [double]: 1
Height [double]: 1
Top radius [double]: 0
command> scale1D
Coordinate {x|y|z}: z
Scale factor [double]: 2
command> 

Result

Figure 1. Cone scaled in the Z coordinate