tubes

tubes

The tubes module is used to produce 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 is possible.

Rotation of the tubes is done with the Phase slider (or type-in), 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. This option keeps the tube faces aligned with the Z axis and therefore with a slope of 30 degrees, the effective cross sectional area of the tube would be reduced by cos(30) which would be a 14% reduction. However for the typical slopes found with tunneling this effect is quite minimal and this option keeps the tube perfectly aligned.
  • Perpendicular Extrusions: 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.

Ports

DirectionNameTypeDescription
InputInput FieldFieldA field of lines to be used in the creation of tubes.
OutputOutput FieldFieldThe tubes field.
OutputOutput ObjectRenderableA renderable object to display.

Properties

PropertyTypeDescription
Allow RunBooleanControls whether the module is allowed to execute.
Radius ByChoice: Constant, Cell Data Component, Node Data ComponentThe Radius By choice allows the user to choose constant or data dependent radius scaling.
Constant Data For RadiusDoubleIf Radius By is set to Constant, the Constant Data For Radius can be set using this control.
Cell Data For RadiusChoiceThe Cell Data for Radius allows you to choose the cell data component for scaling.
Nodal Data For RadiusChoiceThe Nodal Data for Radius allows you to choose the nodal data component for scaling.
Scale FactorDoubleThe Scale Factor value is multiplied by the nodal data to determine the radius.
Minimum RadiusDoubleThe Minimum Radius control sets the minimum tube radius.
ToleranceDoubleThe Tolerance parameter determines the maximum distance between nodes of adjacent line segments before those lines’ nodes should be merged to form a polyline. This also applies to closed polyline contours. Closed polylines will have their starting and ending nodes merged to form closed (toroidal) annuli.
Tube SidesIntegerThe Tube Sides value is the number of faces on the tubes.
Close TubesBooleanThe Close Tubes toggle causes the tubes to have solid ends. However the tubes are not solid objects (they are hollow).
Connect TubesBooleanIf the Connect Tubes toggle is on, tubes formed by connecting line segments will connect together.
PercentileDoubleThe Percentile value allows you to control the automatic scaling of tubes based on the nth percentile value (versus the maximum 100th%). This addresses datasets where there are only a few nodes with extremely high values.
PhaseDoubleThe Phase value allows you to control the apparent rotation of tubes. This is specified in degrees of rotation.
Phase DeterminationChoice: Perpendicular Extrusion, Force Z UpThe Phase Determination is used to set how the tubes are aligned. Perpendicular Extrusion is typically preferred if tubes approach vertical. Force Z Up works better for horizontal tubes.

Data Output

PropertyTypeDescription
Map Nodal DataMulti-selectThe Map Nodal Data options allow the user to select those nodal data components that are used for coloring or subsequent subsetting operations.
Map Cell DataMulti-selectThe Map Cell Data options allow the user to select those cell data components that are used for coloring or subsequent subsetting operations.
Include Probing DataBooleanThe Include Probing Data toggle will tell the module to include the center point of each tube end point as a cell data component. This allows the user to probe onto the tube and return its center instead of the position on the outside of the tube.