polyCut is undoable, queryable, and editable.
This command splits a mesh, or a set of poly faces, along a plane.
The position and orientation of the plane can be adjusted using the
appropriate flags listed above. In addition, the cut operation can
also delete the faces lying on one side of the cutting plane, or
extract those faces by an offset amount.
In query mode, return type is based on queried flag.
Long name (short name) |
Argument types |
Properties |
|
-cutPlaneCenter(-pc)
|
linear linear linear
|
|
|
This flag specifies the position of the cutting plane.
|
|
-cutPlaneCenterX(-pcx)
|
linear
|
|
|
This flag specifies the X position of the cutting plane.
|
|
-cutPlaneCenterY(-pcy)
|
linear
|
|
|
This flag specifies the Y position of the cutting plane.
|
|
-cutPlaneCenterZ(-pcz)
|
linear
|
|
|
This flag specifies the Z position of the cutting plane.
|
|
-cutPlaneHeight(-ph)
|
linear
|
|
|
This flag specifies the height of the cutting plane.
This is used only for displaying the manipulator, and
has no effect on the cut operation.
|
|
-cutPlaneRotate(-ro)
|
angle angle angle
|
|
|
This flag specifies the orientation of the cutting plane.
|
|
-cutPlaneRotateX(-rx)
|
angle
|
|
|
This flag specifies the X rotation of the cutting plane.
|
|
-cutPlaneRotateY(-ry)
|
angle
|
|
|
This flag specifies the Y rotation of the cutting plane.
|
|
-cutPlaneRotateZ(-rz)
|
angle
|
|
|
This flag specifies the Z rotation of the cutting plane.
|
|
-cutPlaneSize(-ps)
|
linear linear
|
|
|
This flag specifies the size of the cutting plane.
This is used only for displaying the manipulator, and
has no effect on the cut operation.
|
|
-cutPlaneWidth(-pw)
|
linear
|
|
|
This flag specifies the width of the cutting plane.
This is used only for displaying the manipulator, and
has no effect on the cut operation.
|
|
-cuttingDirection(-cd)
|
string
|
|
|
This flag specifies the direction of the cutting plane.
Valid values are "x", "y", "z"
A value of "x" will cut the object along the YZ plane
cutting through the center of the bounding box.
A value of "y" will cut the object along the ZX plane
cutting through the center of the bounding box.
A value of "z" will cut the object along the XY plane
cutting through the center of the bounding box.
|
|
-deleteFaces(-df)
|
boolean
|
|
|
This flag specifies if the cut faces should
be deleted or not.
|
|
-extractFaces(-ef)
|
boolean
|
|
|
This flag specifies if the cut faces should
be extracted or not.
|
|
-extractOffset(-eo)
|
linear linear linear
|
|
|
This flag specifies the offset by which the
cut faces will be extracted. This flag has
no effect when the "extractFaces" is turned off.
|
|
-extractOffsetX(-eox)
|
linear
|
|
|
This flag specifies the offset in X by which the
cut faces will be extracted. This flag has
no effect when the "extractFaces" is turned off.
|
|
-extractOffsetY(-eoy)
|
linear
|
|
|
This flag specifies the offset in Y by which the
cut faces will be extracted. This flag has
no effect when the "extractFaces" is turned off.
|
|
-extractOffsetZ(-eoz)
|
linear
|
|
|
This flag specifies the offset in Z by which the
cut faces will be extracted. This flag has
no effect when the "extractFaces" is turned off.
|
|
-worldSpace(-ws)
|
boolean
|
|
|
This flag is ignored. polyCut command always works on
worldSpace.
|
|
Common flags |
-caching(-cch)
|
boolean
|
|
|
Toggle caching for all attributes so that no recomputation is needed.
|
|
-constructionHistory(-ch)
|
boolean
|
|
|
Turn the construction history on or off (where applicable). If
construction history is on then the corresponding node will be
inserted into the history chain for the mesh. If construction history
is off then the operation will be performed directly on the object.
Note: If the object already has construction history then
this flag is ignored and the node will always be inserted into
the history chain.
|
|
-name(-n)
|
string
|
|
|
Give a name to the resulting node.
|
|
-nodeState(-nds)
|
int
|
|
|
Defines how to evaluate the node.
- 0: Normal
- 1: PassThrough
- 2: Blocking
- 3: Internally disabled. Will return to Normal state when enabled
- 4: Internally disabled. Will return to PassThrough state when enabled
- 5: Internally disabled. Will return to Blocking state when enabled
|
|