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

pyiges problem #25

Open
shahabeaseman opened this issue Nov 14, 2022 · 1 comment
Open

pyiges problem #25

shahabeaseman opened this issue Nov 14, 2022 · 1 comment

Comments

@shahabeaseman
Copy link

Hi
I have a problem with Pyiges
when I run this code:

import pyiges
from pyiges import examples
iges = pyiges.read(examples.impeller)
entity = iges[0]
entity.parameters
[['314', '75.2941176470588', '75.2941176470588', '75.2941176470588', '']]
print(entity)

I have this error:

         File "C:\Users\AF\Downloads\pyiges-0.2.1\pyiges\untitled2.py", line 11, in <module>
          entity = iges[0]

       File "C:\ProgramData\Anaconda3\lib\site-packages\pyiges\iges.py", line 369, in __getitem__
        return self._entities[self._pointers[index]]

       KeyError: 0_

Would you please help me with this problem?

@whatthemehek
Copy link

I also have this issue!

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