ジャンプ先: 概要. 戻り値. 関連. フラグ. 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 つのカーブによる正方形サーフェスを生成します。この正方形サーフェスは、選択したカーブの交差する領域に作成されます。選択の順番は重要です。また、カーブは交差するか、終端がつながっている必要があります。| string[] | オブジェクト名とノード名 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
-caching(-cch)
|
boolean
|
|
||||||||||
|
||||||||||||
-continuityType1(-ct1)
|
int
|
|
||||||||||
|
||||||||||||
-continuityType2(-ct2)
|
int
|
|
||||||||||
|
||||||||||||
-continuityType3(-ct3)
|
int
|
|
||||||||||
|
||||||||||||
-continuityType4(-ct4)
|
int
|
|
||||||||||
|
||||||||||||
-curveFitCheckpoints(-cfc)
|
int
|
|
||||||||||
|
||||||||||||
-endPointTolerance(-ept)
|
linear
|
|
||||||||||
|
||||||||||||
-nodeState(-nds)
|
int
|
|
||||||||||
|
||||||||||||
-rebuildCurve1(-rc1)
|
boolean
|
|
||||||||||
|
||||||||||||
-rebuildCurve2(-rc2)
|
boolean
|
|
||||||||||
|
||||||||||||
-rebuildCurve3(-rc3)
|
boolean
|
|
||||||||||
|
||||||||||||
-rebuildCurve4(-rc4)
|
boolean
|
|
||||||||||
|
||||||||||||
| 共通のフラグ | ||||||||||||
-constructionHistory(-ch)
|
boolean
|
|
||||||||||
|
||||||||||||
-name(-n)
|
string
|
|
||||||||||
|
||||||||||||
-object(-o)
|
boolean
|
|
||||||||||
|
||||||||||||
-polygon(-po)
|
int
|
|
||||||||||
|
||||||||||||
// 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;