移動先: 概要 戻り値 関連項目. フラグ. Python 例.
smoothCurve(
selectionList
, [caching=boolean], [constructionHistory=boolean], [name=string], [nodeState=int], [object=boolean], [replaceOriginal=boolean], [smoothness=float])
注意: オブジェクト名や引数を表す文字列はカンマで区切ります。これは概要には示されていません。
smoothCurve は 「元に戻す」が可能、「照会」が可能、「編集」が可能 です。
スムース コマンドは、指定された制御点でカーブをスムースします。
戻り値の型は照会モードでは照会フラグが基になります。
fitBspline, rebuildCurve
caching, constructionHistory, name, nodeState, object, replaceOriginal, smoothness
: コマンドの作成モードで使用可能なフラグ
|
: コマンドの編集モードで使用可能なフラグ
|
: コマンドの照会モードで使用可能なフラグ
|
: タプルまたはリストとして渡された複数の引数を持てるフラグ
|
import maya.cmds as cmds
#Create a curve, then smooth it
cmds.curve(p=[(0, 0, 0), (3, 5, 6), (5, 6, 7), (9, 9, 9)], n='curve1')
cmds.smoothCurve('curve1.cv[*]', s=10)