Rotate
Rotates geometry by angle° around an axis that passes through pivot. Works on Path, PointArray, Mesh, and Toolpath.
Node
Interactive preview is available in the interactive reader.
Sockets
geometry (in)- Path / PointArray / Mesh / Toolpath. Required.
angleDeg (in)- Float. Rotation angle in degrees.
axis (in)- Vector3. Rotation axis direction (default [0, 0, 1]).
pivot (in)- Vector3. A point the axis passes through (default [0, 0, 0]).
path, points, mesh, toolpath (out)- The rotated geometry on its matching output socket.
Parameters
Angle °- Fallback angle. Default: 0.
Axis- Fallback axis direction. Default [0, 0, 1] (rotate around Z).
Pivot- Fallback pivot point. Default [0, 0, 0] (world origin).
How It Works
Uses the Rodrigues rotation formula to build a rotation matrix from (axis, angle), then applies the matrix to each vertex after translating into pivot-local space and back. The axis is automatically normalised, so any non-zero vector is accepted.