PyGerber Bug Report
Mandatory checks
Before opening this issue:
To Reproduce
Load the attached file arctest2-F_Adhesive.txt and call GerberFile.from_file(file path).render_with_shapely()
(Wouldn't let me upload a .gbr, so i changed it to .txt)
Expected behavior
Render succeeds
Additional context
This seems to happen with any file generated by KiCad which contains a filled circle. Non-filled circles work fine.
Disabling the offending assert (or changing it from > to >=) doesn't seem to break things but does fix the issue.
Environment:
- Operating system: [Windows 10]
- Python version: [3.11]
- PyGerber version: [latest dev]
Optional checks
PyGerber Bug Report
Mandatory checks
Before opening this issue:
duplicate.
resolved or marked as won't fix.
known issue.
known issue.
To Reproduce
Load the attached file arctest2-F_Adhesive.txt and call GerberFile.from_file(file path).render_with_shapely()
(Wouldn't let me upload a .gbr, so i changed it to .txt)
Expected behavior
Render succeeds
Additional context
This seems to happen with any file generated by KiCad which contains a filled circle. Non-filled circles work fine.
Disabling the offending assert (or changing it from > to >=) doesn't seem to break things but does fix the issue.
Environment:
Optional checks
of PyGerber for regression testing purposes.
an agreement described in first checkbox in this section.
an agreement described in first checkbox in this section.