Command Line 6.2.10

3.91. scale3D command

Description: This command scales the three dimensions (X, Y, Z) of an object or objects by the same factor specified by the user.

Inline mode usage:

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

Interactive mode usage:

  • Invocationscale3D or scale3D -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.
    • 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 create an ellipsoid and then scale it by a factor of 1.5. 

command> ellipsoid

Select center [x y z]: 0 0 0

X radius [double]: 0.5

Y radius [double]: 1

Z radius [double]: 0.8

command> scale3d

Select objects on screen (Press enter when done): 

Scale factor [double]: 1.5

command> 

 Result:

scale3D

Scaled ellipsoid in the three dimensions

 

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