Syntax
- r(xAngle, yAngle, zAngle)
- r(center, xAngle, yAngle, zAngle)
Parameters
- xAngle, yAngle, zAngle—floatAngle in degrees to rotate about each axis.
- center—selector
- scopeOrgin—Default. Rotates around the scope origin (scope.t).
- scopeCenter—Rotates around the scope center.
Description
The r operation rotates the current shape around the pivot-axes in xyz order (it adds the given angles to scope.r). If the rotation center is scopeCenter, it also updates scope.t to keep the center fixed.
Note:
r(x,y,z) is the same as rotate(rel,pivot,x,y,z)
Related
Examples
Rotation centers
|
In this example, a mass model is split in vertical direction and the slices are rotated around the scope.t. Each slice's scope is shown, note how the y-axes denote an axis of symmetry. | ![]() |
The same example as above, but this time the rotations are around the scope center. | ![]() |

