I wrote a little script, that has the task of loading a mesh (ply), then to apply some filters and finally export the whole thing back as a ply.
So far so good. But the resulting ply-file comes out unreadable. If I try to open it in MeshLab, it says: "Face with more than 3 vertices"
here is the code part that concerns pymeshlab (cleaned):
import pymeshlab as ml
ms = ml.MeshSet()
ms.load_new_mesh(path + mesh_name)
ms.apply_filter('convert_pervertex_uv_into_perwedge_uv')
ms.apply_filter('transfer_color_texture_to_vertex')
ms.save_current_mesh(path + 'AutomatedGeneration3.ply')
Did I miss something? There is actually no error message in executing this script. I also tried to use some parameters for the saving filter but it hadn't changed anything.
How do I get it right?
question from:https://stackoverflow.com/questions/65846551/export-of-mesh-fails-to-build-a-readable-ply-file