untested cleanup

This commit is contained in:
Lukas Cremer
2026-02-03 21:28:22 +01:00
parent 9fe02d248f
commit b421b199ca
327 changed files with 373 additions and 6683 deletions

11
show_hpgl.py Normal file
View File

@@ -0,0 +1,11 @@
"""Load an HPGL file and show it in a window."""
from Plotter import *
from Command import *
from Program import *
p = Program.parsefile('output/hpgl/ag.hpgl')
print(str(p))
p = p.flip()
p = p.rotate(270)
print(p.winsize[0] / 40, p.winsize[1] / 40)
p.show()