tubes
tubes produces open or closed tubes of constant or data dependent radius using 3D lines or polylines as input. Tube size, number of sides, and data dependent coloring are all supported.
Rotation of the tubes is set with Phase, which is specified in degrees. There are two methods used to maintain continuity of the tube orientation as the path meanders along a 3D path. These are specified as the Phase Determination method:
- Perpendicular Extrusion is the default. It keeps the tube cross-section aligned with the tube (extrusion) path and therefore preserves the cross-section no matter what the path. However, tube rotation creep is possible. This method is typically preferred when tubes approach vertical.
- Force Z Up is most appropriate for paths that stay relatively horizontal. It keeps the tube faces aligned with the Z axis, so on a slope of 30 degrees the effective cross-sectional area of the tube is reduced by cos(30), a 14% reduction. For the typical slopes found in tunneling this effect is minimal, and this option keeps the tube perfectly aligned.
Ports
| Direction | Name | Type | Description |
|---|---|---|---|
| Input | Input Field | Field | A field of lines to be used in the creation of tubes. |
| Output | Output Field | Field | The tubes field. |
| Output | Output Object | Renderable | A renderable object to display. |
Properties
| Property | Type | Description |
|---|---|---|
| Allow Run | Boolean | Controls whether the module is allowed to execute. |
| Radius By | Choice: Constant, Cell Data Component, Node Data Component | Selects constant or data dependent radius scaling. |
| Constant Data For Radius | Double | The tube radius when Radius By is set to Constant. |
| Cell Data For Radius | Choice | The cell data component used for radius scaling. Options are the cell data components of the input field. |
| Nodal Data For Radius | Choice | The nodal data component used for radius scaling. Options are the nodal data components of the input field. |
| Scale Factor | Double | Multiplied by the data value to determine the radius. |
| Minimum Radius | Double | The minimum tube radius. |
| Tolerance | Double | The maximum distance between nodes of adjacent line segments for those nodes to be merged into a polyline. This also applies to closed polyline contours: closed polylines have their starting and ending nodes merged to form closed (toroidal) annuli. |
| Tube Sides | Integer | The number of faces on the tubes. |
| Close Tubes | Boolean | Gives the tubes closed ends. The tubes are still not solid objects (they are hollow). |
| Cap Style | Choice: Flat, Dome | Selects how closed tube ends are drawn: Flat caps the end with a disc; Dome caps it with a hemisphere. Available when Close Tubes is on. |
| Connect Tubes | Boolean | When on, tubes formed by connecting line segments are connected together. |
| Percentile | Double | Controls the automatic scaling of tubes based on the nth percentile value (versus the maximum, 100th percentile). This addresses datasets where there are only a few nodes with extremely high values. |
| Phase | Double | The apparent rotation of the tubes, in degrees. |
| Phase Determination | Choice: Perpendicular Extrusion, Force Z Up | Sets how the tubes are aligned along the path. Perpendicular Extrusion is typically preferred if tubes approach vertical. Force Z Up works better for horizontal tubes. |
Data Output
| Property | Type | Description |
|---|---|---|
| Map Nodal Data | Multi-select | Selects the nodal data components of the input field to map onto the tubes for coloring or subsequent subsetting operations. |
| Map Cell Data | Multi-select | Selects the cell data components of the input field to map onto the tubes for coloring or subsequent subsetting operations. |
| Include Probing Data | Boolean | Includes the center point of each tube end point as a cell data component. This allows you to probe onto the tube and return its center instead of the position on the outside of the tube. |