i perform intersection of a body and a plane.
BRepAlgoAPI_Section section(this->getShape ()->Get (), cuttingplane, Standard_False);
assert (section.IsDone ());
TopoDS_Shape cut = section.Shape ();
Then i retrieve the edges and build a wire (ShapeAnalysis_WireOrder and BRepBuilderAPI_MakeWire).
The wire is closed!
Last i want to construct a Face (BRepBuilderAPI_MakeFace (cuttingplane,wire,true).
The problem is that the area is negative.
When checking the face with BRepCheck_Analyzer I get the error UnorientableShape.
Can anybody help me? What do i wrong?