Go to: Synopsis. Flags. Return value. Python examples.
nurbsToPolygonsPref([chordHeight=float], [chordHeightRatio=float], [delta3D=float], [edgeSwap=boolean], [format=0|1|2], [fraction=float], [matchRenderTessellation=int], [merge=int], [mergeTolerance=float], [minEdgeLen=float], [polyCount=int], [polyType=int], [uNumber=int], [uType=int], [useChordHeight=boolean], [useChordHeightRatio=boolean], [vNumber=int], [vType=int])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
nurbsToPolygonsPref is undoable, queryable, and editable.
This command sets the values used by the nurbs-to-polygons (or "tesselate") preference. This preference is used by Maya menu items and is saved between Maya sessions. To query any of the flags, use the "-query" flag. For more information on the flags, see the node documentation for the "nurbsTessellate" node.| Long name (short name) | [argument types] | Properties | ||
|---|---|---|---|---|
format(f)
|
0|1|2
|
|||
|
|
||||
chordHeightRatio(chr)
|
float
|
|||
|
|
||||
chordHeight(cht)
|
float
|
|||
|
|
||||
delta3D(d)
|
float
|
|||
|
|
||||
edgeSwap(es)
|
boolean
|
|||
|
|
||||
fraction(ft)
|
float
|
|||
|
|
||||
minEdgeLen(mel)
|
float
|
|||
|
|
||||
polyCount(pc)
|
int
|
|||
|
|
||||
merge(m)
|
int
|
|||
|
|
||||
mergeTolerance(mt)
|
float
|
|||
|
|
||||
matchRenderTessellation(mrt)
|
int
|
|||
|
|
||||
polyType(pt)
|
int
|
|||
|
|
||||
useChordHeight(uch)
|
boolean
|
|||
|
|
||||
useChordHeightRatio(ucr)
|
boolean
|
|||
|
|
||||
uNumber(un)
|
int
|
|||
|
|
||||
uType(ut)
|
int
|
|||
|
|
||||
vNumber(vn)
|
int
|
|||
|
|
||||
vType(vt)
|
int
|
|||
|
|
||||
import maya.cmds as cmds # To find out what the current format is: cmds.nurbsToPolygonsPref( q=True, f=True )