BRepBuilderAPI_MakeFace -> NotPlanar

Hi, I want to create face using some edges. BRepBuilderAPI_MakeFace works fine if I use the wire build from manually created edges (from vertices). But sometimes (for ex. if one of the edges is an edge that belongs to trimmed surface created from linear extrusion of an edge) it can not create a face and returns error 2 (BRepBuilderAPI_NotPlanar) although I am sure they are planar (or I dont know what planar here means)
Thanks for any replies

Paul Jimenez's picture

Planar means the whole wire is contained in a plane.

Maili's picture

Sorry, I realized that edges are not planar but isn't there a way to create a face from a wire that is not planar?