Axidraw
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.
Parameters
A Vector 2 specifying where inside drawBounds to draw the plot simulation. The default is Vector2.ZERO, which means centered. Use values between -1.0 and 1.0 for aligning to the left/top or to the right/bottom of drawBounds.
Constructors
Properties
A Rectangle specifying the window area where to draw the plot simulation. The default is drawer.bounds.
A Vector2 specifying the paper size in mm. For convenient a constant like PaperSize.A5.size can be used.
Functions
Pans the camera to center items found in the current design.
The core method that allows the user to append content to the design. Use any methods and properties available in CompositionDrawer, like contour(), segment(), fill, stroke, etc.
After hitting pause, use this to move the pen home
Rebuilds the design putting shapes under groups based on stroke colors and inserts a pause after each group.
Plot a design using the current settings
After hitting pause, use this to continue plotting
This method is called automatically when instantiating org.openrndr.extra.axidraw.Axidraw to set up the axicli program. Call it with true as an argument to manually reinstall axicli.`
This method is called automatically when instantiating org.openrndr.extra.axidraw.Axidraw to set up a Python virtual environment. Call it with true as an argument to manually reinstall the virtual environment.
Display Axidraw system info
Toggle the pen up/down state by powering the pen plotter servo. Useful for calibrating the pen height. Cover the paper with a plastic sheet before running this command to avoid accidentally leaving ink on the paper.
Display Axidraw software version