Shared edges after BRepAlgoAPI_Fuse

I would like to merge two contiguous faces as they were one. To do so, I tried to use BRepAlgoAPI_Fuse. However, this command does not automatically merge the edges of the two faces and delete the shared ones. I have attached a picture of a simple test case: two adjacent faces after the Fuse operation, where the shared edges in the middle (one on top of the other) can be easily seen. Actually, I would like to fill a hole in one face, by making sure the resulting representation at the end is continuous, i.e. there is no trace of the hole contour. Can anyone please help me? Thanks in advance!

Attachments: 
Qr Qr's picture

Use ShapeUpgrade_UnifySameDomain for face maximization.
 

Martin Melbourne's picture

after that operation, the faces are fused, but edges are still not fused, why is that?

Martin Melbourne's picture

Is it possible to fuse the edges as well? The fuse_edge Boolean of ShapeUpgrade_UnifySameDomain  is set to True so in my Opinion it should merge the edges as well.
 

Forum supervisor's picture

Dear Stefano,

In the method ShapeUpgrade_UnifySameDomain the last parameter ConcatBSplines should be set in True to concatenate the BSpline edges.

Best regards,

Forum supervisor