notpeter / axidraw_api Goto Github PK
View Code? Open in Web Editor NEWAxiDraw CLI & Python API (Unofficial Mirror)
Home Page: https://axidraw.com/doc/py_api/
AxiDraw CLI & Python API (Unofficial Mirror)
Home Page: https://axidraw.com/doc/py_api/
Stand-alone command line interface and python API for the AxiDraw writing and drawing machine. Supported on python 3.7+, Mac, Windows, and Linux. Copyright 2023 Evil Mad Scientist Laboratories The AxiDraw writing and drawing machine is a product of Evil Mad Scientist Laboratories. https://axidraw.com https://shop.evilmadscientist.com ---------- Please see Installation.txt for requirements. ---------- This directory contains the following items: axicli.py - One way to invoke the command line interface (CLI) program axicli/ - The CLI module directory documentation/ - API documentation in HTML format pyaxidraw/ - The AxiDraw python module directory Installation.txt - Installation documentation examples_python/ - Example python scripts examples_config/ - Example configuration file test/assets/AxiDraw_trivial.svg - Sample SVG file that can be plotted ---------- COMMAND LINE INTERFACE: USAGE For detailed documentation, please refer to: https://axidraw.com/doc/cli_api/ Quick start (CLI): (1) To plot an SVG document called "AxiDraw_trivial.svg" from the command line, use the AxiDraw CLI: axicli test/assets/AxiDraw_trivial.svg (2) The CLI features an extensive set of control options. For quick help, use: axicli --help Some alternative commands (functionally identical): python axicli.py <input> python -m axicli <input> ---------- PYTHON API: USAGE For detailed documentation, please refer to: https://axidraw.com/doc/py_api/ Quick Start: (1) The file "examples_python/plot.py" is an example python script, showing how one can use a the axidraw python module in "plot" mode to open and plot an SVG file. To run the example, call: python examples_python/plot.py This is a minimal demonstration script for opening and plotting an SVG file (in this case, "AxiDraw_trivial.svg") from within a python script. (2) The file "examples_python/interactive_xy.py" is an example python script, showing how one can use a the axidraw python module in "interactive" mode, to execute absolute and relative XY motion control commands like move(x,y), lineto(x,y), penup() and pendown(). To run the example, call: python examples_python/interactive_xy.py ---------- Licensing: The AxiDraw CLI and top level example scripts are licensed under the MIT license. Some of the underlying libraries that are included with this distribution are licensed as GPL. Please see the individual files and directories included with this distribution for additional license information. API Documentation: Copyright 2023, Windell H. Oskay, Evil Mad Scientist Laboratories.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.