Tube

The Tube component is an essential element in iCraft for building process pipelines, energy systems, and industrial infrastructure.

By combining geometry, appearance, connectors, and advanced parameters, users can quickly construct clear and realistic 3D tube systems without complex modeling. It is suitable for scenarios such as concept design, system visualization, and presentation demonstrations.


How to Draw a Tube?

Create a Tube Component

  • Click the 「Tube」 icon in the system asset library on the left, or drag the icon directly onto the canvas.

  • If there are existing elements on the canvas, click an element, then click the 「Tube Connection」 icon in the floating toolbar on the right. This allows you to quickly create a tube path starting from that element and connect it to another element. Press ENTER to finish drawing and generate the tube. Alternatively, click on an empty area of the canvas to place control anchor points and freely draw a tube path. Press ENTER to complete the path and generate the tube.


Edit and Adjust the Tube Path

After drawing the tube, double-click the tube to enter path editing mode. You can further adjust the tube path using the following methods:

  • Adjust Node Position In path editing mode, drag the control anchor points along the path to change the direction of the tube. For more precise adjustments, it is recommended to use the three-axis transform gizmo on the control points.

  • Add Nodes In path editing mode, click between existing path segments to insert a new control anchor point.

  • Delete Nodes In path editing mode, select a control anchor point and press Delete to remove it.


Special Parameters of the Tube

Shape

  • Tube Radius Defines the radius of the circular cross-section of the tube, determining its thickness. Larger values produce thicker tubes.

    Default value: 0.1

    Adjustable range: 0.1 – 1

  • Radial Segments Controls the number of segments around the circular cross-section, determining how smooth the tube appears. More segments produce a smoother cylinder.

    Default value: 16

    Adjustable range: 4 – 32

  • Corner Radius Defines the arc radius used at curved sections of the tube path, determining how rounded the bends appear. Larger values produce smoother and wider curves.

    Default value: 0.5

    Adjustable range: 0.1 – 2

  • Corner Segments Controls the number of segments used in the curved sections of the tube. Higher values produce smoother bends. Default value: 64

    Adjustable range: 4 – 64

  • Close Path A toggle that determines whether the tube path forms a closed loop.

    Default: Disabled (path remains open)


Appearance

  • Material Type Determines the material model used to render the tube surface, affecting lighting, reflection, and overall visual appearance.

    Default: Clay Material. Other material types can also be selected.

  • Color Sets the color of the tube surface using the color picker.

  • Opacity Controls the transparency of the tube. Lower values increase transparency.

    Default value: 1 (fully opaque)

    Adjustable range: 0 – 1


Joint

  • Visible A toggle that determines whether joints appear at the ends of the tube.

    Default: Disabled

  • Type Defines the style of the tube joint.

    Default: Cylinder

    Optional: Cone

  • Two-Way Determines whether joints appear at both ends of the tube.

    Default: Disabled

  • Size Controls the size scale of the joint components.

    Default value: 0.3

    Adjustable range: 0.1 – 1

Last updated