svgtogcode

command
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Binary svgtogcode converts an input svg file into gcode for an xy plotter. Apart from the file format conversion, it can scale the image, simplify paths, and sorts them to reduce pen movement.

An example use is:

svgtocode -in drawing.svg -size 270,180 -paper 297,210 -center -penup 35 -out out.gcode -simplify 0.1

Vector arguments, like -size and -paper take a pair of comma-separated values (no spaces). If the -out <file> ends in .svg, the output is in svg format rather than gcode format. All distance measurements are in millimeters.

Directories

Path Synopsis
Package svgtogcode provides the functionality for the svgtocode binary as a library.
Package svgtogcode provides the functionality for the svgtocode binary as a library.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL