ジャンプ先: 概要. 戻り値. 関連. フラグ. MEL 例.
rebuildCurve [-caching boolean] [-constructionHistory boolean] [-degree int] [-endKnots int] [-fitRebuild boolean] [-keepControlPoints boolean] [-keepEndPoints boolean] [-keepRange int] [-keepTangents boolean] [-name string] [-nodeState int] [-object boolean] [-range boolean] [-rebuildType int] [-replaceOriginal boolean] [-smartSurfaceCurveRebuild boolean] [-spans int] [-tolerance linear]
curve [curve]
rebuildCurve は、取り消し可能、照会可能、および編集可能です。
パラメータ設定を修正してカーブをリビルドします。シェイプが変化することもあります。カーブの再構築方法は rebuildType (-rt)で決まります。 オプションの 2 番目のカーブは、リファレンス パラメータ設定の指定に使用できます。| string[] | オブジェクト名とノード名 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
-caching(-cch)
|
boolean
|
|
||||||||||
|
||||||||||||
-degree(-d)
|
int
|
|
||||||||||
|
||||||||||||
-endKnots(-end)
|
int
|
|
||||||||||
|
||||||||||||
-fitRebuild(-fr)
|
boolean
|
|
||||||||||
|
||||||||||||
-keepControlPoints(-kcp)
|
boolean
|
|
||||||||||
|
||||||||||||
-keepEndPoints(-kep)
|
boolean
|
|
||||||||||
|
||||||||||||
-keepRange(-kr)
|
int
|
|
||||||||||
|
||||||||||||
-keepTangents(-kt)
|
boolean
|
|
||||||||||
|
||||||||||||
-nodeState(-nds)
|
int
|
|
||||||||||
|
||||||||||||
-rebuildType(-rt)
|
int
|
|
||||||||||
|
||||||||||||
-smartSurfaceCurveRebuild(-scr)
|
boolean
|
|
||||||||||
|
||||||||||||
-spans(-s)
|
int
|
|
||||||||||
|
||||||||||||
-tolerance(-tol)
|
linear
|
|
||||||||||
|
||||||||||||
| 共通のフラグ | ||||||||||||
-constructionHistory(-ch)
|
boolean
|
|
||||||||||
|
||||||||||||
-name(-n)
|
string
|
|
||||||||||
|
||||||||||||
-object(-o)
|
boolean
|
|
||||||||||
|
||||||||||||
-range(-rn)
|
boolean
|
|
||||||||||
|
||||||||||||
-replaceOriginal(-rpo)
|
boolean
|
|
||||||||||
|
||||||||||||
// rebuild curve to 5 uniform spans rebuildCurve -rt 0 -s 5; // rebuild curve by reducing redundant spans rebuildCurve -rt 1; // rebuild curve by matching the parameterization of another curve // curve1 is the curve to rebuild // curve2 is the reference curve rebuildCurve -rt 2 curve1 curve2; // rebuild curve by removing all multiple interior knots rebuildCurve -rt 3; // rebuild curve using the curvature of the curve // to create more spans where curvature is higher rebuildCurve -rt 4;