移動先: 概要 戻り値 関連項目 フラグ Python の例
trim(
objects
, [caching=boolean], [constructionHistory=boolean], [locatorU=float], [locatorV=float], [name=string], [nodeState=int], [object=boolean], [selected=int], [shrink=boolean], [tolerance=linear])
注意: オブジェクト名や引数を表す文字列はカンマで区切ります。これは概要には示されていません。
trim は「元に戻す」が可能、「照会」が可能、「編集」が可能です。
このコマンドは、サーフェスをカーブ オン サーフェスでトリムします。
はじめにサーフェスを分割し、次に保持する領域または破棄する領域を選択します。
戻り値の型は照会モードでは照会フラグが基になります。
intersect, projectCurve, untrim
caching, constructionHistory, locatorU, locatorV, name, nodeState, object, selected, shrink, tolerance
: コマンドの作成モードで使用可能なフラグ
|
: コマンドの編集モードで使用可能なフラグ
|
: コマンドの照会モードで使用可能なフラグ
|
: タプルまたはリストとして渡された複数の引数を持てるフラグ
|
import maya.cmds as cmds
# Keep all selected regions
cmds.trim( sl=0 )
# Discard all selected regions
cmds.trim( sl=1 )
# shrink the underlying surface to just outside the
# outermost boundary curve
cmds.trim( sh=1 )