Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to load the .obj file #34

Open
brian220 opened this issue Jul 21, 2021 · 1 comment
Open

Unable to load the .obj file #34

brian220 opened this issue Jul 21, 2021 · 1 comment

Comments

@brian220
Copy link

brian220 commented Jul 21, 2021

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
Copy link

Any updates? Ran into the same error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants