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

Microstl wrapper can't parse some STL files #151

Open
sgsellan opened this issue Dec 18, 2024 · 0 comments
Open

Microstl wrapper can't parse some STL files #151

sgsellan opened this issue Dec 18, 2024 · 0 comments

Comments

@sgsellan
Copy link
Owner

For some reason I don't have the time to track down right now, files like this one with thingi10k id 61765 return a parse error when trying to read them with gpytoolbox (v0.3.3, but the STL reader has never changed so I imagine this will happen across versions):

>>> v,f = gpytoolbox.read_mesh("61765.stl")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/silviasellan/miniconda3/lib/python3.11/site-packages/gpytoolbox/read_mesh.py", line 91, in read_mesh
    V,F = _read_stl(file,merge_stl)
          ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/silviasellan/miniconda3/lib/python3.11/site-packages/gpytoolbox/read_mesh.py", line 239, in _read_stl
    raise Exception(f"The file {file} was opened but could not be parsed.")
Exception: The file 61765.stl was opened but could not be parsed.
@sgsellan sgsellan changed the title Microstl can't parse some STL files Microstl wrapper can't parse some STL files Dec 18, 2024
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