BRepAlgoAPI_Fuse should do this. You can check and maybe fix your shapes with ShapeFix.
Archived discussion
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)
Discussion
4 archived replies
Posts are displayed in their archived order.
What about Brep_Builder().MakeCompound / MakeCompSolid and use the Add method to add shapes?
Thanks for reply but adding shapes using Add method does not fix common faces.
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