Skip to content

pyiges problem #25

Description

@shahabeaseman

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions