![]()
General Module Function
mask_geology receives geologic input into its left input port and an optional input masking surface into its right port.
Module Input Ports
mask_geology has two input ports.
mask_geology receives geologic input into its left input port and
an optional input masking surface into its right port.
Module Output Ports
mask_geology has one output port which outputs the geologic input with the masked cells removed.

Module Control Panel
The module’s control panel is shown above with the Masking Method set to "By Surface" With surface masking you can choose whether to include those areas inside or outside the cutting surface(s).

When using expressions, all nodes that meet the expression criteria are included. These options are shown above.
The Masking Method selector chooses between surface based masking (second input port) or masking based on a mathematical expression using the coordinate values.
The Nested Surface Masking toggle allows you to cut donut like shapes if you have polygons INSIDE of other polygons.
The Expression type-in is active if "By Expression" is selected and is similar to subset_cells or data_math. An example would be: s0 >= 0
The Cells to Include radio selector provides two options which depend on the Masking Method:
For "By Surface"
Contained by Polygon outputs only cells which are fully inside the polygon
Intersect With or Contained by Polygon outputs cells which are fully inside the polygon and any cells which intersect the polygon (e.g. have even one node inside).
For "By Expression"
All Nodes Match Criteria outputs only cells where all nodes in the cell match the expression criteria.
Any Node Matches Criteria outputs all cells where any of the nodes in the cell match the expression criteria.