nurbsToPoly is undoable, queryable, and editable.
This command tesselates a NURBS surface and produces a polygonal surface.
The name of the new polygonal surface is returned.
If construction history is ON, then the name of the new dependency
node is returned as well.
In query mode, return type is based on queried flag.
Long name (short name) |
Argument types |
Properties |
|
-chordHeight(-cht)
|
linear
|
|
|
Chord height is the absolute distance in OBJECT space
which the center of a polygon edge can deviate from
the actual center of the surface span.
Only used if Format is General and if useChordHeight is true.
Default: 0.1
|
|
-chordHeightRatio(-chr)
|
float
|
|
|
Chord height ratio is the ratio of the chord length of a surface
span to the chord height. (This is a length to height ratio).
0 is a very loose fit.
1 is a very tight fit.
(See also description of chord height.)
Always used if Format is Standard Fit. Otherwise,
only used if Format is General and useChordHeightRatio is true.
Default: 0.9
|
|
-delta(-d)
|
linear
|
|
|
3D delta.
Only used if Format is Standard Fit.
Default: 0.1
|
|
-edgeSwap(-es)
|
boolean
|
|
|
Edge swap. This attribute enables an algorithm which determines
the optimal method with which to tessellate a quadrilateral
into triangles.
Only used if Format is General.
Default: false
|
|
-format(-f)
|
int
|
|
|
Format: 0 - Triangle Count, 1 - Standard Fit, 2 - General, 3 - CVs
Default: 1
|
|
-fractionalTolerance(-ft)
|
float
|
|
|
Fractional tolerance.
Only used if Format is Standard Fit.
Default: 0.01
|
|
-matchNormalDir(-mnd)
|
boolean
|
|
|
Only used when the format is CVs. Order the cvs so that
the normal matches the direction of the original surface
if set to true.
Default: false
|
|
-minEdgeLength(-mel)
|
linear
|
|
|
Minimal edge length.
Only used if Format is Standard Fit.
Default: 0.001
|
|
-normalizeTrimmedUVRange(-ntr)
|
boolean
|
|
|
This attribute is only applicable when a trimmed NURBS surface
is used as the input surface.
When true, the UV texture coordinates on the trimmed input surface
are normalized and applied to the output surface as they are
for the untrimmed version of the input surface.
(The texture coordinates on the entire untrimmed surface
are mapped to the entire output surface.)
When false, the UV texture coordinates on the trimmed input surface
are applied to the output surface as they are for the trimmed
input surface. (Only the texture coordinates visible on the trimmed
input surface are mapped to the output surface.)
Default: true
|
|
-polygonCount(-pc)
|
int
|
|
|
The number of polygons to produce.
Only used if Format is Triangle Count.
Default: 200
|
|
-polygonType(-pt)
|
int
|
|
|
Polygon type: 0 - Triangles, 1 - Quads
Default: 0
|
|
-uNumber(-un)
|
int
|
|
|
Initial number of isoparms in U. Used in conjunction with
the uType attribute.
Only used if Format is General.
Default: 3
|
|
-uType(-ut)
|
int
|
|
|
Initial U type tessellation criteria (3 types).
Type 0 - Per surface # of isoparms in 3D. This type
places a specific number of iso-parametric subdivision lines
across the surface, equally spaced in 3D space.
Type 1 - Per surface # of isoparms. This type
places a specific number of iso-parametric subdivision lines
across the surface, equally spaced in parameter space.
Type 2 - Per span # of isoparms. This type
places a specific number of iso-parametric subdivision lines
across each surface span, equally spaced in parameter space.
(This is the closest option to the Alias Studio
tessellation parameters.)
This attribute is only used if Format is General.
Default: 3
|
|
-useChordHeight(-uch)
|
boolean
|
|
|
True means use chord height.
Only used if Format is General.
Default: false
|
|
-useChordHeightRatio(-ucr)
|
boolean
|
|
|
True means use chord height ratio.
Default: true
|
|
-vNumber(-vn)
|
int
|
|
|
Initial number of isoparms in V. Used in conjunction with
the vType attribute.
Only used if Format is General.
Default: 3
|
|
-vType(-vt)
|
int
|
|
|
Initial V type tessellation criteria (3 types).
See description for the uType attribute.
Only used if Format is General.
Default: 3
|
|
Common flags |
-constructionHistory(-ch)
|
boolean
|
|
|
Turn the construction history on or off.
|
|
-name(-n)
|
string
|
|
|
Name the resulting object.
|
|
-object(-o)
|
boolean
|
|
|
Create the result, or just the dependency node.
|
|