2019-10-15 10:42:59 +00:00
|
|
|
from pyaxidraw import axidraw
|
|
|
|
ad = axidraw.AxiDraw()
|
2019-12-18 17:49:07 +00:00
|
|
|
|
|
|
|
# connect/disconnect once because often first connection attempt fails
|
|
|
|
ad.interactive()
|
|
|
|
ad.connect()
|
|
|
|
ad.pen_raise()
|
|
|
|
ad.disconnect()
|
|
|
|
|
|
|
|
|
2019-10-15 10:42:59 +00:00
|
|
|
ad.plot_setup()
|
2019-12-18 17:49:07 +00:00
|
|
|
ad.pen_raise()
|
2019-10-15 10:42:59 +00:00
|
|
|
ad.options.mode = "manual"
|
|
|
|
ad.options.manual_cmd = "disable_xy"
|
|
|
|
ad.plot_run()
|
2019-12-18 17:49:07 +00:00
|
|
|
|