ジャンプ先: 概要. 戻り値. フラグ. Python 例.
nurbsToPoly(
[surface]
, [caching=boolean], [constructionHistory=boolean], [curvatureTolerance=int], [explicitTessellationAttributes=boolean], [name=string], [nodeState=int], [object=boolean], [smoothEdge=boolean], [smoothEdgeRatio=float], [uDivisionsFactor=float], [vDivisionsFactor=float])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
nurbsToPoly は、取り消し可能、照会可能、および編集可能です。
このコマンドは、NURBS サーフェスをテッセレーションし、ポリゴン サーフェスを作成します。新しいポリゴン サーフェスの名前が返されます。コンストラクション ヒストリがオンの場合、新しいディペンデンシー ノードの名前も返されます。
| string[] | ポリゴンとオプションのディペンデンシー ノード名。 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
caching, constructionHistory, curvatureTolerance, explicitTessellationAttributes, name, nodeState, object, smoothEdge, smoothEdgeRatio, uDivisionsFactor, vDivisionsFactor
フラグはコマンドの作成モードで表示できます
|
フラグはコマンドの編集モードで表示できます
|
フラグはコマンドの照会モードで表示できます
|
フラグに複数の引数を指定し、タプルまたはリストとして渡すことができます。
|
import maya.cmds as cmds
# To create a new polygonal surface from a NURBS surface:
cmds.nurbsToPoly( 'nurbsSphere1' )
# To create a new polygonal surface from a NURBS surface with
# history so that the tesselation can be edited afterwards:
cmds.nurbsToPoly( 'nurbsSphere1', ch=True )