how I can automatically detect thin wall #4447
-
Hi devs I would like to know how I can automatically detect the red areas in the photo. I tried like this
I truly appreciate your continued support |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello! In MeshHealer we use this function to calculate thickness of each vertex: MeshLib/source/MRMesh/MRMeshThickness.h Lines 11 to 13 in 2ad764e As for critical value - we use auto thicknessPerVert = computeRayThicknessAtVertices( mesh );
float critThickness = tolerance * 0.95f;
VertBitSet thinVerts( mesh.topology.getValidVerts().size() );
for ( auto v : mesh.topology.getValidVerts() )
if ( thicknessPerVert[v] <= critThickness )
thinVerts.set( v );
FaceBitSet thinFaces = getIncidentFaces( mesh.topology, thinVerts ); |
Beta Was this translation helpful? Give feedback.
Hello!
In MeshHealer we use this function to calculate thickness of each vertex:
MeshLib/source/MRMesh/MRMeshThickness.h
Lines 11 to 13 in 2ad764e
As for critical value - we use
0.95*tolerance
by default, but it should really depend on your needs, we just peaked some value based on user inputtolerance
auto …