tentative fix for bad plane surfaces with holes

parent e1012f1b
Showing with 1 additions and 1 deletions
......@@ -1139,7 +1139,7 @@ bool OCC_Internals::addPlaneSurface(int &tag, const std::vector<int> &wireTags)
mean_plane meanPlane;
computeMeanPlaneSimple(points, meanPlane);
try{
gp_Pln aPlane(meanPlane.a, meanPlane.b, meanPlane.c, -meanPlane.d);
gp_Pln aPlane(-meanPlane.a, -meanPlane.b, -meanPlane.c, meanPlane.d);
BRepBuilderAPI_MakeFace f(aPlane, wires[0]);
for(unsigned int i = 1; i < wires.size(); i++){
f.Add(wires[i]);
......
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 sign in to comment