cnr-isti-vclab / PyMeshLab

The open source mesh processing python library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

the filter "Simplification: Quadratic Edge Collapse Decimation" creates borders

yoterel opened this issue · comments

Hi,
Firstly thank you for this great lib.
I have a problem with the filter above, which "rips" apart a mesh with no border edges and effectively creates holes, even when the flag "Perserve Topology" is turned on. i.e.:

ms.apply_filter('meshing_decimation_quadric_edge_collapse', targetfacenum=25000, preserveboundary=True, preservenormal=True, preservetopology=True)

This is probably a problem with the underlying library since I was able to recreate the problem in MeshLab, but I was unsure where to post this.

If needed I can provide the mesh, but it a bit heavy (200MB~)

the reason was zero-area faces in the file. the filter throws them away before starting to process and that creates a border.