pub fn unify_same_domain(
model: &mut Model,
shape: &Shape,
tol: Tolerances,
) -> OgeomResult<(Built, usize)>Expand description
Merge adjacent faces lying on one carrier into single faces.
Two faces qualify when they share an edge and their surfaces are the same plane, in the same parameterization: the split a boolean or an exchange leaves behind. The merged face keeps the first face’s surface; the shared edges dissolve; the remaining boundary re-chains into wires. Faces on other carriers pass through untouched; a curved unification wants parameterization transport this deliberately does not guess at.
§Errors
OgeomError::Construction if a
merged boundary fails to chain into closed wires.