initial commit
This commit is contained in:
23
refac/main.py
Executable file
23
refac/main.py
Executable file
@@ -0,0 +1,23 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user