移動先: 概要 戻り値 フラグ. 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 つのポイントを同じサーフェス上に乗せることはできません。
戻り値の型は照会モードでは照会フラグが基になります。
bias, caching, cascade, constructionHistory, cvIthIndex, cvJthIndex, equalWeight, fixBoundary, keepG0Continuity, keepG1Continuity, name, nodeState, object, parameterU, parameterV, positionalContinuity, replaceOriginal, stepCount, tangentialContinuity, togglePointNormals, togglePointPosition, toggleTolerance, tolerance
: コマンドの作成モードで使用可能なフラグ
|
: コマンドの編集モードで使用可能なフラグ
|
: コマンドの照会モードで使用可能なフラグ
|
: タプルまたはリストとして渡された複数の引数を持てるフラグ
|
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 )