The scale command is used to change the sizes of geometric objects. The default behaviour, when no objects or flags are passed, is to do a relative scale on each currently selected object object using each object’s existing scale pivot point.
allows any iterable object to be passed as first argument:
scale("pSphere1", [0,1,2])
NOTE: this command also reorders the argument order to be more intuitive, with the object first
Perform an absolute operation.
Let the pivot be the center of the bounding box of all objects
deletePriorHistory : dph (bool) []
Scale only the distance between the objects.
localSpace : ls (bool) []
Let the pivot be the center of the bounding box of each object
objectSpace : os (bool) []
orientAxes : oa (float, float, float) []
Define the pivot point for the transformation
preserveChildPosition : pcp (bool) []
When true, UV values on scaled components are projected along the axis of scaling in 3d space. For small edits, this will freeze the world space texture mapping on the object. When false, the UV values will not change for a selected vertices. Default is false. Flag can have multiple arguments, passed either as a tuple or a list.
To move the corresponding symmetric components also.
Sets the position of the reflection axis at the geometry bounding box
Sets the position of the reflection axis at the origin
Specifies the X=0 as reflection plane
Specifies the Y=0 as reflection plane
Specifies the Z=0 as reflection plane
Specifies the tolerance to findout the corresponding reflected components
Perform a operation relative to the object’s current position
Scale in X direction
Scale in X and Y direction
Scale in all directions (default)
Scale in X and Z direction
Scale in Y direction
Scale in Y and Z direction
Scale in Z direction
worldSpace : ws (bool) []
Derived from mel command maya.cmds.scale