Box

Creates a box.


Inputs

  • type

    • Sets the type of box to output. This can be normal or csg.
  • center

    • The vector value that defines the center of the output box.
  • scale

    • The vector value that defines the scale of the output box.
  • uniform scale

    • The vector value that defines the uniform scale of the output box.

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.

Notes

  • The scale of a box in both the scale and uniform scale inputs are additive and are both considered in the operation of the node.

  • The size of a box when both the scale and uniform scale inputs are 1 are the same unit scale as the set “graph length unit”. For example if the “graph length unit” is in millimeters, then the size of the box will be 1mm,1mm,1mm.

  • The type input defines the library in which a box is created (normal and CSG). Both are functionally similar, though will have differing triangulation methods.

  • Other names for this node include: PolyBox, Poly box, and Cube.

Examples