pyvista / pyiges

Python IGES Reader
https://pyvista.github.io/pyiges/
MIT License
33 stars 8 forks source link

Loading file error on class Entity(), function add_section() #19

Open dormanino opened 3 years ago

dormanino commented 3 years ago

Hi, I would thank you a lot if you could point me if the error:

    self.d[key] = int(status_number_string)
        ValueError: invalid literal for int() with base 10: ''

in the before mentioned class/function could be files issues or edge case issue

*file upload is not possible due github restrictions but we can arrange something - like convert the .txt to .igs please A9584293168.txt

EDIT: found possible error from file but cant understand how pyIGES construct the image referencing the status number in the cls constructor - see position 65-72 - a.k.a - e.add_section(data[65:72], 'status_number'), line 326 from iges.py module

                                                                           !Here is pos 72
 406       1               1       1       0       0                D      1