移動先: 概要 戻り値 関連項目. フラグ. MEL 例.
offsetCurveOnSurface [-caching boolean] [-checkPoints int] [-connectBreaks int] [-constructionHistory boolean] [-cutLoop boolean] [-distance linear] [-name string] [-nodeState int] [-object boolean] [-range boolean] [-stitch boolean] [-subdivisionDensity int] [-tolerance linear]
[curve]
offsetCurveOnSurface は 「元に戻す」が可能、「照会」が可能、「編集」が可能 です。
offsetCurveOnSurface コマンドは、カーブ オンサーフェスをオフセットして、別のカーブ オンサーフェスを作成します。
オフセットの切れ目の接続タイプはオフ(接続なし)、円形(円弧で接続)、またはリニア(リニア接続して鋭いコーナーに)のいずれかです。ループのカットがオンの場合、オフセット カーブのループはすべてトリミングされて、それぞれの交差に鋭いコーナーが作成されます。subdivisionDensity フラグは、オフセット オブジェクトの最大細分割数です(つまり、オフセットが許容値に到達するまで、または繰り返しがこの最大値に到達するまで、オフセットを計算します)。
checkPoints フラグは、オリジナル カーブからのオフセット カーブの距離を定義するスパンごとのポイント数を設定します。tolerance フラグは、オフセット カーブが要求されているオフセット距離を満たす精度を定義します。適切なオフセット カーブとは、チェックポイントがすべて要求されるオフセットの指定した許容値内にあるオフセット カーブです。
戻り値の型は照会モードでは照会フラグが基になります。
offsetCurve
caching, checkPoints, connectBreaks, constructionHistory, cutLoop, distance, name, nodeState, object, range, stitch, subdivisionDensity, tolerance
: コマンドの作成モードで使用可能なフラグ
|
: コマンドの編集モードで使用可能なフラグ
|
: コマンドの照会モードで使用可能なフラグ
|
: 1 つのコマンドで複数回使用可能なフラグ
|
nurbsPlane -ch on -o on -po 0 -ax 0 1 0 -w 10 -lr 2 ;
circle -ch on -o on -nr 0 1 0 -r 3 ;
projectCurve -ch 0 -rn false -un false -tol 0.01 "nurbsCircle1" "nurbsPlane1" ;
// Offset given curve to the specified distance at the specified tolerance:
offsetCurveOnSurface -d 0.12 -tol 0.02 nurbsPlaneShape1->projectionCurve1_1;
// Create offsets for the specified curve and turn loop cutting off:
offsetCurveOnSurface -cl off nurbsPlaneShape1->projectionCurve1_1;
// Create offsets with circular arcs at the breaks in the curves and trim
// away any loops in the offset curve:
offsetCurveOnSurface -cb 1 -cl on nurbsPlaneShape1->projectionCurve1_1;