Baltor Get started

Gallery / Mesh algorithms

Mitered pipe along a polyline

In your harnessMesh algorithmMIT

Run a constant polygon cross-section along a polyline with miter joints, so walls stay flat and the volume equals cross-section times centre-line length. Use it for ducts, plumbing, frames and wiring.

Render of Mitered pipe along a polyline
The render its check recorded in Godot 4.7.2, 256 by 256 pixels.

What it takes and gives

Entry points
mitered_pipe, demo_route, build, main
Parameters
radius, sides, route
Complexity
O(points * sides)
Axes
+Y up, metres

Limits. Sharp corners (turning more than about 120 degrees) make long miter spikes; corners closer than the radius overlap. Use profile_sweep or a tube for smooth bends. The cross-section is a regular polygon centred on the path.

Details

Kind
Mesh algorithm
Engine
Python 3.10 or later
Files
10 files, 177.1 KB
Licence
MIT
Declared effects
reads files, runs commands, writes files
Checked with
Godot 4.7.2, gl_compatibility, OpenGL 3 driver, Mesa llvmpipe under Xvfb
Checks
generator runs system python, generator runs verifier python, gltf strict structure, interpreters agree, example matches generator, godot headless gltf load, godot compatibility render
Techniques
Miter (bisector) plane joints, Frame transport between segment directions, Volume preservation of centred oblique cuts
Tags
pipe, miter, polyline, duct, frame, sweep
Identity
library.supply.creative_originals.8f301146d836e585ba76c501.b84ffa96ee686a2c
Version
b84ffa96ee686a2ca23fe1d8a73877b44dd9a2e924c0f2565354bfea62136fc6

The version is the SHA-256 of the item your harness downloads; every file in it names its own checksum.

Something wrong with this item, its rights or its safety? Report it on the support page, or from your harness after a download.