Commit b44479d0 by Christophe Geuzaine

error if could not make planar face with single wire

parent 79f2d876
Pipeline #44 passed with stage
in 20 minutes 1 second
......@@ -1111,7 +1111,13 @@ bool OCC_Internals::addPlaneSurface(int &tag, const std::vector<int> &wireTags)
return false;
else if(wires.size() == 1){
result = BRepBuilderAPI_MakeFace(wires[0]);
BRepBuilderAPI_MakeFace f(wires[0]);
Msg::Error("Could not create face");
return false;
result = f.Face();
// compute mean plane
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment