ジャンプ先: 概要. 戻り値. フラグ. Python 例.
stitchSurfacePoints(
selectionList
, [bias=float], [caching=boolean], [cascade=boolean], [constructionHistory=boolean], [cvIthIndex=int], [cvJthIndex=int], [equalWeight=boolean], [fixBoundary=boolean], [keepG0Continuity=boolean], [keepG1Continuity=boolean], [name=string], [nodeState=int], [object=boolean], [parameterU=float], [parameterV=float], [positionalContinuity=boolean], [replaceOriginal=boolean], [stepCount=int], [tangentialContinuity=boolean], [togglePointNormals=boolean], [togglePointPosition=boolean], [toggleTolerance=boolean], [tolerance=linear])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
stitchSurfacePoints は、取り消し可能、照会可能、および編集可能です。
stitchSurfacePoints コマンドは、複数のサーフェス コマンドを境界に沿って位置合わせし、1 つのポイントにします。このプロセスで、ポイントを平均化するノードが作成されます。ポイントはウェイトをかけて平均化されます。ポイント境界に沿ったコントロール頂点(CV)にすることが可能です。ポイントが CV の場合、それらは位置連続性のみ維持してステッチされます。 注: 2 つのポイントを同じサーフェス上に乗せることはできません。| 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
|
|
||||||||||
|
||||||||||||
equalWeight(ewt)
|
boolean
|
|
||||||||||
|
||||||||||||
keepG0Continuity(kg0)
|
boolean
|
|
||||||||||
|
||||||||||||
keepG1Continuity(kg1)
|
boolean
|
|
||||||||||
|
||||||||||||
name(n)
|
string
|
|
||||||||||
|
||||||||||||
object(o)
|
boolean
|
|
||||||||||
|
||||||||||||
replaceOriginal(rpo)
|
boolean
|
|
||||||||||
|
||||||||||||
import maya.cmds as cmds # stitch together four corner control vertices to the average of the four corners. cmds.stitchSurfacePoints( 'nurbsPlane2.cv[0][0]', 'nurbsPlane1.cv[3][0]', 'nurbsPlane4.cv[0][3]', 'nurbsPlane3.cv[3][3]', ewt=True ) # stitch together two edit points to the edit point nurbsPlane2.ep[0][0]. cmds.stitchSurfacePoints( 'nurbsPlane2.ep[0][0]', 'nurbsPlane1.ep[1][0]', ewt=False )