移動先: 概要 戻り値 関連項目. フラグ. Python 例.
alignCurve(
[curve] [curve]
, [caching=boolean], [constructionHistory=boolean], [curvatureContinuity=boolean], [curvatureScale1=float], [curvatureScale2=float], [joinParameter=float], [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 つめのカーブの終点と他のカーブの始点をアラインメントに使った、アクティブ リスト上での位置連続性と接線連続性のアラインだけが実行されます。
戻り値の型は照会モードでは照会フラグが基になります。
attachCurve
caching, constructionHistory, curvatureContinuity, curvatureScale1, curvatureScale2, joinParameter, name, nodeState, object, positionalContinuity, positionalContinuityType, replaceOriginal, reverse1, reverse2, tangentContinuity, tangentContinuityType, tangentScale1, tangentScale2
: コマンドの作成モードで使用可能なフラグ
|
: コマンドの編集モードで使用可能なフラグ
|
: コマンドの照会モードで使用可能なフラグ
|
: タプルまたはリストとして渡された複数の引数を持てるフラグ
|
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 )