svg2gcode

Converts svg to gcode for pen plotters. Read more about it on my blog.

Requirements (optional)

If you want to convert a image to an svg, you will need imagemagick and autotrace.

sudo apt update
sudo apt install intltool imagemagick libmagickcore-dev pstoedit libpstoedit-dev autopoint

git clone https://github.com/autotrace/autotrace.git
cd autotrace
./autogen.sh
LD_LIBRARY_PATH=/usr/local/lib ./configure --prefix=/usr
make
sudo make install

(Windows users an just download autotrace from here).

Usage

git clone https://github.com/schollz/svg2gcode
cd svg2gcode
make camel.gcode

Other similar repos

GitHub

View Github