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
| Direction | Name | Type | Description |
|---|---|---|---|
| Input | Input Field | Field | The field to add the shape data to. |
| Output | Output Field | Field | The field with added shape data. |
Properties
| Property | Type | Description |
|---|---|---|
| Allow Run | Boolean | Prevents the module from running when turned off, allowing the user to make changes to large data sets without waiting for updates. |
| Execute | Button | Forces 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
| Property | Type | Description |
|---|---|---|
| Shape Type | Choice: Cylindrical, Rectangular | Selects the type of shape to generate data from. |
| X Center | Double | The x coordinate of the center of the shape. Defaults to the center of the input field. |
| Y Center | Double | The y coordinate of the center of the shape. Defaults to the center of the input field. |
| Z Center | Double | The z coordinate of the center of the shape. Defaults to the center of the input field. |
| Z Height | Double | The height of the shape. Defaults to the z extent of the input field. |
| Cylinder Radius | Double | When Shape Type is Cylindrical, the radius of the cylinder. |
| X Width | Double | When Shape Type is Rectangular, the width (x dimension) of the rectangle. |
| Y Length | Double | When Shape Type is Rectangular, the length (y dimension) of the rectangle. |
| Rectangular Rotation | Double | When Shape Type is Rectangular, the rotation (-90 to 90 degrees) of the rectangle about its center. |