From 515922ccf87a54fe9a132405e53e00675dbe64ea Mon Sep 17 00:00:00 2001 From: Debian Science Maintainers Date: Fri, 6 May 2011 14:52:41 +0100 Subject: [PATCH] workaround-bug-mesher MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Workaround poor performance of the new mesher in OCC 6.5.0 with B-spline surfaces The new mesher in OCC 6.5.0 is more robust, but also produces much larger meshes on B-spline surfaces. Until this bug is fixed, it seems better to use the generic procedure. Patch provided by Jérôme Robert. See http://www.opencascade.org/org/forum/thread_20076/ Gbp-Pq: Topic submitted Gbp-Pq: Name workaround-bug-mesher.patch --- ros/src/BRepMesh/BRepMesh_FastDiscretFace.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ros/src/BRepMesh/BRepMesh_FastDiscretFace.cxx b/ros/src/BRepMesh/BRepMesh_FastDiscretFace.cxx index 8f969279a..cbdfb9227 100644 --- a/ros/src/BRepMesh/BRepMesh_FastDiscretFace.cxx +++ b/ros/src/BRepMesh/BRepMesh_FastDiscretFace.cxx @@ -936,7 +936,7 @@ void BRepMesh_FastDiscretFace::InternalVertices ( const Handle(BRepAdaptor_HSurf } } } - else if (thetype == GeomAbs_BezierSurface || thetype == GeomAbs_BSplineSurface) + else if (false /* See http://www.opencascade.org/org/forum/thread_20076/ thetype == GeomAbs_BezierSurface || thetype == GeomAbs_BSplineSurface */) { Standard_Integer i, j; -- 2.30.2