Skip to main content

make_loft_skinned

Function make_loft_skinned 

Source
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. The caps are the first and last sections’ own planes.

§Errors

OgeomError::Construction if fewer than two sections, a section is open or not planar; OgeomError::NotDone if the skin cannot reach the tolerance.