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

import stl #133

Closed
absudabsu opened this issue Dec 21, 2017 · 2 comments
Closed

import stl #133

absudabsu opened this issue Dec 21, 2017 · 2 comments

Comments

@absudabsu
Copy link

Hi, I am trying to import an STL file and I get an error:

% python
Python 3.5.3 |Intel Corporation| (default, Apr 27 2017, 18:08:47)
[GCC 4.8.2 20140120 (Red Hat 4.8.2-15)] on linux
Type "help", "copyright", "credits" or "license" for more information.
Intel(R) Distribution for Python is brought to you by Intel Corporation.
Please check out: https://software.intel.com/en-us/python-distribution
>>> import meshio as io
>>> io.read('./data/03_FULL_DELIVERY_22/VHP22_STL_FILES/VHPC_Heart.stl',file_format='stl')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/intel/intelpython3/lib/python3.5/site-packages/meshio/helpers.py", line 121, in read
    return format_to_reader[file_format].read(filename)
KeyError: 'stl'

Any ideas?

@gdmcbain
Copy link
Contributor

gdmcbain commented Dec 21, 2017

@nschloe
Copy link
Owner

nschloe commented Dec 21, 2017

Alright, let's follow it up on meshio#177.

@nschloe nschloe closed this as completed Dec 21, 2017
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

3 participants