How to merge two adjacent faces to a face? not the BRepAlgoAPI_Fuse

jianbaoxia

CAD master
Hi Bros, I'm JianBaoXia.
I get two faces which is next to each other.
I try to merge they become one face through BRepAlgoAPI_Fuse, but the result TopoDS_Shape still has two faces, just like
1657199001192.png
Now I will try to set the tolerance to let OCCT judge the two faces as one face, I have never do this, it may take me some time.

And if there another way to achieve the goal?
 

Quaoar

Administrator
Staff member
In Analysis Situs that would be repatch function. However, it will always approximate the faces you wanna merge with a spline. Also, it does not work perfectly well in quite some cases. The math engine behind is the Plate algorithm (an implementation of constrained filling method).
 

jianbaoxia

CAD master
Hi @Quaoar , Thanks so much for your advice, this seems not a easy function. I may try some simple ways for specific model. I will remain concern this issue, and share something if I find useful. 😃 😃
 
Top