Your Ad Here

Go to: Synopsis. Flags. Return value. Related. Python examples.

Synopsis

nurbsPlane([axis=[float, float, float]], [axisX=linear], [axisY=linear], [axisZ=linear], [constructionHistory=boolean], [curveOnSurface=boolean], [degree=int], [lengthRatio=float], [name=string], [object=boolean], [patchesU=int], [patchesV=int], [pivot=[float, float, float]], [pivotX=linear], [pivotY=linear], [pivotZ=linear], [polygon=int], [range=boolean], [rebuild=boolean], [replaceOriginal=boolean], [width=linear])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

nurbsPlane is undoable, queryable, and editable.

The nurbsPlane command creates a new NURBS Plane and return the name of the new surface. It creates an unit plane with center at origin by default.

Flags

axis, axisX, axisY, axisZ, constructionHistory, curveOnSurface, degree, 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, float] queryedit
The primitive's pivot point

In query mode, this flag needs a value.

pivotX(px) linear queryedit
X of the pivot
Default: 0

In query mode, this flag needs a value.

pivotY(py) linear queryedit
Y of the pivot
Default: 0

In query mode, this flag needs a value.

pivotZ(pz) linear queryedit
Z of the pivot
Default: 0

In query mode, this flag needs a value.

axis(ax) [float, float, float] queryedit
The primitive's axis

In query mode, this flag needs a value.

axisX(axx) linear queryedit
X of the axis
Default: 1

In query mode, this flag needs a value.

axisY(axy) linear queryedit
Y of the axis
Default: 0

In query mode, this flag needs a value.

axisZ(axz) linear queryedit
Z of the axis
Default: 0

In query mode, this flag needs a value.

width(w) linear queryedit
The width of the plane
Default: 1.0

In query mode, this flag needs a value.

lengthRatio(lr) float queryedit
The ratio of "length" to "width" of the plane.
Default: 1.0

In query mode, this flag needs a value.

patchesU(u) int queryedit
The number of spans in the U direction.
Default: 1

In query mode, this flag needs a value.

patchesV(v) int queryedit
The number of spans in the V direction.
Default: 1

In query mode, this flag needs a value.

degree(d) int queryedit
The degree of the resulting surface 1 - linear, 2 - quadratic, 3 - cubic, 5 - quintic, 7 - heptic
Default: 3

In query mode, this flag needs a value.

name(n) string create
Name the resulting object
constructionHistory(ch) boolean create
Turn the construction history on or off (not available in all commands)
object(o) boolean create
Create the result, or just the dependency node (not available in all commands)
replaceOriginal(rpo) boolean create
Create "in place" (i.e., replace) (not available in all commands)
curveOnSurface(cos) boolean create
If possible, create 2D curve as a result (not available in all commands)
polygon(po) int create
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) boolean create
Force a curve range on complete input curve (not available in all commands)
rebuild(rb) boolean create
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 have multiple arguments, passed either as a tuple or a list.

Return value


[string[]] (object name and node name) TdnPrimitive.incl TdnNurbsPlane.incl ModelSlice:TbaseModellingCmd.cpp

Related

cone, cylinder, nurbsPlane, sphere, torus

Python examples

import maya.cmds as cmds

# Create default plane
cmds.nurbsPlane()

# Create a degree 3 plane with 4 spans in each direction
cmds.nurbsPlane( d=3, u=4, v=4 )

# Create plane that is twice as long as it is wide
cmds.nurbsPlane( w=3, lr=2 )

  

Return to Autodesk Index


Your Ad Here