GeometryCollective / boundary-first-flattening

MIT License
768 stars 96 forks source link

Mesh has non manifold vertices #85

Closed artemishenkov closed 1 year ago

artemishenkov commented 1 year ago

Hi, I have downloaded and built boundary-first-flattening console application recently. I was trying to use it to flat triangulated hemisphere which was triangulated with Netgen but got an error "Unable to load file: test.obj. Mesh has non manifold vertices.". I don't understand why I got this error because it was triangulated very similarly to your hemisphere which I found in repository input/hemisphere.obj. My file: https://drive.google.com/file/d/1A5PkvTeRvQtVI8xt5lNF1JtvoTK6gOrK/view?usp=share_link I would appreciate any help, thank you.

rohan-sawhney commented 1 year ago

It looks like the triangles in the mesh are not oriented properly. You can do that using meshlab: Screenshot 2023-03-03 at 9 03 45 AM

BFF works once you reorient the triangles.

artemishenkov commented 1 year ago

@rohan-sawhney thank you for your answer I will try to follow it.