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

AttributeError: 'pymeshlab.pmeshlab.MeshSet' object has no attribute 'snapshot' #406

Open
beam-hub opened this issue Nov 12, 2024 · 0 comments

Comments

@beam-hub
Copy link

import pymeshlab as ml
import numpy as np
input_file = 'test.obj'
mesh = ml.MeshSet()
mesh.load_new_mesh(input_file)
color1 = ml.Color(50,50,50,255)
mesh.snapshot(
#imagebackgroundcolor = color1,
#imagewidth = 512,
#imageheight = 512,
imagefilename = 'test.png'
)
I ran into this problem while executing this code, does anyone know how to fix it?

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

1 participant