plane_crop
Synopsis
subset a volume using any number of 2D uniform grids as slicing planes
Input Port
in_field
|
Mesh
|
in_plane
|
Plane_Grid
|
ui_parent
|
user interface parent object
|
Parameters
Inside
|
UItoggle
|
intersected cells in or out
|
And/Or
|
UItoggle
|
output cells outside or inside planes
|
Output Port
out_fld
|
Mesh + Node_Data
|
out_obj
|
output renderable object
|
Description
plane_crop subsets a field by outputting all whole cells that are inside or outside a volume created by an unlimited number of slice planes.
Input
in_field
The input is a field with any Mesh. Node_Data is optional.
in_plane
An array of Plane_Grids that will slice the volume. A Plane_Grid is defined as Grid_Unif+Space2+Dim2. It is, therefore, any 2D uniform grid.
ui_parent
A port to connect to a user interface object that contains the macro's widgets. By default, it is connected to the default user interface object in the application in which the macro is instanced. (This default connection is not drawn.)
Parameters
Inside
UItoggle. When on, the entire cell intersected by a plane is output. If it is off, the entire cell is not output.
And/Or
UItoggle. When on, the cells inside the slicing planes are output. If it is off, the cells outside the slicing planes are output.
Output Port
out_fld
The output is a new Mesh and Node_Data that is the plane-cropped input Mesh, plus any Node_Data for the output nodes. The mesh contains a reference to the input field's xform.
out_obj
This is a renderable version of the output field.
Example
Not available
File
v/modules.v
See also related modules