Method to deal with free bounds(edges)

The question is:
When I translate stp file to igs format, the intersection between planar face and curved face becomes disconnected. There are free bounds appear using ShapeAnalysis_FreeBounds to detect them.

But I didn't find functions to heal these free bounds. Is there any solution can do this in Opencascade? Thanks in advance.

Attachments: 
Mikhail Sazonov's picture

Use BRepBuilderAPI_Sewing.

leo lei's picture

Thank you for the reply.
These free bounds are self-intersect wires. They cannot be constructed into face. I am not sure how this class can clear those free bounds.

Attachments: