Wire to Face not working properly

Forums: 

Hi together,

i made a wire from edges, and now i am trying to create a face from it.
I used BRepBuilderAPI_MakeFace(wire), however the result seems wrong.

The resulting face and wire are visualized in the picture i attached. Appearently, the MakeFace has problems with round parts of a wire.
Does anyone know how to properly use MakeFace for round surfaces?

Best,
John

Luke jk's picture

I have encountered the same problem as you

Attachments: 
gkv311 n's picture

To w zh. If you will run check shape tool on your Wire, you'll see that tool will complain about missing 3D curves. So you may try from building a valid Wire before trying to make a Face out of it.

pload MODELING VISUALIZATION
restore wire2.brep w
checkshape w w
# error - no 3d curves
fixshape ww w
plane p 0 0 0 1 0 0
mkface f p w
checkshape f f
# error - no 3d curves, selfintersecting wire
mkface ff p ww
checkshape ff ff
# ok
vdisplay -dispMode 1 ff
vfit
Luke jk's picture

Thank you very much, gkv311 n! it has been confusing me for a long time. Thank you for your advice