diff --git a/libsrc/csg/csgeom.cpp b/libsrc/csg/csgeom.cpp index 45c76170..82102118 100644 --- a/libsrc/csg/csgeom.cpp +++ b/libsrc/csg/csgeom.cpp @@ -417,7 +417,7 @@ namespace netgen & identpoints & boundingbox & isidenticto & ideps & filename & spline_surfaces & splinecurves2d & splinecurves3d & surf2prim; if(archive.Input()) - FindIdenticSurfaces(1e-6); + FindIdenticSurfaces(1e-8 * MaxSize()); } void CSGeometry :: SaveSurfaces (ostream & out) const diff --git a/libsrc/csg/python_csg.cpp b/libsrc/csg/python_csg.cpp index 676e249a..12545eee 100644 --- a/libsrc/csg/python_csg.cpp +++ b/libsrc/csg/python_csg.cpp @@ -676,7 +676,6 @@ However, when r = 0, the top part becomes a point(tip) and meshing fails! .def("Draw", FunctionPointer ([] (shared_ptr self) { - self->FindIdenticSurfaces(1e-6); self->CalcTriangleApproximation(0.01, 20); ng_geometry = self; })