16 lines
299 B
Python
16 lines
299 B
Python
from pyaxidraw import axidraw
|
|
ad = axidraw.AxiDraw()
|
|
|
|
# connect/disconnect once because often first connection attempt fails
|
|
ad.interactive()
|
|
ad.connect()
|
|
ad.pen_raise()
|
|
ad.disconnect()
|
|
|
|
|
|
ad.plot_setup()
|
|
ad.pen_raise()
|
|
ad.options.mode = "manual"
|
|
ad.options.manual_cmd = "disable_xy"
|
|
ad.plot_run()
|
|
|