Forum archiveIssue archiveModeling Data and Algorithms

Archived discussion

BRepAlgoAPI_Fuse can't fuse two TopoDS_Face properly

Modeling Data and AlgorithmsThu, 07/06/2023 - 19:173 replies

Browse this forum
QuestionAuthor

shape2 and shape1 are two square(TopoDS_Face) partially overlapped, check attachment

TopoDS_Shape FusedShape = BRepAlgoAPI_Fuse(shape2, shape1);

After boolean operation, result FusedShape is compound that consist of 3 TopoDS_Face, and it can't be rendered by VKT interface properly.
Anyway to make result as one TopoDS_Face?

Thanks

Discussion

3 archived replies

Posts are displayed in their archived order.

01Commenter-1

Possibly the faces are in different planes. Check the Z value of both face vertices if they are rendered on xy plane.

02Commenter-2

The result is right. By default fuse BO does not merge same-domain faces. But you can request this using the method SimplifyResult().

03Author

Mikhail
It works. thanks
I assume it also work for solid object, right?

Author