ジャンプ先: 概要. 戻り値. フラグ. 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 を使用して指定します。| string[] | オブジェクト名とノード名 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
bias(b)
|
float
|
|
||||||||||
|
||||||||||||
caching(cch)
|
boolean
|
|
||||||||||
|
||||||||||||
cvIthIndex(ci)
|
int
|
|
||||||||||
|
||||||||||||
cvJthIndex(cj)
|
int
|
|
||||||||||
|
||||||||||||
fixBoundary(fb)
|
boolean
|
|
||||||||||
|
||||||||||||
nodeState(nds)
|
int
|
|
||||||||||
|
||||||||||||
parameterU(u)
|
float
|
|
||||||||||
|
||||||||||||
parameterV(v)
|
float
|
|
||||||||||
|
||||||||||||
positionalContinuity(pc)
|
boolean
|
|
||||||||||
|
||||||||||||
stepCount(sc)
|
int
|
|
||||||||||
|
||||||||||||
tangentialContinuity(tc)
|
boolean
|
|
||||||||||
|
||||||||||||
togglePointNormals(tpn)
|
boolean
|
|
||||||||||
|
||||||||||||
togglePointPosition(tpp)
|
boolean
|
|
||||||||||
|
||||||||||||
toggleTolerance(tt)
|
boolean
|
|
||||||||||
|
||||||||||||
tolerance(tol)
|
linear
|
|
||||||||||
|
||||||||||||
| 共通のフラグ | ||||||||||||
cascade(c)
|
boolean
|
|
||||||||||
|
||||||||||||
constructionHistory(ch)
|
boolean
|
|
||||||||||
|
||||||||||||
keepG0Continuity(kg0)
|
boolean
|
|
||||||||||
|
||||||||||||
keepG1Continuity(kg1)
|
boolean
|
|
||||||||||
|
||||||||||||
name(n)
|
string
|
|
||||||||||
|
||||||||||||
numberOfSamples(ns)
|
int
|
|
||||||||||
|
||||||||||||
object(o)
|
boolean
|
|
||||||||||
|
||||||||||||
replaceOriginal(rpo)
|
boolean
|
|
||||||||||
|
||||||||||||
weight0(wt0)
|
float
|
|
||||||||||
|
||||||||||||
weight1(wt1)
|
float
|
|
||||||||||
|
||||||||||||
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 )