pointCurveConstraint [-caching boolean] [-constructionHistory boolean] [-name string] [-nodeState int] [-object boolean] [-pointConstraintUVW float float float] [-pointWeight float] [-position float float float] [-replaceOriginal boolean] [-weight float]
selectionItem
pointCurveConstraint は、取り消し可能、照会可能、および編集可能です。
NURBS カーブを直接操作できます。NURBS カーブ上で指定したパラメータ位置に位置制限を適用し、NURBS カーブを直接操作します。 コマンドのコンストラクション ヒストリを有効にすると、ロケータが作成され、後でカーブをインタラクティブに操作できるようになります。ロケータの位置はキーフレーム化されるかトランスフォームされ、「curve1」はロケータの位置に一致しようとします。 この引数はカーブ位置を表します| string[] | オブジェクト名、およびノード名。 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
-caching(-cch)
|
boolean
|
|
||||||||||
|
||||||||||||
-nodeState(-nds)
|
int
|
|
||||||||||
|
||||||||||||
-pointConstraintUVW(-puv)
|
float float float
|
|
||||||||||
|
||||||||||||
-pointWeight(-pw)
|
float
|
|
||||||||||
|
||||||||||||
-position(-p)
|
float float float
|
|
||||||||||
|
||||||||||||
-weight(-w)
|
float
|
|
||||||||||
|
||||||||||||
| 共通のフラグ | ||||||||||||
-constructionHistory(-ch)
|
boolean
|
|
||||||||||
|
||||||||||||
-name(-n)
|
string
|
|
||||||||||
|
||||||||||||
-object(-o)
|
boolean
|
|
||||||||||
|
||||||||||||
-replaceOriginal(-rpo)
|
boolean
|
|
||||||||||
|
||||||||||||
// Apply a constraint to manipulate the position corresponding to // the 1st edit point on curve1. pointCurveConstraint -ch true curve1.ep[1] ; // Apply a constraint to manipulate the end point on curve1. pointCurveConstraint -ch true -w 1.0 curve1.un[1.0] ; // Apply a constraint around the midpoint in the parameter domain on curve1. pointCurveConstraint -ch true -w -1.0 curve1.un[0.5] ;