# svg2gcode **Repository Path**: mirrors_schollz/svg2gcode ## Basic Information - **Project Name**: svg2gcode - **Description**: Converts svg to gcode for pen plotters - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2022-04-09 - **Last Updated**: 2026-02-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # svg2gcode Converts svg to gcode for pen plotters. Read more about it on [my blog](https://schollz.com/blog/one-line/). ## Requirements (optional) If you want to convert a image to an svg, you will need imagemagick and autotrace. ```bash 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](https://github.com/scottvr/autotrace-win64-binaries/tree/master/bin)). ## Usage ``` git clone https://github.com/schollz/svg2gcode cd svg2gcode make camel.gcode ``` ## Other similar repos - https://github.com/mnk343/Single-Line-Portrait-Drawing - https://github.com/davekch/linerizer - https://github.com/javierbyte/pintr