Based and structured on nornagon/saxi, big thanks to Jeremy Rose's driver as this project wouldn't be possible without it.
This electron app aims to make working with the axidraw an effortless affair.
The project is structured into 3 parts
- The figma plugin
- A electron shell
- A nuxt application
I'm using nuxt for a convenient webpack configuration and development environment. In dev mode, nuxt launches the saxi server and the electron app, making the electron code live-reloading In production mode, the electron app launches the saxi server and the nuxt server.
The figma plugin is as small as possible, it just checks if the driver is running, and offers the download link/launch link if it is not.
The nuxt application fills two roles, display the information in the menubar and provide the plotter ux in figma.
Electron is used to make the install process as quick as possible, no command line commands, just download a file and put it in the proper location, as expected.