pub fn make_pipe_skinned(
model: &mut Model,
spine: &Shape,
radius: f64,
tolerance: f64,
tol: Tolerances,
) -> OgeomResult<Built>Expand description
Sweep a circular profile along a free-form spine, skinned.
Frames along the spine are rotation-minimizing (the double-reflection
construction), so the tube neither twists nor kinks where the spine
bends; the skin holds the tube to tolerance, measured between its
stations and round its circles as well as at the samples and refined
where it misses, and the caps sit perpendicular to the spine’s ends.
A wire of several edges, open or closed, is the make_pipe_shell of
the disc square to its start under the rotation-minimizing frame, its
sharp corners mitred: each line and arc leg swept exactly where that
path sweeps it so, the rest held to tolerance.
§Errors
As make_pipe, plus OgeomError::NotDone if
the skin cannot reach the
tolerance; along a wire, as make_pipe_shell.