移動先: 概要 戻り値 関連項目. フラグ. 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 コマンドを使用します。

戻り値

string[]オブジェクト名とノード名

戻り値の型は照会モードでは照会フラグが基になります。

関連項目

doubleProfileBirailSurface, loft, squareSurface

フラグ

caching, constructionHistory, endPoint, endPointTolerance, name, nodeState, object, order, polygon, range
ロング ネーム(ショート ネーム) 引数型 プロパティ
-order(-or) boolean createqueryedit
カーブの順序が重要な場合は true です。
デフォルト: true
-endPoint(-ep) boolean createqueryedit
true は、サーフェスが作成される前にカーブの終端が接している必要があるという意味です。
デフォルト: false
-endPointTolerance(-ept) linear createqueryedit
endPoint アトリビュートが true の場合のみ使用される、終点の許容値です。
デフォルト: 0.1
高度なフラグ
-caching(-cch) boolean createqueryedit
ノード キャッシング モードを修正します。詳細については、ノードの説明を参照してください。
: 上級ユーザ向けの機能です。
-nodeState(-nds) int createqueryedit
ノード状態を修正します。詳細については、ノードの説明を参照してください。
: 上級ユーザ向けの機能です。
一般的なフラグ
-name(-n) string create
作成されたオブジェクトに名前を付けます。
-constructionHistory(-ch) boolean create
コンストラクション ヒストリをオンまたはオフにします。
-object(-o) boolean create
結果のオブジェクト、またはディペンデンシー ノードのみを作成します。
-polygon(-po) int create
この引数の値は、この操作で作成されるオブジェクトの タイプを制御します。
  • 0: NURBS サーフェス
  • 1: ポリゴン(nurbsToPolygonsPref を使用して変換用のパラメータを設定)
  • 2: サブディビジョン サーフェス(nurbsToSubdivPref を使用して変換用のパラメータを設定)
  • 3: ベジェ サーフェス
  • 4: サブディビジョン サーフェス ソリッド (変換のためのパラメータを設定するには、nurbsToSubdivPref を使用)
-range(-rn) boolean create
カーブの範囲を入力カーブ全体に強制します。

: コマンドの作成モードで使用可能なフラグ : コマンドの編集モードで使用可能なフラグ
: コマンドの照会モードで使用可能なフラグ : 1 つのコマンドで複数回使用可能なフラグ

MEL 例

// 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;