移動先: 概要 戻り値 関連項目. フラグ. MEL 例.

概要

squareSurface [-caching boolean] [-constructionHistory boolean] [-continuityType1 int] [-continuityType2 int] [-continuityType3 int] [-continuityType4 int] [-curveFitCheckpoints int] [-endPointTolerance linear] [-name string] [-nodeState int] [-object boolean] [-polygon int] [-rebuildCurve1 boolean] [-rebuildCurve2 boolean] [-rebuildCurve3 boolean] [-rebuildCurve4 boolean] string string string [string]

squareSurface は 「元に戻す」が可能、「照会」が可能、「編集」が可能 です。

このコマンドは、3 つまたは 4 つのカーブによる スクエア サーフェスを生成します。 このスクエア サーフェスは、 選択したカーブの交差する領域に作成されます。選択の順番は重要です。また、 カーブは交差するか、終端がつながっている必要があります。

選択した各カーブに対して、1 つの連続性タイプ フラグを指定する必要があります。 連続性タイプが 1(固定、接線連続性なし)の場合、 curveFitCheckpoints(cfc)フラグは必要ありません。

戻り値

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

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

関連項目

boundary, doubleProfileBirailSurface, loft

フラグ

caching, constructionHistory, continuityType1, continuityType2, continuityType3, continuityType4, curveFitCheckpoints, endPointTolerance, name, nodeState, object, polygon, rebuildCurve1, rebuildCurve2, rebuildCurve3, rebuildCurve4
ロング ネーム(ショート ネーム) 引数型 プロパティ
-curveFitCheckpoints(-cfc) int createqueryedit
境界曲線と作成された接線スクエア サーフェス間の接触偏差をチェックするために使用する、スパンあたりのポイント数。接線連続タイプのみに使用可能です。
デフォルト: 5
-continuityType1(-ct1) int createqueryedit
curve1 で有効な連続性タイプです。 1 - 固定境界 2 - 接線連続性 3 - 暗示接線連続性
デフォルト: 2
-continuityType2(-ct2) int createqueryedit
curve2 で有効な連続性タイプです。 1 - 固定境界 2 - 接線連続性 3 - 暗示接線連続性
デフォルト: 2
-continuityType3(-ct3) int createqueryedit
curve3 で有効な連続性タイプです。 1 - 固定境界 2 - 接線連続性 3 - 暗示接線連続性
デフォルト: 2
-continuityType4(-ct4) int createqueryedit
curve4 で有効な連続性タイプです。 1 - 固定境界 2 - 接線連続性 3 - 暗示接線連続性
デフォルト: 2
-rebuildCurve1(-rc1) boolean createqueryedit
入力カーブ 1 を(曲率連続性を持つように)再構築するかどうか決定するブーリアン値。
デフォルト: false
-rebuildCurve2(-rc2) boolean createqueryedit
入力カーブ 2 を(曲率連続性を持つように)再構築するかどうか決定するブーリアン値。
デフォルト: false
-rebuildCurve3(-rc3) boolean createqueryedit
入力カーブ 3 を(曲率連続性を持つように)再構築するかどうか決定するブーリアン値。
デフォルト: false
-rebuildCurve4(-rc4) boolean createqueryedit
入力カーブ 4 を(曲率連続性を持つように)再構築するかどうか決定するブーリアン値。
デフォルト: 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 を使用)

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

MEL 例

// Creating square surfaces with three curves and fixed continuity type:

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 8 0 3 -p 9 3 2 -p 11 3 1 -p 8 0 -4` ;

// These curves form a rough triangle shape pointing at the origin.

squareSurface -ct1 1 -ct2 1 -ct3 1 $crv3 $crv1 $crv2;

// Creating square surfaces with four curves, tangent continuity
// type and to use 6 points per span in checking the continuity:

string $crv1 = `curve -d 3 -p -2 0 4 -p -2 0 5 -p 1 0 3 -p 3 0 4 -p 6 0 5`;
string $crv2 = `curve -d 3 -p 6 0 5 -p 8 0 2 -p 8 0 -3 -p 7 0 -4 `;
string $crv3 = `curve -d 3 -p 7 0 -4 -p 2 0 -3 -p -1 0 -5 -p -2 0 -4`;
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.

squareSurface -cfc 6 -ct1 2 -ct2 2 -ct3 2 -ct4 2 $crv1 $crv2 $crv3 $crv4;