ジャンプ先: 概要. 戻り値. 関連. フラグ. Python 例.
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 は、取り消し可能、照会可能、および編集可能です。
nurbsPlane コマンドは、新しい NURBS プレーンを作成し、その新規のサーフェス名を返します。ユニット プレーンが作成され、その中心は既定では原点になっています。string[] | オブジェクト名とノード名 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
axis(ax)
|
[linear, linear, linear]
|
![]() ![]() ![]() |
||||||||||
|
||||||||||||
caching(cch)
|
boolean
|
![]() ![]() ![]() |
||||||||||
|
||||||||||||
degree(d)
|
int
|
![]() ![]() ![]() |
||||||||||
|
||||||||||||
lengthRatio(lr)
|
float
|
![]() ![]() ![]() |
||||||||||
|
||||||||||||
nodeState(nds)
|
int
|
![]() ![]() ![]() |
||||||||||
|
||||||||||||
patchesU(u)
|
int
|
![]() ![]() ![]() |
||||||||||
|
||||||||||||
patchesV(v)
|
int
|
![]() ![]() ![]() |
||||||||||
|
||||||||||||
pivot(p)
|
[linear, linear, linear]
|
![]() ![]() ![]() |
||||||||||
|
||||||||||||
width(w)
|
linear
|
![]() ![]() ![]() |
||||||||||
|
||||||||||||
共通のフラグ | ||||||||||||
constructionHistory(ch)
|
boolean
|
![]() |
||||||||||
|
||||||||||||
name(n)
|
string
|
![]() |
||||||||||
|
||||||||||||
object(o)
|
boolean
|
![]() |
||||||||||
|
||||||||||||
polygon(po)
|
int
|
![]() |
||||||||||
|
![]() |
![]() |
![]() |
![]() |
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 )