Command Line 6.2.10

3.89. scale1D command

Description: 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.
  • scale1–all –p <scaleFactor>: Scales all objects with a scale factor.
  • scale1<name> –p <scaleFactor>: Scales one selected object with a scale factor.
  • scale1–nolocal -all –p <scaleFactor>: Scales all objects with a scale factor, ignoring the reference plane to apply it.
  • scale1–nolocal <name> –p <scaleFactor>: Scales one selected object with a scale factor, ignoring the reference plane to apply it.

Interactive mode usage:

  • Invocationscale1or scale1-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:

scale1d

Cone scaled in the Z coordinate

 

We use cookies on this website to improve your navigation experience on this site. By using this site, you agree to our cookie policy.

I agree