OrientPoints

Read with AI
All docs in one file (llms-full.txt)
OrientPoints #3D #Node
OrientPoints

Rewrites only the Rotation of the input PointCloud and outputs it. It does not touch position, scale, or color at all. This node exists so you can decide, through wiring, which way the meshes placed by a downstream CopyToPoints face; the three modes from FaceCenter2D onward output rotation around the Z axis only (within the screen plane).

Modes (dropdown)

  • Set (default) — Sets the rotation of every point to the Euler angles (X, Y, Z)
  • Add — Adds (X, Y, Z) to the rotation of every point
  • FaceCenter2D — Treats X/Y as the center and rotates in-plane toward the direction from the center to the point. Z is an angle offset
  • AlongOrder2D — Rotates in-plane toward the direction of the next point (the last one wraps to the first). Z is an angle offset
  • RandomZ — A random in-plane rotation of 0-360 degrees determined by Seed. Z is an angle offset

Notes on the ports

  • Euler X / Center X — Euler X for Set / Add, the X of the field center for FaceCenter2D
  • Euler Y / Center Y — Likewise Euler Y / the Y of the center
  • Euler Z — Euler Z for Set / Add, an angle offset for the other three modes
  • Seed — Used only by RandomZ (default 1)

Input ports

Port IDType
PointCloudPointCloudInput
Euler X / Center Xfloat
Euler Y / Center Yfloat
Euler Zfloat
Seedint

Output ports

Port IDType
PointCloudPointCloudOutput

Scriptable members

PathType
xInputfloat
yInputfloat
zInputfloat
seedInputint

Synapse Apps (scripting)

await synapse.modules.create({ type: "OrientPoints" })

Also referenced from