-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gcode_generation.inx
37 lines (31 loc) · 1.74 KB
/
Gcode_generation.inx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<id>ZCSW</id>
<_name>Drawing Path</_name>
<dependency type="executable" location="extensions">Gcode_generation.py</dependency>
<param name="pen-move" type="string" _gui-text="Pen Move Command:">M280P0S</param>
<param name="pen-down" type="string" _gui-text="Pen-Down Command:">0</param>
<param name="pen-up" type="string" _gui-text="Pen-Up Command:">45</param>
<param name="pen-speed" type="string" _gui-text="Pen Lift / Drop Speed:">5</param>
<!-- # 1 will be ~45 steps, 5 will be ~10 steps. Higher # ==> faster lift & drop. -->
<param name="travel-speed" type="int" min="0" max="15000" _gui-text="Travel Speed (mm/min or in/min):">3000</param>
<param name="draw-speed" type="int" min="0" max="15000" _gui-text="Draw Speed (mm/min or in/min):">750</param>
<param name="power-delay" type="float" min="0" max="1000" _gui-text="Servo Delay (ms or s):">0</param>
<param name="passes" type="int" min="1" max="100" _gui-text="Passes:">1</param>
<param name="directory" type="string" _gui-text="Directory:"></param>
<param name="filename" type="string" _gui-text="Filename:">output.gcode</param>
<param name="add-numeric-suffix-to-filename" type="boolean" _gui-text="Add numeric suffix to filename">true</param>
<param name="unit" type="enum" _gui-text="All Units (mm or in):">
<item value="G21 (All units in mm)">mm</item>
<item value="G20 (All units in inches)">in</item>
</param>
<effect>
<effects-menu>
<submenu _name="Plotz"/>
</effects-menu>
<object-type>path</object-type>
</effect>
<script>
<command reldir="extensions" interpreter="python">Gcode_generation.py</command>
</script>
</inkscape-extension>