Align

Aligns input primitives to each other.


Inputs

  • geometry

    • Accepts multiple geometry connections.
  • mode

    • Sets the mode in which input primitives are aligned. This can be between primitive connections (which will align input geometry to the primitives within the first geometry connection) or all input primitives (which will align input geometry to the first primitive).
  • x align target

    • Sets what boundary/value that primitives are aligned by in the x-axis. This can be None (which will not align primitives in the x-axis), min, centroid, or max.
  • x source

    • Sets what source that primitives are aligned to in the x-axis. This can be first connection or primitive (as defined by the mode input), average of all (which takes the bounds of all input primitives), or value (which aligns to a particular value rather than the bounds of primitives).
  • of x source

    • Sets what boundary/value that primitives are aligned to in the x-axis. This can be min, centroid, or max.
  • x value

    • The value that primitives are aligned to in the x-axis when the x source input is set to value.
  • x offset

    • The value that defines how much to offset primitives from the alignment in the x-axis.
  • y align target

    • Sets what boundary/value that primitives are aligned by in the y-axis. This can be None (which will not align primitives in the y-axis), min, centroid, or max.
  • y source

    • Sets what source that primitives are aligned to in the y-axis. This can be first connection or primitive (as defined by the mode input), average of all (which takes the bounds of all input primitives), or value (which aligns to a particular value rather than the bounds of primitives).
  • of y source

    • Sets what boundary/value that primitives are aligned to in the y-axis. This can be min, centroid, or max.
  • y value

    • The value that primitives are aligned to in the y-axis when the y source input is set to value.
  • y offset

    • The value that defines what to offset primitives from the alignment in the y-axis.
  • z align target

    • Sets what boundary/value that primitives are aligned by in the z-axis. This can be None (which will not align primitives in the z-axis), min, centroid, or max.
  • z source

    • Sets what source that primitives are aligned to in the z-axis. This can be first connection or primitive (as defined by the mode input), average of all (which takes the bounds of all input primitives), or value (which aligns to a particular value rather than the bounds of primitives).
  • of z source

    • Sets what boundary/value that primitives are aligned to in the z-axis. This can be min, centroid, or max.
  • z value

    • The value that primitives are aligned to in the z-axis when the z source input is set to value.
  • z offset

    • The value that defines what to offset primitives from the alignment in the z-axis.
  • first object

    • Sets what to do with the first geometry connection/primitive. This can be keep position, include in align, or delete.

Outputs

  • geometry

    • Output primitives.
  • points

    • The list of points of the output primitives.
  • points.x

    • The list of x values of the points of the output primitives.
  • points.y

    • The list of y values of the points of the output primitives.
  • points.z

    • The list of z values of the points of the output primitives.

Note(s)

  • When the mode input is set to between primitive connections the primitives in each input geometry connection are treated as a group.

Examples