untested cleanup
This commit is contained in:
11
show_hpgl.py
Normal file
11
show_hpgl.py
Normal 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()
|
||||
Reference in New Issue
Block a user