Convert vector images (SVG) to gcode for usage with a laser plotter.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Hendrik Schutter 14a099c3e4 added scrolling and zoom in simulator 2 weeks ago
test_data basic gcode simulator 2 weeks ago
basic gcode simulator 2 weeks ago
.gitignore Initial commit 3 weeks ago
LICENSE Initial commit 3 weeks ago
README.md support svg's with negative coordinates 3 weeks ago
__init__.py inital default 3 weeks ago
bezmisc.py cleanup 3 weeks ago
config.py config class and support for feedrate and moverate 3 weeks ago
cspsubdiv.py cleanup 3 weeks ago
cubicsuperpath.py cleanup 3 weeks ago
ffgeom.py cleanup 3 weeks ago
gcode_simulator.py added scrolling and zoom in simulator 2 weeks ago
shapes.py cleanup 3 weeks ago
simplepath.py cleanup 3 weeks ago
simpletransform.py cleanup 3 weeks ago
svg2gcode.code-workspace inital default 3 weeks ago
svg2gcode.py support svg's with negative coordinates 3 weeks ago

README.md

svg2gcode

Convert vector images (SVG) to gcode for usage with a laser plotter.

Based on the vector to gcode implementation from Vishal Patil

Requirements

pip install inkex

Usage

clear && cat test_data/10mmx10mm.svg | python3 svg2gcode.py > test_data/test.gcode

Fix for Pronterface

nano /usr/lib64/python3.8/site-packages/printrun/gl/libtatlin/actors.py replace content in lines 442 to 447 with:

        prev_move_normal_x = 0
        prev_move_normal_y = 0
        prev_move_angle = 0
        prev_pos = (0, 0, 0)
        prev_gline = None
        layer_idx = 0

Du besuchst diese Seite mit einem veralteten IPv4-Internetzugang. Möglicherweise treten in Zukunft Probleme mit der Erreichbarkeit und Performance auf. Bitte frage deinen Internetanbieter oder Netzwerkadministrator nach IPv6-Unterstützung.
You are visiting this site with an outdated IPv4 internet access. You may experience problems with accessibility and performance in the future. Please ask your ISP or network administrator for IPv6 support.
Weitere Infos | More Information
Klicke zum schließen | Click to close