pub fn make_loft_skinned(
model: &mut Model,
sections: &[Shape],
tolerance: f64,
tol: Tolerances,
) -> OgeomResult<Built>Expand description
Loft a solid through many closed planar sections, skinned smoothly.
The sections are sampled at matched arc-length fractions from their own
traversal starts (aligning those starts is the caller’s authorship),
and the skin holds every section to tolerance, between the samples as
well as at them: the sampling round a section is refined where the skin
misses it. The caps are the first and last sections’ own planes.
A trailing vertex closes the solid on that point instead of a last cap. The skin runs smoothly on to it wherever that wall stays unfolded between the last section and the point; where it would fold through itself (sections turned against each other bend its rows into a figure eight there), the last section reaches the point by the straight cone over it instead, with an edge where the two meet.
§Errors
OgeomError::Construction if fewer than
two sections, a section is open or not planar;
OgeomError::NotDone if
the skin cannot reach the tolerance.