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[] | オブジェクト名とノード名 |
戻り値の型は照会モードでは照会フラグが基になります。
ロング ネーム(ショート ネーム) | 引数型 | プロパティ | ||
---|---|---|---|---|
-curveFitCheckpoints(-cfc)
|
int
|
![]() ![]() ![]() |
||
|
||||
-continuityType1(-ct1)
|
int
|
![]() ![]() ![]() |
||
|
||||
-continuityType2(-ct2)
|
int
|
![]() ![]() ![]() |
||
|
||||
-continuityType3(-ct3)
|
int
|
![]() ![]() ![]() |
||
|
||||
-continuityType4(-ct4)
|
int
|
![]() ![]() ![]() |
||
|
||||
-rebuildCurve1(-rc1)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
-rebuildCurve2(-rc2)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
-rebuildCurve3(-rc3)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
-rebuildCurve4(-rc4)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
-endPointTolerance(-ept)
|
linear
|
![]() ![]() ![]() |
||
|
||||
高度なフラグ | ||||
-caching(-cch)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
-nodeState(-nds)
|
int
|
![]() ![]() ![]() |
||
|
||||
一般的なフラグ | ||||
-name(-n)
|
string
|
![]() |
||
|
||||
-constructionHistory(-ch)
|
boolean
|
![]() |
||
|
||||
-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;