Axidraw
class Axidraw(val program: Program, paperSize: PaperSize, orientation: PaperOrientation = PaperOrientation.PORTRAIT)(source)
Class to talk to the axicli command line program
Constructors
Link copied to clipboard
constructor(program: Program, paperSize: PaperSize, orientation: PaperOrientation = PaperOrientation.PORTRAIT)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
The core method that allows the user to append content to the design. Use any methods and properties like contour(), segment(), fill, stroke, etc.
Link copied to clipboard
Rebuilds the design putting shapes under groups based on stroke colors and inserts a pause after each group.
Link copied to clipboard
Resizes the program window to match the paper size according to the ppi (Pixels Per Inch) value.
Link copied to clipboard
Link copied to clipboard
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.