Go to: Related nodes. Attributes.

Compute a cube given its center (pivot), normal (axis), and dimensions (width, lengthRatio, and heightRatio). The number of spans in the resulting surface can be controlled by patchesU and patchesV. The resulting planes can have a degree of linear or cubic.

Node nameParentsMFn typeCompatible function sets

Related nodes

makeNurbPlane, makeNurbSphere, makeNurbCylinder, makeNurbTorus, makeNurbCone

Attributes (11)

degree, heightRatio, lengthRatio, outputSurface1, outputSurface2, outputSurface3, outputSurface4, outputSurface5, patchesU, patchesV, width

Long name (short name)TypeDefaultFlags
width (w) distance (double)1.0cmoutputinputconnectablestorablekeyable
Width of the object
lengthRatio (lr) double1.0outputinputconnectablestorablekeyable
Ratio of "length" to "width"
heightRatio (hr) double1.0outputinputconnectablestorablekeyable
Ratio of "height" to "width"
patchesU (u) integer1outputinputconnectablestorablekeyable
Number of sections in U
patchesV (v) integer1outputinputconnectablestorablekeyable
Number of sections in V
degree (d) enum3outputinputconnectablestorable
The degree of the resulting surface. 1 - linear, 2 - quadratic, 3 - cubic, 5 - quintic, 7 - heptic
outputSurface1 (os1) nurbsSurfaceNULLoutputconnectable
Output surface 1 - the bottom of the cube
outputSurface2 (os2) nurbsSurfaceNULLoutputconnectable
Output surface 2 - the left side of the cube
outputSurface3 (os3) nurbsSurfaceNULLoutputconnectable
Output surface 3 - the right of the cube
outputSurface4 (os4) nurbsSurfaceNULLoutputconnectable
Output surface 4 - the front side of the cube
outputSurface5 (os5) nurbsSurfaceNULLoutputconnectable
Output surface 5 - the back of the cube