Package-level declarations
Types
Class for working with Axidraw pen plotters. It communicates with the axicli command line program, which is installed automatically using Python. Provides an extensive GUI to configure the pen plotter, to save and load designs, preview them, layout designs using a Camera2D, plot, resume and more.
Axidraw models. See: https://axidraw.com/doc/cli_api/#model
Axidraw reordering optimization types. See: https://axidraw.com/doc/cli_api/#reordering
Pen-lift mechanism. See: https://axidraw.com/doc/cli_api/#penlift
Axidraw layer mode. The command argument will be prepended to the layer name.
Data class containing the output text and error code resulting from executing command line programs.
Functions
Configure an SVG layer name. Certain character sequences are used by the Axidraw software to control layer speed, height and delay. Other characters make the layer be ignored, or trigger a pause. The arguments in this function provide a typed approach to construct the layer name. See https://wiki.evilmadscientist.com/AxiDraw_Layer_Control
Save a Composition to an Inkscape file. Includes expected XML namespaces and sets an XML header with the view window size. Strips an extra wrapping <g> tag to make special layer names work with the Axidraw pen plotter.
Determines the appropriate Python executable name based on the operating system.
Returns the path to the Python executable in a given virtual environment. The path varies depending on the operating system.