Skip to main content

make_filling

Function make_filling 

Source
pub fn make_filling(
    model: &mut Model,
    edges: &[Shape; 4],
    samples: usize,
    tolerance: f64,
    tol: Tolerances,
) -> OgeomResult<Built>
Expand description

Fill the loop edges bound with a fitted patch face.

The four edges must chain head to tail into a closed loop, in order; the first runs along the patch’s u direction. samples controls the Coons sampling per direction and tolerance the fit target; the fit that cannot meet it refuses with the error it reached.

§Errors

OgeomError::Construction if the edges do not chain into a loop, an edge carries no curve, or the fit misses the tolerance.