Go to: Return value. Related commands. Flags. Examples.

Synopsis

nurbsCube [flags]

The nurbsCube command creates a new NURBS Cube made up of six planes. It creates an unit cube with center at origin by default.

Return value

[string[]] (object name and node name)

Related commands

cone, cylinder, torus, sphere, nurbsPlane

Flags

axis, axisX, axisY, axisZ, constructionHistory, curveOnSurface, degree, heightRatio, lengthRatio, name, object, patchesU, patchesV, pivot, pivotX, pivotY, pivotZ, polygon, range, rebuild, replaceOriginal, width

Long name (short name)[argument types]Properties
-pivot (-p) float float floatqueryedit
The primitive's pivot point
-pivotX (-px) linearqueryedit
X of the pivot
Default: 0
-pivotY (-py) linearqueryedit
Y of the pivot
Default: 0
-pivotZ (-pz) linearqueryedit
Z of the pivot
Default: 0
-axis (-ax) float float floatqueryedit
The primitive's axis
-axisX (-axx) linearqueryedit
X of the axis
Default: 1
-axisY (-axy) linearqueryedit
Y of the axis
Default: 0
-axisZ (-axz) linearqueryedit
Z of the axis
Default: 0
-width (-w) linearqueryedit
Width of the object
Default: 1.0
-lengthRatio (-lr) floatqueryedit
Ratio of "length" to "width"
Default: 1.0
-heightRatio (-hr) floatqueryedit
Ratio of "height" to "width"
Default: 1.0
-patchesU (-u) integerqueryedit
Number of sections in U
Default: 1
-patchesV (-v) integerqueryedit
Number of sections in V
Default: 1
-degree (-d) integerqueryedit
The degree of the resulting surface. 1 - linear, 2 - quadratic, 3 - cubic, 5 - quintic, 7 - heptic
Default: 3
-name (-n) stringcreate
Name the resulting object
-constructionHistory (-ch) booleancreate
Turn the construction history on or off (not available in all commands)
-object (-o) booleancreate
Create the result, or just the dependency node (not available in all commands)
-replaceOriginal (-rpo) booleancreate
Create "in place" (i.e., replace) (not available in all commands)
-curveOnSurface (-cos) booleancreate
If possible, create 2D curve as a result (not available in all commands)
-polygon (-po) integercreate
The value of this argument controls the type of the object created by this operation (not available in all commands) - 0: nurbs surface - 1: polygon (use nurbsToPolygonsPref to set the parameters for the conversion) - 2: subdivision surface (use nurbsToSubdivPref to set the parameters for the conversion) - 3: Bezier surface - 4: subdivision surface solid (use nurbsToSubdivPref to set the parameters for the conversion)
-range (-rn) booleancreate
Force a curve range on complete input curve (not available in all commands)
-rebuild (-rb) booleancreate
Rebuild the input curve(s) before using them in the operation. Use nurbsCurveRebuildPref to set the parameters for the conversion. (not available in all commands)

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command

Examples

		nurbsCube;
		nurbsCube -w 3 -hr 5;
		nurbsCube -w 10 -p 0 0 1;
		nurbsCube -d 1 -u 3 -v 5 -w 5;