Nodes ▸ Functions ▸ Mesh Filters ▸ Geometry

Rotate

Rotates a mesh by an angle about an axis through an origin point, optionally carrying its vector arrays along.

Rotatex

Inputs

PortAcceptsRequiredDescription
x dataset required The mesh (or any dataset, promoted) to filter

Parameter ports

Added from the Parameters pane (⊕). While connected, each drives its parameter.

PortAcceptsModeDescription
axis
Axis
primitive(array) opt-in Axis as a 3-element array, read in the current direction frame; overrides the Axis row while connected
origin primitive(array) opt-in
drives origin
Drives the Origin parameter while connected
angle primitive(number) opt-in
drives angle
Drives the Angle parameter while connected

Outputs

dataset(mesh)

Parameters

The Parameters pane shows only the parameters relevant to the current settings.

ParameterKindDefaultChoices / rangeUnitNotes
Origin
origin
vector none ⇄ port
Direction frame
direction_frame
choice cartesian cartesian | spherical
Axis
axis
vector (0, 0, 1)
Axis
axis_sph
vector (1, 0, 0)
Angle
angle
float 0 deg ⇄ port
Transform vectors
transform_vectors
bool true
Space
space
choice cartesian spherical | cartesian

Used by

No stock template or group uses this node.