tubes

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

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 ComponentSelects constant or data dependent radius scaling.
Constant Data For RadiusDoubleThe tube radius when Radius By is set to Constant.
Cell Data For RadiusChoiceThe cell data component used for radius scaling. Options are the cell data components of the input field.
Nodal Data For RadiusChoiceThe nodal data component used for radius scaling. Options are the nodal data components of the input field.
Scale FactorDoubleMultiplied by the data value to determine the radius.
Minimum RadiusDoubleThe minimum tube radius.
ToleranceDoubleThe 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 SidesIntegerThe number of faces on the tubes.
Close TubesBooleanGives the tubes closed ends. The tubes are still not solid objects (they are hollow).
Cap StyleChoice: Flat, DomeSelects 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 TubesBooleanWhen on, tubes formed by connecting line segments are connected together.
PercentileDoubleControls 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.
PhaseDoubleThe apparent rotation of the tubes, in degrees.
Phase DeterminationChoice: Perpendicular Extrusion, Force Z UpSets 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

PropertyTypeDescription
Map Nodal DataMulti-selectSelects the nodal data components of the input field to map onto the tubes for coloring or subsequent subsetting operations.
Map Cell DataMulti-selectSelects the cell data components of the input field to map onto the tubes for coloring or subsequent subsetting operations.
Include Probing DataBooleanIncludes 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.