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

module 'meshlabxml' has no attribute 'FilterScript' #34

Open
MohamadZohoori opened this issue Nov 10, 2021 · 2 comments
Open

module 'meshlabxml' has no attribute 'FilterScript' #34

MohamadZohoori opened this issue Nov 10, 2021 · 2 comments

Comments

@MohamadZohoori
Copy link

Hi,

I used to work with meshlabserver in my script and there were no error in code and I was able to get the desired output. But now after 1 year of not using the very same script, I end up facing this error. maybe the function of the library has changed but it used to work with the following script:

scan = mlx.FilterScript(file_in = 'pointcloud.xyz',file_out='%s.stl'%name, ml_version='2016.12')

it is also worth mentioning that I have once uninstalled and reinstalled meshlabxml and probably this new version of installation has caused the error. Could you please find a way to make it work, or maybe give me the updated script with the same functionality.

@3DLIRIOUS
Copy link
Owner

Yes, there's been a few changes in meshlabserver, mostly to deal with later versions of MeshLab. Here's some things to check:

  • Make sure you are installing meshlabserver from this Github repo. The PyPi version is quite out of date, and PyPi has changed so much that I have to do more work to upload a new version, and i haven't had the time.
  • The current recommended version of MeshLab is 2020.09. This is the last version that can run mlx scripts directly (newer versions must invoke mlx scripts using PyMeshLab). Older versions (such as 2016.12) should still work though.

@MohamadZohoori
Copy link
Author

MohamadZohoori commented Nov 12, 2021 via email

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