Consistent parameters for CSGeometry::FindIdenticSurfaces

also don't call it in Draw() (already done in constructor)
This commit is contained in:
Matthias Hochsteger 2022-07-06 12:49:00 +02:00
parent 6f0a486d20
commit 00d6c94bd9
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -676,7 +676,6 @@ However, when r = 0, the top part becomes a point(tip) and meshing fails!
.def("Draw", FunctionPointer
([] (shared_ptr<CSGeometry> self)
{
self->FindIdenticSurfaces(1e-6);
self->CalcTriangleApproximation(0.01, 20);
ng_geometry = self;
})