cross section tubes

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

DirectionNameTypeDescription
InputInput FieldFieldA field of lines to be used in the creation of tubes.
InputInput Cross Section FieldFieldA field of lines to be used as the cross section of the 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.
Close TubesBooleanGives the tubes closed ends. The tubes are still not solid objects (they are hollow).
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 Center 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.