Skip to main content

merge_same_surface_faces_excluding

Function merge_same_surface_faces_excluding 

Source
pub fn merge_same_surface_faces_excluding(
    solid: &BrepSolid,
    tolerance: f64,
    keep_unmerged: &[String],
) -> Result<BrepSolid, KernelRefusal>
Expand description

Like merge_same_surface_faces, but any face whose name CONTAINS one of keep_unmerged is pinned: it never merges with a coplanar/cosurface neighbour and is emitted unchanged, while every other face merges exactly as merge_same_surface_faces would. An empty keep_unmerged is identical to the plain call.