24 lines
391 B
Python
Executable File
24 lines
391 B
Python
Executable File
from Plotter import *
|
|
from Command import *
|
|
from Program import *
|
|
from Kleber import *
|
|
from K18650 import *
|
|
|
|
|
|
#plt = Plotter()#(0,0,400,400))
|
|
|
|
p = Program.parsefile('../hpgl/ag.hpgl')
|
|
#p=p.
|
|
print(str(p))
|
|
p=p.flip()
|
|
p=p.rotate(270)
|
|
print(p.winsize[0]/40, p.winsize[1]/40)
|
|
|
|
#p = p.fitin((0, 0, plt.xmax, plt.ymax), (0.5, 0.5))
|
|
print(p.winsize[0]/40, p.winsize[1]/40)
|
|
p.show()
|
|
|
|
|
|
|
|
#plt.write(p)
|