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
10 months ago
test_data basic gcode simulator 10 months ago
basic gcode simulator 10 months ago
.gitignore Initial commit 10 months ago
LICENSE Initial commit 10 months ago
README.md support svg's with negative coordinates 10 months ago
__init__.py inital default 10 months ago
bezmisc.py cleanup 10 months ago
config.py config class and support for feedrate and moverate 10 months ago
cspsubdiv.py cleanup 10 months ago
cubicsuperpath.py cleanup 10 months ago
ffgeom.py cleanup 10 months ago
gcode_simulator.py added scrolling and zoom in simulator 10 months ago
shapes.py cleanup 10 months ago
simplepath.py cleanup 10 months ago
simpletransform.py cleanup 10 months ago
svg2gcode.code-workspace inital default 10 months ago
svg2gcode.py support svg's with negative coordinates 10 months 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