Commit 0dd001b0 by Christophe Geuzaine

tentative fix for bad plane surfaces with holes

1 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
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!