feat: add svg to gcode parser

This commit is contained in:
2025-05-28 21:45:38 +02:00
parent 52083735c7
commit 6cbf749e78
4 changed files with 40 additions and 1 deletions

12
config.toml Normal file
View File

@@ -0,0 +1,12 @@
[gwrite.hp7044b]
unit = "mm"
document_start = "(document_start)\n"
layer_start = "(Start Layer)\n"
line_start = "(Start Block)\n"
segment_first = """G00 Z5
G00 X{x:.4f}f Y{y:.4f} Z1
"""
segment = """G01 X{x:.4f} Y{y:.4f} Z-1\n"""
line_end = """G00 Z 5.0000\n"""
document_end = """G00 X0.0000 Y0.0000"""
invert_y = true