Syntax
- rotate(mode, coordSystem, xAngle, yAngle, zAngle)
Parameters
- mode—selector
- abs—Absolute mode. The angles are set to the given values.
- rel— Relative mode. The angles are added to the current orientation.
- coordSystem—selector{ scope | pivot | object | world }—Name of the coordinate system in which the following angles are given.
- xAngle, yAngle, zAngle—floatAngles in degrees to rotate about each axis.
Description
The rotate operation rotates the current shape (it manipulates the scope orientation scope.r). The angles can be defined in any coordinate system, and the rotation can either be absolute (= set the angles) or relative (= add the angles).
Related
Examples
Set scope orientation to world coordinate system angles
Using the absolute mode, the scope orientation can be set to an orientation relative to the world origin. | ![]() |
