diff --git a/libsrc/occ/occmeshsurf.cpp b/libsrc/occ/occmeshsurf.cpp index ff3d1ae3..8f815b5c 100644 --- a/libsrc/occ/occmeshsurf.cpp +++ b/libsrc/occ/occmeshsurf.cpp @@ -369,6 +369,9 @@ namespace netgen double u = gi.u; double v = gi.v; +#ifdef OLD + // was a problem for pheres: got u-v paramters outside range of definition + gp_Pnt x = occface->Value (u,v); if (p.SquareDistance(x) <= sqr(PROJECTION_TOLERANCE)) return; @@ -418,7 +421,7 @@ namespace netgen } } while (count < 20); - +#endif // Newton did not converge, use OCC projection