-
Notifications
You must be signed in to change notification settings - Fork 0
/
laser.inx
43 lines (41 loc) · 2.48 KB
/
laser.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
38
39
40
41
42
43
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Generateur Gcode Laser mode chemin</_name>
<id>jtechphotonics.com</id>
<dependency type="executable" location="extensions">laser.py</dependency>
<dependency type="executable" location="extensions">inkex.py</dependency>
<param name="tab" type="notebook">
<page name="Bases" _gui-text="Bases">
<param name="GRBL-auto-laser" type="boolean" _gui-text="Laser options activate in GRBL">true</param>
<param name="laser-on-command" type="string" _gui-text="Laser ON Command:">M03</param>
<param name="laser-off-command" type="string" _gui-text="Laser OFF Command:">M05</param>
<param name="travel-speed" type="int" min="0" max="10000" _gui-text="Travel Speed (mm/min or in/min):">3000</param>
<param name="laser-speed" type="int" min="0" max="10000" _gui-text="Laser Speed (mm/min or in/min):">750</param>
<param name="laser-power" type="int" min="0" max="20000" _gui-text="Laser Power S# (0-255 or 0-12000):">255</param>
<param name="stroke-power" type="boolean" _gui-text="stroke-width power %">true</param>
<param name="filename" type="string" _gui-text="Filename:">output.gcode</param>
</page>
<page name="Options" _gui-text="Options">
<param name="directory" type="string" _gui-text="Directory:"></param>
<param name="add-numeric-suffix-to-filename" type="boolean" _gui-text="Add numeric suffix to filename">true</param>
<param name="power-delay" type="float" min="0" max="1000" _gui-text="Power-On Delay (s,ms):">0</param>
<param name="passes" type="int" min="1" max="100" _gui-text="Passes:">1</param>
<param name="red-for-passes" type="boolean" _gui-text="nbr of passe with red stroke">true</param>
<param name="pass-depth" type="float" min="0" max="10" _gui-text="Pass Depth (mm or in):">1</param>
<param name="green-for-invisible" type="boolean" _gui-text="green stroke is invisible for laser">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>
</page>
</param>
<effect>
<effects-menu>
<submenu _name="Generateur Gcode Laser"/>
</effects-menu>
<object-type>path</object-type>
</effect>
<script>
<command reldir="extensions" interpreter="python">laser.py</command>
</script>
</inkscape-extension>