Thu, 23 Aug 2018 12:32:26 +0200
SVG gcode generator: interpret color style if present
16 | 1 | """G-code emitted at the start of processing the SVG file""" |
2 | preamble = "G28\nG1 Z5.0" | |
3 | ||
4 | """G-code emitted at the end of processing the SVG file""" | |
5 | postamble = "G28" | |
6 | ||
7 | """G-code emitted before processing a SVG shape""" | |
8 | shape_preamble = "G4 P200" | |
9 | ||
10 | """G-code emitted after processing a SVG shape""" | |
11 | shape_postamble = "G4 P200" | |
12 | ||
13 | """Print bed width in mm""" | |
14 | bed_max_x = 200 | |
15 | ||
16 | """Print bed height in mm""" | |
17 | bed_max_y = 200 | |
18 | ||
19 | """ | |
20 | Used to control the smoothness/sharpness of the curves. | |
21 | Smaller the value greater the sharpness. Make sure the | |
22 | value is greater than 0.1 | |
23 | """ | |
24 | smoothness = 0.2 | |
25 | ||
26 |