ジャンプ先: 概要. 戻り値. 関連. フラグ. Python 例.
loft(
curve curve [curve...]
, [autoReverse=boolean], [caching=boolean], [close=boolean], [constructionHistory=boolean], [createCusp=boolean], [degree=int], [name=string], [nodeState=int], [object=boolean], [polygon=int], [range=boolean], [rebuild=boolean], [reverse=boolean], [reverseSurfaceNormals=boolean], [sectionSpans=int], [uniform=boolean])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
loft は、取り消し可能、照会可能、および編集可能です。
複数の NURBS カーブを通過するスキン(ロフト)サーフェスが算出されます。最低 2 本のカーブが存在する必要があります。NURBS カーブとしては、サーフェス アイソパラム、カーブ オンサーフェス、トリム エッジ、ポリゴン エッジが挙げられます。| string[] | オブジェクト名とノード名 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
autoReverse(ar)
|
boolean
|
|
||||||||||
|
||||||||||||
caching(cch)
|
boolean
|
|
||||||||||
|
||||||||||||
close(c)
|
boolean
|
|
||||||||||
|
||||||||||||
createCusp(cc)
|
boolean
|
|
||||||||||
|
||||||||||||
degree(d)
|
int
|
|
||||||||||
|
||||||||||||
nodeState(nds)
|
int
|
|
||||||||||
|
||||||||||||
reverse(r)
|
boolean
|
|
||||||||||
|
||||||||||||
reverseSurfaceNormals(rsn)
|
boolean
|
|
||||||||||
|
||||||||||||
sectionSpans(ss)
|
int
|
|
||||||||||
|
||||||||||||
uniform(u)
|
boolean
|
|
||||||||||
|
||||||||||||
| 共通のフラグ | ||||||||||||
constructionHistory(ch)
|
boolean
|
|
||||||||||
|
||||||||||||
name(n)
|
string
|
|
||||||||||
|
||||||||||||
object(o)
|
boolean
|
|
||||||||||
|
||||||||||||
polygon(po)
|
int
|
|
||||||||||
|
||||||||||||
range(rn)
|
boolean
|
|
||||||||||
|
||||||||||||
rebuild(rb)
|
boolean
|
|
||||||||||
|
||||||||||||
import maya.cmds as cmds # A loft across two curves: curve1, curve2. Curve ranges # have been enabled on the curves. The curves will be reversed # internally if needed to avoid a bowtie looking surface. cmds.curve( d=3, p=( (-11, 0, 0), (-13, 0, -4), (-17, 0, -15), (-4.7, 0, -10), (1, 0, -8 ) ) ) # Result: curve1 # cmds.curve( d=3, p=( (-2, 0, 5), (-2, 0, 3), (-2, 0, -1), (4, 0, 0), (7, 0, 0 ) ) ) # Result: curve2 # cmds.loft( 'curve1', 'curve2', ch=True, rn=True, ar=True )