ジャンプ先: 概要. 戻り値. 関連. フラグ. MEL 例.
offsetCurve [-caching boolean] [-connectBreaks int] [-constructionHistory boolean] [-cutLoop boolean] [-cutRadius linear] [-distance linear] [-name string] [-nodeState int] [-normal linear linear linear] [-object boolean] [-range boolean] [-reparameterize boolean] [-stitch boolean] [-subdivisionDensity int] [-tolerance linear] [-useGivenNormal boolean]
[curve]
offsetCurve は、取り消し可能、照会可能、および編集可能です。
offset コマンドは、選択したカーブから新しいオフセット カーブを作成します。オフセットの切れ目の接続タイプはオフ(接続なし)、円形(円弧で接続)、またはリニア(リニア接続して鋭いコーナーに)のいずれかです。ループのカットがオンの場合、オフセット カーブのループはすべてトリミングされます。既定のカットの半径が 0.0 の場合、それぞれの交差に鋭いコーナーが作成されます。0.0 より大きな値の場合、それぞれの交差にその半径の小さな円弧が作成されます。カットの半径の値は、ループのカットがオンの場合にのみ有効です。プラナー カーブのオフセットは、そのカーブのプレーンで計算され、3D カーブは 3D のオフセットになります。subdivisionDensity フラグは、オフセット オブジェクトの最大細分割数です(つまり、オフセットが許容値に到達するまで、または繰り返しがこの最大値に到達するまで、オフセットを計算します)。パラメータの再設定オプションで、オフセット カーブにオリジナルのカーブとは異なるパラメータ設定を行うことができます。これで、カーブの大きなオフセットの場合に起こる、オフセット カーブのパラメータ設定の不均等を避けることができますが、計算に時間がかかります。| string[] | オブジェクト名とノード名 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
-caching(-cch)
|
boolean
|
|
||||||||||
|
||||||||||||
-connectBreaks(-cb)
|
int
|
|
||||||||||
|
||||||||||||
-cutLoop(-cl)
|
boolean
|
|
||||||||||
|
||||||||||||
-cutRadius(-cr)
|
linear
|
|
||||||||||
|
||||||||||||
-distance(-d)
|
linear
|
|
||||||||||
|
||||||||||||
-nodeState(-nds)
|
int
|
|
||||||||||
|
||||||||||||
-normal(-nr)
|
linear linear linear
|
|
||||||||||
|
||||||||||||
-reparameterize(-rp)
|
boolean
|
|
||||||||||
|
||||||||||||
-stitch(-st)
|
boolean
|
|
||||||||||
|
||||||||||||
-subdivisionDensity(-sd)
|
int
|
|
||||||||||
|
||||||||||||
-tolerance(-tol)
|
linear
|
|
||||||||||
|
||||||||||||
-useGivenNormal(-ugn)
|
boolean
|
|
||||||||||
|
||||||||||||
| 共通のフラグ | ||||||||||||
-constructionHistory(-ch)
|
boolean
|
|
||||||||||
|
||||||||||||
-name(-n)
|
string
|
|
||||||||||
|
||||||||||||
-object(-o)
|
boolean
|
|
||||||||||
|
||||||||||||
-range(-rn)
|
boolean
|
|
||||||||||
|
||||||||||||
// offset all active curves to the specified distance: offsetCurve -d 4.0; // create offsets for the specified curve and turn loop cutting off: offsetCurve -cl off curve1; // create offsets with circular arcs at the breaks in the curve and use // a cutting radius of 2.0 if there are any loops in the offsets: offsetCurve -cb 1 -cl on -cr 2.0 curve1;