mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
final check for badsurfacemesh
This commit is contained in:
parent
9b92e754f2
commit
c04da61ddc
@ -438,7 +438,8 @@ int STLSurfaceMeshing (STLGeometry & geom, class Mesh & mesh, const MeshingParam
|
|||||||
|
|
||||||
PrintMessage(5,"check overlapping");
|
PrintMessage(5,"check overlapping");
|
||||||
// mesh.FindOpenElements(); // would leed to locked points
|
// mesh.FindOpenElements(); // would leed to locked points
|
||||||
if(mesh.CheckOverlappingBoundary()) ;
|
mesh.CheckOverlappingBoundary();
|
||||||
|
// if(mesh.CheckOverlappingBoundary()) ;
|
||||||
// return MESHING3_BADSURFACEMESH;
|
// return MESHING3_BADSURFACEMESH;
|
||||||
|
|
||||||
geom.InitMarkedTrigs();
|
geom.InitMarkedTrigs();
|
||||||
@ -587,6 +588,9 @@ int STLSurfaceMeshing (STLGeometry & geom, class Mesh & mesh, const MeshingParam
|
|||||||
}
|
}
|
||||||
while (nopen);
|
while (nopen);
|
||||||
|
|
||||||
|
if(mesh.CheckOverlappingBoundary())
|
||||||
|
return MESHING3_BADSURFACEMESH;
|
||||||
|
|
||||||
mesh.Compress();
|
mesh.Compress();
|
||||||
mesh.CalcSurfacesOfNode();
|
mesh.CalcSurfacesOfNode();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user