Easier BRepBuilderAPI_MakeFace

I have been trying to get BRepBuilderAPI_MakeFace working but I have had some issues. First it was that the edges weren't connected into wires, so I used ShapeAnalysis_FreeBounds::ConnectEdgesToWires to get a closed wire, then I have seen other posts were they specify tolerances for the wire before submitting to BRepBuilderAPI_MakeFace.

Still haven't got it working. But wouldn't it be easier just to have BRepBuilderAPI_MakeFace accept a series of edges, which then it would try to connect internally and do eventually other necessary operations to simplify the process?

Rodrigo Castro Andrade's picture

Billy,

If I remember correctly, BRepBuilderAPI_MakeFace only works with planar wires, which could be your problem.
Check the forums for using BRepFill_Filling to create faces. Its the method I use, since my wires may not always be planar.

Good luck,
Rodrigo

Billy's picture

Hi Rodrigo,
Thanks very much for your reply! Will look into that. :)

Billy's picture

Hi,

I used BRepFill_Filling and it worked much better but the face is in wireframe mode although I select shaded mode and I can't select it.

Attachments: