PyGerber Bug Report
Mandatory checks
Before opening this issue:
To Reproduce
Execute command:
pygerber render raster test.txt -o test.png
with file:
test.txt
Expected behavior
The rendering of this Gerber file generates a rectangle rotated 0 degrees, but it should be rotated 45 degrees.
Not correct:

Correct:
Additional context
Environment:
- Operating system: Ubuntu 22.04.5
- Python version: 3.10.12
- PyGerber version: 2.4.3
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
Execute command:
pygerber render raster test.txt -o test.png
with file:
test.txt
Expected behavior
The rendering of this Gerber file generates a rectangle rotated 0 degrees, but it should be rotated 45 degrees.
Not correct:

Correct:
Additional context
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.