pyvista / pymeshfix

Python Wrapper for MeshFix: easily repair holes in surface meshes
http://pymeshfix.pyvista.org
GNU General Public License v3.0
279 stars 29 forks source link

Unable to load the .obj file #34

Open brian220 opened 3 years ago

brian220 commented 3 years ago

Hi, I am trying to load an obj file and fix the hole in the mesh. But I got an error message when using the function load_file(): image

Following is my code:

import pymeshfix

infile = '/media/caig/423ECD443ECD3229/part_dataset/partnet_chair_level_1_obj/partnet_chair_level_1/1a6f615e8b1b5ae4dbbc9440457e303e/model_0.obj'

# Create TMesh object
meshfix = pymeshfix.PyTMesh()

meshfix.load_file(infile)

And this is my .obj file: https://drive.google.com/file/d/1dnR8FDXCcJW6eon5YRpaHHtkw0ADBY6X/view?usp=sharing

Is something wrong with my .obj file?

Thanks

MarioAuditore commented 1 year ago

Any updates? Ran into the same error