All Projects → nornagon → Saxi

nornagon / Saxi

Tools & library for driving the AxiDraw pen plotter

Programming Languages

typescript
32286 projects

Labels

Projects that are alternatives of or similar to Saxi

Arduino
C# .NET - Arduino library supporting simultaneous serial ASCII, Firmata and I2C communication
Stars: ✭ 130 (-44.44%)
Mutual labels:  serial
Gps.js
A NMEA parser and GPS utility library
Stars: ✭ 171 (-26.92%)
Mutual labels:  serial
Pyserial
Python serial port access library
Stars: ✭ 2,464 (+952.99%)
Mutual labels:  serial
Webserial
Remote Serial monitor for ESP8266 & ESP32
Stars: ✭ 133 (-43.16%)
Mutual labels:  serial
Esp32 Serial Bridge
Wifi to 3x Serial bridge based on a ESP32
Stars: ✭ 169 (-27.78%)
Mutual labels:  serial
Arduino Cmdmessenger
CmdMessenger Communication library for Arduino & .NET
Stars: ✭ 175 (-25.21%)
Mutual labels:  serial
Arduino Plotter
An Arduino library for easy graphing on host computer via serial communication
Stars: ✭ 129 (-44.87%)
Mutual labels:  serial
Ohsce
PHP HI-REL SOCKET TCP/UDP/ICMP/Serial .高可靠性PHP通信&控制框架SOCKET-TCP/UDP/ICMP/硬件Serial-RS232/RS422/RS485 AND MORE!
Stars: ✭ 206 (-11.97%)
Mutual labels:  serial
Johnny Five
JavaScript Robotics and IoT programming framework, developed at Bocoup.
Stars: ✭ 12,498 (+5241.03%)
Mutual labels:  serial
Qtswissarmyknife
QSAK (Qt Swiss Army Knife) is a multi-functional, cross-platform debugging tool based on Qt.
Stars: ✭ 196 (-16.24%)
Mutual labels:  serial
Pyserial Asyncio
asyncio extension package for pyserial
Stars: ✭ 150 (-35.9%)
Mutual labels:  serial
Diozero
Java Device I/O library that is portable across Single Board Computers. Tested with Raspberry Pi, Odroid C2, BeagleBone Black, Next Thing CHIP, Asus Tinker Board and Arduinos. Supports GPIO, I2C, SPI as well as Serial communication. Also known to work with Udoo Quad.
Stars: ✭ 167 (-28.63%)
Mutual labels:  serial
Packetserial
An Arduino Library that facilitates packet-based serial communication using COBS or SLIP encoding.
Stars: ✭ 177 (-24.36%)
Mutual labels:  serial
Vjoyserialfeeder
Feed Virtual Joystick driver with data from a serial port
Stars: ✭ 133 (-43.16%)
Mutual labels:  serial
Go Serial
A cross-platform serial library for go-lang.
Stars: ✭ 194 (-17.09%)
Mutual labels:  serial
Web Bluetooth Terminal
Progressive Web Application for serial communication with your own Bluetooth Low Energy (Smart) devices
Stars: ✭ 130 (-44.44%)
Mutual labels:  serial
Androidbluetoothlibrary
A Library for easy implementation of Serial Bluetooth Classic and Low Energy on Android. 💙
Stars: ✭ 171 (-26.92%)
Mutual labels:  serial
Adalight Fastled
Adalight with FastLED support
Stars: ✭ 232 (-0.85%)
Mutual labels:  serial
Wmi Static Spoofer
Spoofing the Windows 10 HDD/diskdrive serialnumber from kernel without hooking
Stars: ✭ 199 (-14.96%)
Mutual labels:  serial
Esp Link
esp8266 wifi-serial bridge, outbound TCP, and arduino/AVR/LPC/NXP programmer
Stars: ✭ 2,324 (+893.16%)
Mutual labels:  serial

saxi

make plot good

saxi is a tool for interacting with the AxiDraw drawing machine by Evil Mad Scientist. It comes with an easy-to-use interface, and is exactingly precise.

  • automatically scales & centers your drawing to fit on the paper
  • minimizes pen-up travel time by reordering & reversing paths
  • uses a custom motion planning algorithm (inspired by axi) that's smooth & fast
  • automatically splits apart layers based on SVG stroke colors or group IDs
  • has a web-based UI, so there's no need to muck around with installing X11 and Inkscape
  • can run on a Raspberry Pi or similar, so you don't need to be tethered to your plotter while it plots

a screenshot of the saxi user interface

Usage

$ npm i -g saxi
$ saxi
Server listening on http://0.0.0.0:9080
Connecting to EBB on /dev/tty.usbmodem1461

If you encounter an EACCES error when installing the package globally, see Resolving EACCES permissions errors when installing packages globally.

Raspberry Pi

To install saxi on a Raspberry Pi, first install node.js if you haven't already:

$ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
$ sudo apt-get install -y nodejs

and then proceed as above :) If you connect to the raspberry pi over ssh, you might want to run the saxi server inside a tmux or screen session to have it stay running even if your ssh session disconnects.

CORS

If you want to connect to saxi from a web page that isn't served by saxi itself, you'll need to enable CORS, otherwise GET/POST requests will be denied by the browser. CORS is disabled by default as a security precaution, but if you need it it's available. Just launch saxi with the --enable-cors flag.

Info

saxi makes use of the low-level LM command introduced in EBB firmware version 2.5.3 to carry out highly accurate constant-acceleration motion plans. If your AxiDraw is running an older version of the firmware, saxi will fall back to the less-accurate (but still pretty accurate) XM command.

To check what version of the EBB firmware your AxiDraw is running, run saxi --firmware-version:

$ saxi --firmware-version
EBBv13_and_above EB Firmware Version 2.5.3

To upgrade your AxiDraw's firmware, see here.

Developing

To work on saxi, you can clone this repo and then run npm start:

$ git clone https://github.com/nornagon/saxi
$ cd saxi
$ npm run dev

This will watch local files for changes. If you change the server code, you'll need to restart manually.

Credits

saxi's motion planning algorithm is heavily inspired by Michael Fogleman's axi project.

saxi's UI would be an ugly mess if it weren't for @kylestetz's discerning eye.

Thanks to Evil Mad Scientist for designing and building such a lovely machine!


Made with saxi

These images were plotted by folks using saxi. If you'd like to add something you've made here, shoot me an email!

Plotted image by @targz

by Julien Terraz (@targz)

Plotted image by @abey79

by Antoine Beyeler (@abey79)

Plotted image by @MAKIO135

by Lionel Radisson (@MAKIO135)

Plotted image by @daniel_feles

by Daniel Feles (@daniel_feles)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].