polyCut [-caching boolean] [-constructionHistory boolean] [-cutPlaneCenter linear linear linear] [-cutPlaneCenterX linear] [-cutPlaneCenterY linear] [-cutPlaneCenterZ linear] [-cutPlaneHeight linear] [-cutPlaneRotate angle angle angle] [-cutPlaneRotateX angle] [-cutPlaneRotateY angle] [-cutPlaneRotateZ angle] [-cutPlaneSize linear linear] [-cutPlaneWidth linear] [-cuttingDirection string] [-deleteFaces boolean] [-extractFaces boolean] [-extractOffset linear linear linear] [-extractOffsetX linear] [-extractOffsetY linear] [-extractOffsetZ linear] [-name string] [-nodeState int] [-worldSpace boolean]
polyCut は 「元に戻す」が可能、「照会」が可能、「編集」が可能 です。
このコマンドは、メッシュ(ポリゴン フェースのセット)をプレーンに沿って分割します。 このプレーンの位置と向きは、上記の適切なフラグで調整できます。さらにカットする際には、カットするプレーンの片側にあるフェースを削除することや、オフセット量でこれらのフェースを抽出することができます。string | ノード名 |
戻り値の型は照会モードでは照会フラグが基になります。
ロング ネーム(ショート ネーム) | 引数型 | プロパティ | ||
---|---|---|---|---|
-deleteFaces(-df)
|
boolean
|
![]() |
||
|
||||
-extractFaces(-ef)
|
boolean
|
![]() |
||
|
||||
-extractOffset(-eo)
|
linear linear linear
|
![]() |
||
|
||||
-extractOffsetX(-eox)
|
linear
|
![]() |
||
|
||||
-extractOffsetY(-eoy)
|
linear
|
![]() |
||
|
||||
-extractOffsetZ(-eoz)
|
linear
|
![]() |
||
|
||||
-cuttingDirection(-cd)
|
string
|
![]() |
||
|
||||
-cutPlaneCenter(-pc)
|
linear linear linear
|
![]() |
||
|
||||
-cutPlaneCenterX(-pcx)
|
linear
|
![]() |
||
|
||||
-cutPlaneCenterY(-pcy)
|
linear
|
![]() |
||
|
||||
-cutPlaneCenterZ(-pcz)
|
linear
|
![]() |
||
|
||||
-cutPlaneRotate(-ro)
|
angle angle angle
|
![]() |
||
|
||||
-cutPlaneRotateX(-rx)
|
angle
|
![]() |
||
|
||||
-cutPlaneRotateY(-ry)
|
angle
|
![]() |
||
|
||||
-cutPlaneRotateZ(-rz)
|
angle
|
![]() |
||
|
||||
-cutPlaneSize(-ps)
|
linear linear
|
![]() |
||
|
||||
-cutPlaneHeight(-ph)
|
linear
|
![]() |
||
|
||||
-cutPlaneWidth(-pw)
|
linear
|
![]() |
||
|
||||
-worldSpace(-ws)
|
boolean
|
![]() |
||
|
||||
一般的なフラグ | ||||
-name(-n)
|
string
|
![]() |
||
|
||||
-constructionHistory(-ch)
|
boolean
|
![]() ![]() |
||
|
||||
-caching(-cch)
|
boolean
|
![]() ![]() |
||
|
||||
-nodeState(-nds)
|
int
|
|||
|
![]() |
![]() |
![]() |
![]() |
// Introduce new edges at the middle of a cylinder // polyCylinder -r 1 -h 2 -sx 20 -sy 1 -sz 1 -ax 0 1 0 -cuv 1 -ch 1 -name pCylA; polyCut -cd "Y" -ch 1 pCylA.f[0:59]; // Delete the bottom half of the cylinder // select -cl; polyCylinder -r 1 -h 2 -sx 20 -sy 1 -sz 1 -ax 0 1 0 -cuv 1 -ch 1 -name pCylB; move -r 3 0 0 ; polyCut -cd "Y" -df 1 -ch 1 pCylB.f[0:59]; select -cl; // Split the bottom half of the cylinder // select -cl; polyCylinder -r 1 -h 2 -sx 20 -sy 1 -sz 1 -ax 0 1 0 -cuv 1 -ch 1 -name pCylC; move -r 6 0 0 ; polyCut -cd "Y" -ef 1 -ch 1 pCylC.f[0:59]; // select one of the cylinders, and select the polyCut node from the // channel box, and enter the showManipulator Tool, on the Toolbar. // You can interactively place the cutting plane, and the result of // cut operation will adjust accordingly.