pub fn sew(
model: &mut Model,
faces: &[Shape],
tol: Tolerances,
) -> OgeomResult<Sewn>Expand description
Sew free faces into shells by finding the edges they share.
Two edges are the same edge when their ends coincide within tolerance (either way round) and a point along them does too. The midpoint test is what stops two different arcs between the same pair of vertices from being merged into one, which is a real case: the two halves of a circle share both ends.
Nothing is moved. See the module documentation.
ยงErrors
OgeomError::Construction if faces is
empty or holds something that is not a face;
OgeomError::Dangling if a handle fails to
resolve.