Solids that share same faces

Hi, I create a compound and add some shapes in it. What I want is to remove shared faces, edges, vertices etc. (especially if there are some solid shapes that have common faces). What is the proper way of doing this? (When I tried sewing the compound, I lost solid information and only faces left)

Marco Matt's picture

BRepAlgoAPI_Fuse should do this. You can check and maybe fix your shapes with ShapeFix.

jelle's picture

What about Brep_Builder().MakeCompound / MakeCompSolid and use the Add method to add shapes?

Maili's picture

Thanks for reply but adding shapes using Add method does not fix common faces.

Maili's picture

Fusing removes all common faces, but I need one of the common face like in sewing. Is there any method doing this in ShapeFix? I could not see. Thanks for reply