ジャンプ先: 概要. 戻り値. フラグ. Python 例.
stitchSurface(
[surfaceIsoparm] [surfaceIsoparm]
, [bias=float], [caching=boolean], [cascade=boolean], [constructionHistory=boolean], [cvIthIndex=int], [cvJthIndex=int], [fixBoundary=boolean], [keepG0Continuity=boolean], [keepG1Continuity=boolean], [name=string], [nodeState=int], [numberOfSamples=int], [object=boolean], [parameterU=float], [parameterV=float], [positionalContinuity=boolean], [replaceOriginal=boolean], [stepCount=int], [tangentialContinuity=boolean], [togglePointNormals=boolean], [togglePointPosition=boolean], [toggleTolerance=boolean], [tolerance=linear], [weight0=float], [weight1=float])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
stitchSurface は、取り消し可能、照会可能、および編集可能です。
stitchSurface コマンドは、サーフェスのコントロール頂点(CV)だけを調整して、2 つのサーフェスを連続的な G (0)および/または G (1)になるように位置合わせします。2 つのサーフェスは、ステッチする 2 つのアイソパラム境界エッジを指定するとステッチできます。2 つのサーフェスがステッチされるエッジは、2 つのエッジの加重平均を求めることで得られます。2 つのエッジのウェイトは、それぞれフラグ -wt0、-wt1 を使用して指定します。
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
bias, caching, cascade, constructionHistory, cvIthIndex, cvJthIndex, fixBoundary, keepG0Continuity, keepG1Continuity, name, nodeState, numberOfSamples, object, parameterU, parameterV, positionalContinuity, replaceOriginal, stepCount, tangentialContinuity, togglePointNormals, togglePointPosition, toggleTolerance, tolerance, weight0, weight1
フラグはコマンドの作成モードで表示できます
|
フラグはコマンドの編集モードで表示できます
|
フラグはコマンドの照会モードで表示できます
|
フラグに複数の引数を指定し、タプルまたはリストとして渡すことができます。
|
import maya.cmds as cmds
# Stitch the two surfaces along the two specified surface isoparam with C0 continuity.
# Since wt0 = 0.0, both the surfaces are stitched to surface2.vn[0] really.
cmds.stitchSurface( 'surface1.vn[1.0]', 'surface2.vn[0.0]', kg0=False, kg1=True, cascade=False, ns=100, wt0=0.0, wt1=1.0 )