ジャンプ先: 概要. 戻り値. 関連. フラグ. Python 例.
polyPipe([axis=[linear, linear, linear]], [caching=boolean], [constructionHistory=boolean], [createUVs=boolean], [height=linear], [name=string], [nodeState=int], [object=boolean], [radius=linear], [roundCap=boolean], [subdivisionsAxis=int], [subdivisionsCaps=int], [subdivisionsHeight=int], [texture=boolean], [thickness=linear])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
polyPipe は、取り消し可能、照会可能、および編集可能です。
polyPipe コマンドは新しいポリゴン パイプを作成します。| string[] | オブジェクト名とノード名 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Common poly creation operation flags | ||||||||||||
axis(ax)
|
[linear, linear, linear]
|
|
||||||||||
|
||||||||||||
caching(cch)
|
boolean
|
|
||||||||||
|
||||||||||||
constructionHistory(ch)
|
boolean
|
|
||||||||||
|
||||||||||||
createUVs(cuv)
|
boolean
|
|
||||||||||
|
||||||||||||
height(h)
|
linear
|
|
||||||||||
|
||||||||||||
name(n)
|
string
|
|
||||||||||
|
||||||||||||
nodeState(nds)
|
int
|
|
||||||||||
|
||||||||||||
object(o)
|
boolean
|
|
||||||||||
|
||||||||||||
radius(r)
|
linear
|
|
||||||||||
|
||||||||||||
roundCap(rcp)
|
boolean
|
|
||||||||||
|
||||||||||||
subdivisionsAxis(sa)
|
int
|
|
||||||||||
|
||||||||||||
subdivisionsCaps(sc)
|
int
|
|
||||||||||
|
||||||||||||
subdivisionsHeight(sh)
|
int
|
|
||||||||||
|
||||||||||||
texture(tx)
|
boolean
|
|
||||||||||
|
||||||||||||
thickness(t)
|
linear
|
|
||||||||||
|
||||||||||||
import maya.cmds as cmds # Create a pipe with height 20 radius 1.0 thickness 0.5 with # 10 subdivisions along height cmds.polyPipe( sh=10, h=20 ) # Create a pipe, called "myPipe", on thickness cap there are 5 # subdivisions. cmds.polyPipe( n='myPipe', sc=5);