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