SCIInstitute / ShapeWorks

ShapeWorks
http://sciinstitute.github.io/ShapeWorks/
Other
103 stars 32 forks source link

Overlapping Triangles #1140

Open TannerAsh opened 3 years ago

TannerAsh commented 3 years ago

It was mentioned in the Shapeworks meeting that overlapping triangles on the scapulae models could be addressed in PreviewQVC. I've attached screenshots of overlapping triangle count (from 3matic) and 3 corresponding STLs with overlapping triangles. Scapula_Overlapping_traingles.zip

Screenshot (187) Screenshot (185) Screenshot (186)

sheryjoe commented 3 years ago

PreviewQC has a mesh decimation API that remeshes a given mesh. Let's test whether it can handle this case. @akenmorris also mentioned that there is a VTK file to clean up meshes.

@archanasri, let's have shapeworks commands and associated python APIs that provide access to individual functionalities of PreviewQC (please mention relevant issues here). Let's also add another command and python API for the vtk clean filter (@akenmorris can point you to it).

@akenmorris let's add these mesh fixes as grooming steps in Studio (please mention relevant issues here).

akenmorris commented 3 years ago

Does anyone know of open source software that is able to visualize these overlapping triangles? I couldn't find anything in MeshLab to show them.

akenmorris commented 3 years ago

I can confirm that the vtkCleanPolyData filter does not fix these overlapping triangles.

sheryjoe commented 3 years ago

@akenmorris have your tried remeshing tools from mmgtools?

sheryjoe commented 3 years ago

This can be fixed by #1502

akenmorris commented 3 years ago

I'm not sure AVCD can fix these. We will have to try it.

akenmorris commented 2 years ago

Attached are these files remeshed via ACVD with 75% vertices and adaptivity 1.0. @TannerAsh , can you try these in 3-matic and report back if there are any overlapping triangles in these meshes?

scapula_remeshed.zip