ジャンプ先: 概要. 戻り値. 関連. フラグ. Python 例.
alignCurve(
[curve] [curve]
, [attach=boolean], [caching=boolean], [constructionHistory=boolean], [curvatureContinuity=boolean], [curvatureScale1=float], [curvatureScale2=float], [joinParameter=float], [keepMultipleKnots=boolean], [name=string], [nodeState=int], [object=boolean], [positionalContinuity=boolean], [positionalContinuityType=int], [replaceOriginal=boolean], [reverse1=boolean], [reverse2=boolean], [tangentContinuity=boolean], [tangentContinuityType=int], [tangentScale1=float], [tangentScale2=float])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
alignCurve は、取り消し可能、照会可能、および編集可能です。
curve align コマンドは Maya のカーブを位置合わせするために使用します。主な位置合わせオプションは、位置連続性、接線連続性と曲率連続性です。曲率連続性は接線連続性を含みます。 位置連続性は、カーブの変更(移動)またはカーブの終点の変更(修正)が行われることを意味します。 接線連続性は、カーブが交わるポイントでカーブの 1 つが接線になるように修正されることを意味します。 曲率連続性は、カーブの 1 つが接線と同じく曲率連続になるように修正されることを意味します。 カーブやフラグが渡されない場合は、既定動作として、1 つめのカーブの終点と他のカーブの始点を位置合わせに使った、アクティブ リスト上での位置連続性と接線連続性の位置合わせだけが実行されます。| string[] | オブジェクト名とノード名 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
caching(cch)
|
boolean
|
|
||||||||||
|
||||||||||||
curvatureContinuity(cc)
|
boolean
|
|
||||||||||
|
||||||||||||
curvatureScale1(cs1)
|
float
|
|
||||||||||
|
||||||||||||
curvatureScale2(cs2)
|
float
|
|
||||||||||
|
||||||||||||
joinParameter(jnp)
|
float
|
|
||||||||||
|
||||||||||||
nodeState(nds)
|
int
|
|
||||||||||
|
||||||||||||
positionalContinuity(pc)
|
boolean
|
|
||||||||||
|
||||||||||||
positionalContinuityType(pct)
|
int
|
|
||||||||||
|
||||||||||||
reverse1(rv1)
|
boolean
|
|
||||||||||
|
||||||||||||
reverse2(rv2)
|
boolean
|
|
||||||||||
|
||||||||||||
tangentContinuity(tc)
|
boolean
|
|
||||||||||
|
||||||||||||
tangentContinuityType(tct)
|
int
|
|
||||||||||
|
||||||||||||
tangentScale1(ts1)
|
float
|
|
||||||||||
|
||||||||||||
tangentScale2(ts2)
|
float
|
|
||||||||||
|
||||||||||||
| 共通のフラグ | ||||||||||||
attach(at)
|
boolean
|
|
||||||||||
|
||||||||||||
constructionHistory(ch)
|
boolean
|
|
||||||||||
|
||||||||||||
keepMultipleKnots(kmk)
|
boolean
|
|
||||||||||
|
||||||||||||
name(n)
|
string
|
|
||||||||||
|
||||||||||||
object(o)
|
boolean
|
|
||||||||||
|
||||||||||||
replaceOriginal(rpo)
|
boolean
|
|
||||||||||
|
||||||||||||
import maya.cmds as cmds # Do modify positional continuity on both curves with no history: cmds.alignCurve( ch=False, pc=True, pct=6 ) # Do positional and tangent continuity, with the second curve # tangent modified (by default move position continuity is done # on the first curve): cmds.alignCurve( tc=True, tct=2 )