distance to shape

distance to shape

Distance to shape receives any 3D field into its input port and outputs the same field with an additional data component representing the distance from a cylinder or rotated rectangle. Using plume shell, you can then cut structures with that shape. The cutting action is z invariant (like a cookie cutter). Depending on the resolution of the input field, rectangles may not have sharp corners. With rectilinear fields (and non-rotated rectangles), subset by expression can replace plume shell to produce sharp corners (by removing whole cells). Plume can be used to output 3D fields for additional filtering or mapping.

Ports

DirectionNameTypeDescription
InputInput FieldFieldThe field to add the shape data to.
OutputOutput FieldFieldThe field with added shape data.

Properties

PropertyTypeDescription
Allow RunBooleanPrevents the module from running when turned off, allowing the user to make changes to large data sets without waiting for updates.
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.

Shape Settings

PropertyTypeDescription
Shape TypeChoice: Cylindrical, RectangularSelects the type of shape to generate data from.
X CenterDoubleThe x coordinate of the center of the shape. Defaults to the center of the input field.
Y CenterDoubleThe y coordinate of the center of the shape. Defaults to the center of the input field.
Z CenterDoubleThe z coordinate of the center of the shape. Defaults to the center of the input field.
Z HeightDoubleThe height of the shape. Defaults to the z extent of the input field.
Cylinder RadiusDoubleWhen Shape Type is Cylindrical, the radius of the cylinder.
X WidthDoubleWhen Shape Type is Rectangular, the width (x dimension) of the rectangle.
Y LengthDoubleWhen Shape Type is Rectangular, the length (y dimension) of the rectangle.
Rectangular RotationDoubleWhen Shape Type is Rectangular, the rotation (-90 to 90 degrees) of the rectangle about its center.