移動先: 概要 戻り値 フラグ 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 )