axi draw FILE
This commit is contained in:
parent
e127581327
commit
3c6fa0863b
|
@ -3,7 +3,6 @@ import sys
|
||||||
|
|
||||||
'''
|
'''
|
||||||
TODO:
|
TODO:
|
||||||
axi draw FILE
|
|
||||||
axi (repl)
|
axi (repl)
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
@ -33,7 +32,8 @@ def main():
|
||||||
x, y = map(float, args)
|
x, y = map(float, args)
|
||||||
device.goto(x, y)
|
device.goto(x, y)
|
||||||
elif command == 'draw':
|
elif command == 'draw':
|
||||||
axi.draw(args[0])
|
d = axi.Drawing.load(args[0])
|
||||||
|
axi.draw(d)
|
||||||
else:
|
else:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue