Convert SVG to g-code so that any 3-axis CNC machine can be used as a pen plotter.
Usage: SvgToGcode.exe -i [inFileName.svg] -o [outFileName.nc]
'-f' [optional, default: 3000.0] can be used to set the XY feedrate in mm/min.
'-z' [optional, default: -2.0] can be used to set the z depth to move while drawing, in millimeters.
'-d' [optional, default: 96.0] can be used to set the DPI (dots per inch) to parse the input SVG with.
Example usage: SvgToGcode.exe -i drawing.svg -o drawing.nc -f 3000 -z -2 -d 700
https://youtube.com/shorts/V2YBzGSbVqo?si=Z1P-RreNMJJHu3iK
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
This project and code are provided as-is without warranty. Users assume full responsibility for any implementation or consequences. Use at your own discretion and risk.
