This Inkscape extension that allows you to save Inkscape drawings as G-Code files suitable for plotting using GRBL ESP32 or similar. The last tested version of Inkscape is 0.92.
Code adapted from the unmaintained Makerbot Unicorn extension by Marty McGuire.
- Parenthesis comments are now semicolon comments
M300
commands are nowG0
commands- Other minor tweaks
Copy the contents of src/
to your Inkscape extensions/
folder.
Typical locations include:
- OS X -
/Applications/Inkscape.app/Contents/Resources/extensions
- Linux -
/usr/share/inkscape/extensions
- Windows -
C:\Program Files\Inkscape\share\extensions
Inkscape document units must be set to px otherwise you will get tracebacks.
- Size and locate your image appropriately:
- The extension will automatically attempt to center everything
- Convert all text to paths:
- Select all text objects.
- Choose Path | Object to Path.
- Save as G-Code:
- File | Save a Copy.
- Select h4xidraw G-Code (*.gcode).
- Save your file.
- Plot
- Upload your
.gcode
file to your SD card using the GRBL ESP32 webUI. - Run
- Upload your
Feel free to fork this for your own needs.