polyop.resetSlicePlane <Poly poly>
Resets the slice plane.
polyop.getSlicePlane <Poly poly> \
size:<&size_float_var> node:<node=unsupplied>
Returns the location and direction of the slice plane as a Ray value.
If <size>
is specified, the size of the slice plane is returned in the referenced variable.
If <poly>
is a node, or if <poly>
is an Editable Poly and <node>
is specified, the ray returned is in the current coordinate system context.
If <poly>
is an Editable Poly and <node>
is not specified, the return value is in the poly's local coordinate system.
polyop.setSlicePlane <Poly poly> <ray plane_and_dir> <float size> \
node:<node=unsupplied>
Sets the slice plane to the location and direction as specified by <plane_and_dir>
, and the size as specified by <size>
.
If <poly>
is a node, or if <poly>
is an Editable Poly and <node>
is specified, the ray is in the current coordinate system context.
If <poly>
is an Editable Poly and <node>
is not specified, the ray is in the poly's local coordinate system.
polyop.slice <Poly poly> <facelist> <ray plane_and_dir> \
node:<node=unsupplied>
Slices the poly based on the plane and direction as specified by <plane_and_dir>
.
If <poly>
is a node, or if <poly>
is an Editable Poly and <node>
is specified, the ray is in the current coordinate system context.
If <poly>
is an Editable Poly and <node>
is not specified, the ray is in the poly's local coordinate system.
Uses the split property of the editable poly. Returns true
if the slice is successful.
polyop.inSlicePlaneMode <Poly poly>
Returns true
if the editable poly is in the slice mode, false
otherwise.