scale

This command scales the size of an object or objects by a factor specified by the user.

Inline mode usage

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

Interactive mode usage

Invocation
scale or scale -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-noLocalargument to ignore the reference plane when scaling.

Example

We’re going to create a 1x1x1 cube and then scale it so we convert it into a 10x10x10 cube. First, we need to create the original cube:

>box
First corner of base [x y z]: 0 0 0
Other corner of base [x y]: 1 1
Height: 1
> 


Figure 1. Original 1x1x1 cube

Now, we just have to scale this cube by a factor of 10:

>scale
Select objects on screen (Press enter when done):
Scale factor (double): 10
> 


Figure 2. Scaled cube