移動先: 概要 戻り値 フラグ. Python 例.
nurbsBoolean(
surface surface
, [caching=boolean], [constructionHistory=boolean], [name=string], [nodeState=int], [nsrfsInFirstShell=int], [object=boolean], [operation=int], [smartConnection=boolean], [tolerance=linear])
注意: オブジェクト名や引数を表す文字列はカンマで区切ります。これは概要には示されていません。
nurbsBoolean は 「元に戻す」が可能、「照会」が可能、「編集」が可能 です。
このコマンドは、ブーリアン演算を行います。
戻り値の型は照会モードでは照会フラグが基になります。
caching, constructionHistory, name, nodeState, nsrfsInFirstShell, object, operation, smartConnection, tolerance
: コマンドの作成モードで使用可能なフラグ
|
: コマンドの編集モードで使用可能なフラグ
|
: コマンドの照会モードで使用可能なフラグ
|
: タプルまたはリストとして渡された複数の引数を持てるフラグ
|
import maya.cmds as cmds
# To do a union between two cubes.
cmds.nurbsBoolean( 'nurbsCube1', 'nurbsCube2', nsf=1, op=0 )
# To do a subtract between a cube and a sphere.
# i.e cube - sphere
cmds.nurbsBoolean( 'nurbsCube1', 'nurbsSphere1', op=1, nsf=1 )
# To do an intersect between two spheres.
cmds.nurbsBoolean( 'nurbsSphere1', 'nurbsSphere2', op=2, nsf=1 )