ジャンプ先: 概要. 戻り値. 関連. フラグ. Python 例.
polyBridgeEdge([bridgeOffset=int], [caching=boolean], [constructionHistory=boolean], [curveType=int], [divisions=int], [inputCurve=name], [name=string], [nodeState=int], [smoothingAngle=angle], [startVert1=int], [startVert2=int], [taper=float], [taperCurve_FloatValue=float], [taperCurve_Interp=int], [taperCurve_Position=float], [twist=angle], [worldSpace=boolean])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
polyBridgeEdge は、取り消し可能、照会可能、および編集可能です。
2 つのエッジのセットをブリッジします。
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
polyAppend, polyAppendVertex, polyBevel, polyChipOff, polyCreateFacet, polyExtrudeEdge, polyExtrudeFacet, polySmooth, polySplit, polySplitVertex, polySubdivideEdge, polySubdivideFacet, polyTriangulate
bridgeOffset, caching, constructionHistory, curveType, divisions, inputCurve, name, nodeState, smoothingAngle, startVert1, startVert2, taper, taperCurve_FloatValue, taperCurve_Interp, taperCurve_Position, twist, worldSpace
フラグはコマンドの作成モードで表示できます
|
フラグはコマンドの編集モードで表示できます
|
フラグはコマンドの照会モードで表示できます
|
フラグに複数の引数を指定し、タプルまたはリストとして渡すことができます。
|
import maya.cmds as cmds
cmds.file( f=True, new=True )
cmds.polyCube( sx=3, sy=3, sz=3 )
cmds.delete( 'pCube1.f[9:17]' )
cmds.move( -2, 0, 0, r=True )
cmds.rotate( 0, 0, -90, r=True, os=True )
cmds.polyCube( sx=3, sy=3, sz=3 )
cmds.delete( 'pCube2.f[9:17]' )
cmds.move( 2, 0, 0, r=True )
cmds.rotate( 0, 0, 90, r=True, os=True )
cmds.polyUnite( 'pCube1', 'pCube2', ch=1 )
# Now bridge the two sets of border edges
cmds.polyBridgeEdge( 'polySurface1.e[9:14]', 'polySurface1.e[42:47]', 'polySurface1.e[105:110]', 'polySurface1.e[138:143]', sv1=12, sv2=67, divisions=10 )