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

Synopsis

nurbsPlane [-axis linear linear linear] [-caching boolean] [-constructionHistory boolean] [-degree int] [-lengthRatio float] [-name string] [-nodeState int] [-object boolean] [-patchesU int] [-patchesV int] [-pivot linear linear linear] [-polygon int] [-width linear]

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.

Return value

string[]Object name and node name

In query mode, return type is based on queried flag.

Related

cone, cylinder, nurbsPlane, sphere, torus

Flags

axis, caching, constructionHistory, degree, lengthRatio, name, nodeState, object, patchesU, patchesV, pivot, polygon, width
Long name (short name) Argument types Properties
-axis(-ax) linear linear linear createqueryedit
The primitive's axis
-degree(-d) int createqueryedit
The degree of the resulting surface 1 - linear, 2 - quadratic, 3 - cubic, 5 - quintic, 7 - heptic
Default: 3
-lengthRatio(-lr) float createqueryedit
The ratio of "length" to "width" of the plane.
Default: 1.0
-patchesU(-u) int createqueryedit
The number of spans in the U direction.
Default: 1
-patchesV(-v) int createqueryedit
The number of spans in the V direction.
Default: 1
-pivot(-p) linear linear linear createqueryedit
The primitive's pivot point
-width(-w) linear createqueryedit
The width of the plane
Default: 1.0
Common flags
-constructionHistory(-ch) boolean create
Turn the construction history on or off.
-name(-n) string create
Sets the name of the newly-created node. If it contains namespace path, the new node will be created under the specified namespace; if the namespace does not exist, it will be created.
-object(-o) boolean create
Create the result, or just the dependency node.
-polygon(-po) int create
The value of this argument controls the type of the object created by this operation
  • 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)
Advanced flags
-caching(-cch) boolean createqueryedit
Modifies the node caching mode. See the node documentation for more information.
Note: For advanced users only.
-nodeState(-nds) int createqueryedit
Modifies the node state. See the node documentation for more information.
Note: For advanced users only.

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.

MEL examples

// Create default plane
nurbsPlane;

// Create a degree 3 plane with 4 spans in each direction
nurbsPlane -d 3 -u 4 -v 4;

// Create plane that is twice as long as it is wide
nurbsPlane -w 3 -lr 2;