create_pipe
Build one continuous curved tube with variable radius along a 3D path to create exhaust headers, reducers, horns, bottle necks, and sleeved hoses as a single piece.
Instructions
One continuous tube whose radius changes along a curved path - exhaust header + reducer + muffler in one piece, horns, bottle necks, hoses with sleeves, branches. No separate cylinders butted together.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caps | No | End closure when wall is not given. | flat |
| name | No | Pipe | |
| path | Yes | 3D points the tube's centre line passes (metres). | |
| wall | No | Wall thickness (m): ends are open with a visible lip and inner bore. | |
| parent | No | ||
| radius | No | One radius, or [[s, r], ...] along the path: s in metres from the start, or fractions 0-1 of its length if every s <= 1. Interpolated smoothly without overshoot: flares, megaphone tapers, reducers, bulges. | |
| location | No | World position [x,y,z] (metres) of the object origin. | |
| material | No | Material preset name (list_material_presets), or {preset, color, roughness, weathering, ...} like apply_material, or the name of an existing material. Presets with a real-world scan use Poly Haven automatically; {'polyhaven': 'mossy rock'} picks any Poly Haven texture by description. | |
| rotation | No | Rotation [x,y,z] in degrees. | |
| segments | No | Points around the tube. | |
| collection | No | ||
| bend_radius | No | Treat the path as straight runs joined by arcs of this centre-line radius (real tube bending); without it the path is a smooth spline through the points. | |
| section_scale | No | [sx, sy] oval section (e.g. [1, 0.8]). |