ジャンプ先: 概要. 戻り値. 関連. フラグ. MEL 例.
boundary [-caching boolean] [-constructionHistory boolean] [-endPoint boolean] [-endPointTolerance linear] [-name string] [-nodeState int] [-object boolean] [-order boolean] [-polygon int] [-range boolean]
string string string [string]
boundary は、取り消し可能、照会可能、および編集可能です。
このコマンドは、3 つまたは 4 つのカーブが指定した境界サーフェスを生成します。作成される境界サーフェスは 1 つの方向に指定した 2 つのカーブを通過します。残ったカーブによってシェイプを別の方向に定義します。「endPoint」オプションがオンの場合、カーブの終点はサーフェスが作成される前に接している必要があります。これは、境界サーフェスが便利なケースです。
このコマンドには接線連続性のオプションはないということに注意してください。カーブの終点がすべて接していない限り、作成されるサーフェスはすべてのカーブを通過しません。代わりに、birail コマンドを使用します。
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
doubleProfileBirailSurface, loft, squareSurface
caching, constructionHistory, endPoint, endPointTolerance, name, nodeState, object, order, polygon, range
フラグはコマンドの作成モードで表示できます
|
フラグはコマンドの編集モードで表示できます
|
フラグはコマンドの照会モードで表示できます
|
コマンド内でフラグを複数回使用できます。
|
// Creating boundary surfaces with three curves:
string $crv1 = `curve -d 3 -p 8 0 3 -p 5 0 3 -p 2 0 2 -p 0 0 0 `;
string $crv2 = `curve -d 3 -p 8 0 -4 -p 5 0 -3 -p 2 0 -2 -p 0 0 0 `;
string $crv3 = `curve -d 3 -p 10 0 3 -p 9 3 2 -p 11 3 1 -p 9 0 -3` ;
// These curves form a rough triangle shape pointing at the origin.
// If order is OFF, then the apex of the surface will always between
// the 1st and 2nd curves.
boundary -order off -ep 0 $crv3 $crv1 $crv2;
boundary -order off -ep 0 $crv3 $crv2 $crv1;
// If order is ON, then think of the order of selection as "rail, rail, profile"
// where the boundary is formed by sweeping the profile along two rails.
// Direction of the curves becomes important as well; use the reverseCurve
// command if you want to change a curve's direction.
boundary -order on $crv1 $crv2 $crv3;
// Creating boundary surfaces with four curves:
string $crv1 = `curve -d 3 -p -2 0 5 -p -1 0 3 -p 1 0 3 -p 3 0 4 -p 6 0 5`;
string $crv2 = `curve -d 3 -p 7 0 4 -p 8 0 2 -p 8 0 -3 -p 7 0 -4 `;
string $crv3 = `curve -d 3 -p 6 0 -5 -p 2 0 -3 -p -1 0 -5 -p -3 0 -5`;
string $crv4 = `curve -d 3 -p -2 0 4 -p -4 0 1 -p -4 0 -3 -p -2 0 -4` ;
// These curves form a rough square shape around the origin.
// To make a boundary surface from four curves, two of the curves are
// "rails" while the other two are "profiles".
boundary -order off -ep 0 $crv1 $crv2 $crv3 $crv4;
boundary -order off -ep 0 $crv2 $crv3 $crv4 $crv1;
// profile, rail, profile, rail
// Notice that in both cases, the resulting boundary surface passes through
// the rail curves.
// When order is ON, direction of the curves becomes important;
// use the reverseCurve command if you want to change a curve's direction.
// Notice the difference between:
boundary -order off -ep 0 $crv1 $crv2 $crv3 $crv4;
boundary -order on -ep 0 $crv1 $crv2 $crv3 $crv4;