I need to be able to create a model built up from a large number of rectangular patches. These patches are non-planar. I can create a polygon using BRepBuilderAPI_MakePolygon but when I attempt to create a face using BRepBuilderAPI_MakeFace I get an error (BRepBuilderAPI_NotPlanar).
Does anyone know how I can create the face without resorting to splitting the rectangle into two triangles?
Even better, add the polygon to a shape to make a single surface?