docs / features / Tube

Tube

Status: Implemented

Tube feature dialog

Tube builds a ball-and-stick pipe network: one body per selected edge, with a sphere unioned in at every junction where two or more segments meet.

Walkthrough

Tube walkthrough

Recorded from the running app by BREP_mcp/tests/videos/tube.json; regenerate every walkthrough with ./build.sh docs-videos.

Inputs

Behaviour

Bends

Set bendRadius above zero and a corner where two straight edges meet stops being a joint and becomes a real bend: the path is pulled back from the corner by bendRadius / tan(γ/2) on each side, a tangent arc is laid across it, and the whole run of segments joined by such corners is swept as one body. There is no sphere, no boolean and no bead at such a corner — a bend has no crotch, so there is no tangency to bury and nothing protrudes. The wall is tangent-continuous through the turn, and a hollow bend bores concentrically, so its wall is the same thickness round the bend as along the straight.

The lane is chosen per corner, so bends and joint balls mix in one path: a branch where three or more segments meet has no single corner to round and keeps its ball, and so does a corner involving a curved segment.

Limitations

Where to find it

Offered in the Modeling and All workbenches. Type code TU.