Closed ghost closed 5 years ago
Pyslvs crashed on import SLVS saved with nightly SolveSpace 3.0
Steps to reproduce the behavior:
Pyslvs should load SolveSpace 3.0 file format.
Possibly, need create separate import options for "SolveSpace 2.0 module" and "SolveSpace 3.0 module"
19.09.0
Sample SLVS - https://gist.github.com/Symbian9/cdc817e7f33f3eabd66ea04e032b3342
Nightly builds of SolveSpace 3.0:
In the nightly builds, the value equals zero will be removed in the file, so use "dict.get" method instead of "get item" operator.
Describe the bug
Pyslvs crashed on import SLVS saved with nightly SolveSpace 3.0
To Reproduce
Steps to reproduce the behavior:
Terminal Log
Expected behavior
Pyslvs should load SolveSpace 3.0 file format.
Possibly, need create separate import options for "SolveSpace 2.0 module" and "SolveSpace 3.0 module"
Desktop
19.09.0
Additional context
Sample SLVS - https://gist.github.com/Symbian9/cdc817e7f33f3eabd66ea04e032b3342
Nightly builds of SolveSpace 3.0: