ジャンプ先: 概要. 戻り値. 関連. フラグ. Python 例.
polyMergeFacet([caching=boolean], [constructionHistory=boolean], [firstFacet=int], [mergeMode=int], [name=string], [nodeState=int], [secondFacet=int])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
polyMergeFacet は、取り消し可能、照会可能、および編集可能です。
2 番目のフェースが 1 番目のフェースの穴になります。
新しく穴の開いたフェースは、モードによって、最初か最後、または選択したフェースの間に配置されます。
両方のフェースは、同じオブジェクトに属す必要があります。
ファセット フラグは必須です。
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
polyCloseBorder, polyCollapseEdge, polyCollapseFacet, polyDelEdge, polyDelFacet, polyDelVertex, polyMergeEdge, polyMergeVertex, polyQuad, polyReduce, polySewEdge
caching, constructionHistory, firstFacet, mergeMode, name, nodeState, secondFacet
フラグはコマンドの作成モードで表示できます
|
フラグはコマンドの編集モードで表示できます
|
フラグはコマンドの照会モードで表示できます
|
フラグに複数の引数を指定し、タプルまたはリストとして渡すことができます。
|
import maya.cmds as cmds
cmds.polyPlane( n='plg', h=10, w=10, sx=5, sy=5 )
cmds.polyChipOff( 'plg.f[16]', 'plg.f[18]', 'plg.f[7]', dup=1, ltz=1, ls=(.5, .5, .5) )
# First
cmds.polyMergeFacet( 'plg', mm=0, ff=16, sf=26 )
# A new face with face #16 as an outer loop and face #26 as a hole
# is replacing faces #16 and #26, and is located on face #16
# Between
cmds.polyMergeFacet( 'plg', mm=1, ff=7, sf=25 )
# A new face with face #7 as an outer loop and face #25 as a hole
# is replacing faces #7 and #25, and is located in between.
# Last
cmds.polyMergeFacet( 'plg', mm=2, ff=18, sf=25 )
# A new face with face #18 as an outer loop and face #25 as a hole
# is replacing faces #18 and #25, and is located on face #25