cross section tubes
cross section tubes produces open or closed tubes of user defined cross-section and constant or data dependent radius, using 3D lines or polylines as input for the centerline and a single 2D polyline as the cross-section of the tubes.
Rotation of the cross-section 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:
- Force Z Up is the default and is most appropriate for paths that stay relatively horizontal. It keeps the tube cross-section 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.
- Perpendicular Extrusion keeps the tube cross-section aligned with the tube (extrusion) path and therefore preserves the cross-section no matter what the path. However, cross-section rotation creep is possible.
The cross section field input must be a closed polyline drawn in the X-Y plane at the correct size. It should be balanced about the origin in X, usually with the X axis (Y=0) at the floor of the tunnel. This results in the tunnel being created such that the tunnel path is at the centerline floor of the tunnel, as shown in the picture below.
Ports
| Direction | Name | Type | Description |
|---|---|---|---|
| Input | Input Field | Field | A field of lines to be used in the creation of tubes. |
| Input | Input Cross Section Field | Field | A field of lines to be used as the cross section of the 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. |
| Close Tubes | Boolean | Gives the tubes closed ends. The tubes are still not solid objects (they are hollow). |
| 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 Center 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. |
