that takes a plane as an argument. This should be the plane your wire should lie in.
02Author
I don't think BRepBuilderAPI_MakeFace is only for planar faces, from documentation .
Find a surface from the wire and make a face. if <OnlyPlane> is true, the computed surface will be a plane. If it is not possible to find a plane, the flag NotDone will be set.
And attached you can see a face I got from using the class.