This function sets up a connection to the AxiDraw and returns an object with methods for directly controlling the movement of the pen plotter.
axi_manual(units = "cm", options = axi_options())
units | The units that movement is given in. Either |
---|---|
options | An |
An object with the methods given in the Instructions section.
Before and after use it is necessary to call the connect()
/disconnect()
methods to signal the start and end of a sequence of instructions.
The following methods are available to the returned object:
connect()
: Start a connection to the plotter.
disconnect()
: End a connection to the plotter.
update_options()
: Change the options of the plotter.
go_to()
: Move the plotter head to the absolute (x, y) position.
move_to()
: Move the plotter head to the absolute (x, y) position, raising
the head if not already up.
line_to()
: Move the plotter head to the absolute (x, y) position, lowering
the head if not already down.
go_rel()
: Move the plotter head with the relative (x, y) amount.
move_rel()
: Move the plotter head with the relative (x, y) amount, raising
the head if not already up.
line_rel()
: Move the plotter head with the relative (x, y) amount, lowering
the head if not already down.
pen_up()
: Raise the pen head.
pen_down()
: Lower the pen head.