nurbsSquare [-caching boolean] [-center float float float] [-centerX linear] [-centerY linear] [-centerZ linear] [-constructionHistory boolean] [-degree int] [-name string] [-nodeState int] [-normal float float float] [-normalX linear] [-normalY linear] [-normalZ linear] [-object boolean] [-sideLength1 linear] [-sideLength2 linear] [-spansPerSide int]
nurbsSquare は 「元に戻す」が可能、「照会」が可能、「編集」が可能 です。
nurbsSquare コマンドは、四角形を作成します。string[] | オブジェクト名とノード名 |
戻り値の型は照会モードでは照会フラグが基になります。
ロング ネーム(ショート ネーム) | 引数型 | プロパティ | ||
---|---|---|---|---|
-normal(-nr)
|
float float float
|
![]() ![]() ![]() |
||
|
||||
-normalX(-nrx)
|
linear
|
![]() ![]() ![]() |
||
|
||||
-normalY(-nry)
|
linear
|
![]() ![]() ![]() |
||
|
||||
-normalZ(-nrz)
|
linear
|
![]() ![]() ![]() |
||
|
||||
-center(-c)
|
float float float
|
![]() ![]() ![]() |
||
|
||||
-centerX(-cx)
|
linear
|
![]() ![]() ![]() |
||
|
||||
-centerY(-cy)
|
linear
|
![]() ![]() ![]() |
||
|
||||
-centerZ(-cz)
|
linear
|
![]() ![]() ![]() |
||
|
||||
-sideLength1(-sl1)
|
linear
|
![]() ![]() ![]() |
||
|
||||
-sideLength2(-sl2)
|
linear
|
![]() ![]() ![]() |
||
|
||||
-degree(-d)
|
int
|
![]() ![]() ![]() |
||
|
||||
-spansPerSide(-sps)
|
int
|
![]() ![]() ![]() |
||
|
||||
高度なフラグ | ||||
-caching(-cch)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
-nodeState(-nds)
|
int
|
![]() ![]() ![]() |
||
|
||||
一般的なフラグ | ||||
-name(-n)
|
string
|
![]() |
||
|
||||
-constructionHistory(-ch)
|
boolean
|
![]() |
||
|
||||
-object(-o)
|
boolean
|
![]() |
||
|
![]() |
![]() |
![]() |
![]() |
// create degree 1 square with side length 2, center (0,0,0) on the // x-y plane nurbsSquare -nr 0 0 1 -d 1 -c 0 0 0 -sl1 2 -sl2 2 ; // create degree 2 rectangle with length 2,4 at origin on the x-y plane nurbsSquare -d 2 -nr 0 0 1 -c 0 0 0 -sl1 2 -sl2 4 ; // create square of degree 3,side lengths 3, 4 spans per side nurbsSquare -nr 0 0 1 -c 0 0 0 -d 3 -sl1 3 -sl2 3 -sps 4;