distance to 2d area

distance to 2d area

Distance to 2d area receives any 3D field into its Input Field port and triangulated polygons (from triangulate polygons, or other sources) into its Input Area port. It adds a data component to the input 3D field representing the signed distance from the boundary of the input area. Using subsetting modules such as plume shell, you can then cut structures inside or outside of the input polygons. Only the x and y coordinates of the polygons are used, because distance to 2d area cuts a projected region that is z invariant. Distance to 2d area recalculates when either input field is changed or the Execute button is pressed.

The data values are zero (0.0) at the boundaries of the surface, less than zero (negative) inside the surface, and greater than zero (positive) outside of the surface. To get everything inside, choose to subset below the level in the subsetting modules, rather than the default of above the level.

Distance to 2d area does not cut directly. It provides data which you can then subset using other modules like plume or intersection. Without subsetting modules after distance to 2d area, the only effect is the addition of a new nodal data component.

Distance to 2d area needs a surface as its input. The surface can be complex, meaning that it can have holes in it, or it can be separate disjoint pieces. If you are starting with lines, they must form truly closed polylines. Once you have one or more closed polylines, pass them through triangulate polygons to create a TIN surface before connecting to distance to 2d area.

Ports

DirectionNameTypeDescription
InputInput FieldFieldThe field to map subsetting data onto.
InputInput AreaFieldThe area to use for subsetting.
OutputOutput FieldFieldThe subset field.

Properties

PropertyTypeDescription
ExecuteButtonForces the module to run even if Allow Run has been turned off. This allows the user to make a number of changes before updating.
Allow RunBooleanCauses the module to run whenever the inputs change.
Nested Surface CuttingBooleanAllows you to cut doughnut-like shapes if you have polygons inside of other polygons.
Boundary Extraction MethodChoice: Edges by Angle, Boundary EdgesDetermines how the edges to which the signed distances are calculated are extracted. Edges by Angle chooses all edges of cells with an angle greater than the specified angle. Boundary Edges extracts all edges used by only a single cell, which results in edges on the outer boundary of surfaces.
Maximum Edge AngleDoubleThe angle between two faces or cells in the model. Intersections between faces or cells with angles greater than the Maximum Edge Angle will be cut. This should not need to be modified unless your cutting area is highly non-planar (3D). If the cutting results seem aberrant, try adjusting this. Used when Boundary Extraction Method is Edges by Angle.

Processing Settings

PropertyTypeDescription
Gpu SettingsGPU OptionsGPU acceleration settings. The default for these options can be changed in the global application options menu.
Max Block SizeIntegerThe number of nodes processed on each GPU pass. Larger numbers run faster, but cause interruptions. Smaller numbers are more likely to succeed on lower end graphics cards.