nmwsharp / potpourri3d

An invigorating blend of 3D geometry tools in Python.
MIT License
414 stars 31 forks source link

`MeshVectorHeatSolver` fails when the shape comes form DT4D dataset. #18

Closed whb007 closed 2 months ago

whb007 commented 3 months ago

Hi, I’d like to compute the connection Laplacian of 3D triangle mesh via L=pp3d.MeshVectorHeatSolver(verts,faces).get_connection_laplacian(). However, I find that it fails when it runs on the DT4D dataset. The code gives the following error message. 1715999895046

How to solve this problem??

nmwsharp commented 2 months ago

This probably means that the input mesh is nonmanifold. Consider running mesh repair algorithms e.g. to split nonmanifold edges. MeshLab has several nice such routines, including with python bindings.

whb007 commented 2 months ago

Thanks, I'll try it.