Go to: Related nodes. Attributes.

This node creates a polygonal cube according to the width, height, depth, and number of subdivisions in X, Y, and Z. UVs on the cube are created if the texture attribute is set to true.

Node name Parents MFn type Compatible function sets
polyCube polyPrimitive kPolyCube kBase
kNamedObject
kDependencyNode
kPolyCreator
kPolyPrimitive
kPolyCube

Related nodes

polyCreator, polyCreateFace, polyPrimitive, polyTorus, polyPlane, polyCone, polySphere, polyCylinder, polyUnite, polyBoolOp, polyBlindData, mesh

Attributes (8)

createUVs, depth, height, subdivisionsDepth, subdivisionsHeight, subdivisionsWidth, texture, width

Long name (short name) Type Default Flags
width (w) distance (double) 1.0cm outputinputconnectablestorablekeyable
Width of the cube.
height (h) distance (double) 1.0cm outputinputconnectablestorablekeyable
Height of the cube.
depth (d) distance (double) 1.0cm outputinputconnectablestorablekeyable
Depth of the cube.
subdivisionsWidth (sw) integer 1 outputinputconnectablestorablekeyable
Subdivisions along the width of the cube.
subdivisionsHeight (sh) integer 1 outputinputconnectablestorablekeyable
Subdivisions along the height of the cube.
subdivisionsDepth (sd) integer 1 outputinputconnectablestorablekeyable
Subdivisions along the depth of the cube.
texture (tx) enum 1 outputinputconnectablestorable
What texture mechanism to be applied 0=No textures; 1=Object; 2=Faces
createUVs (cuv) enum 3 outputinputconnectablestorable
Create UVs or not.
  • 0: No UVs
  • 1: No Normalization
  • 2: Normalize Each Face Separately
  • 3: Normalize Collectively
  • 4: Normalize and Preserve Aspect Ratio