-
Notifications
You must be signed in to change notification settings - Fork 48
/
boxmaker.inx
executable file
·104 lines (91 loc) · 4.14 KB
/
boxmaker.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>CNC Tabbed Box Maker</_name>
<id>nz.paulh-rnd.tabbedboxmaker</id>
<hbox>
<vbox>
<label>Dimensions</label>
<separator/>
<param name="unit" _gui-text=" Units" type="optiongroup" appearance="combo">
<option value="mm">mm</option>
<option value="cm">cm</option>
<option value="in">in</option>
</param>
<param name="inside" type="optiongroup" _gui-text=" Box Dimensions" appearance="combo">
<_option value="1">Inside</_option>
<_option value="0">Outside</_option>
</param>
<param name="length" type="float" precision="3" min="0.0" max="10000.0" _gui-text=" Length">180</param>
<param name="width" type="float" precision="3" min="0.0" max="10000.0" _gui-text=" Width">240</param>
<param name="depth" type="float" precision="3" min="0.0" max="10000.0" _gui-text=" Height">50</param>
<spacer/>
<label>Tabs</label>
<separator/>
<param name="equal" type="optiongroup" _gui-text=" Width">
<_option value="0">Fixed</_option>
<_option value="1">Proportional</_option>
</param>
<param name="tab" type="float" precision="2" min="0.0" max="10000.0" _gui-text=" Min/Preferred Width">6.0</param>
<param name="tabtype" type="optiongroup" _gui-text=" Type" appearance="combo">
<_option value="0">Regular (Laser)</_option>
<_option value="1">Dogbone (Mill)</_option>
</param>
<param name="tabsymmetry" type="optiongroup" _gui-text=" Symmetry" appearance="combo">
<_option value="0">XY Symmetric</_option>
<_option value="1">Rotate Symmetric</_option>
<!--_option value="2">Antisymmetric</_option-->
</param>
<param name="dimpleheight" type="float" precision="2" min="0.0" max="10000.0"
_gui-text=" Dimple Height">0.0</param>
<param name="dimplelength" type="float" precision="2" min="0.0" max="10000.0"
_gui-text=" Dimple Length">0.0</param>
</vbox>
<spacer/>
<separator/>
<spacer/>
<vbox>
<label>Line and kerf</label>
<separator/>
<param name="hairline" type="optiongroup" _gui-text=" Line Thickness" appearance="combo">
<_option value="0">Default</_option>
<_option value="1">Hairline (0.002" for Epilog)</_option>
</param>
<param name="thickness" type="float" precision="2" min="0.0" max="10000.0" _gui-text=" Material Thickness">3.0</param>
<param name="kerf" type="float" precision="3" min="0.0" max="10000.0" _gui-text=" Kerf (cut width)">0.1</param>
<spacer/>
<label>Layout</label>
<separator/>
<param name="style" _gui-text=" Layout" type="optiongroup" appearance="combo">
<option value="1">Diagramatic</option>
<option value="2">3 piece</option>
<option value="3">Inline(compact)</option>
</param>
<param name="boxtype" _gui-text=" Box Type" type="optiongroup" appearance="combo">
<option value="1">Fully enclosed</option>
<option value="2">One side open (LxW)</option>
<option value="3">Two sides open (LxW and LxH)</option>
<option value="4">Three sides open (LxW, LxH, HxW)</option>
<option value="5">Opposite ends open (LxW)</option>
<option value="6">Two panels only (LxW and LxH)</option>
</param>
<param name="div_l" type="int" min="0" max="20" _gui-text=" Dividers (Length axis)">2</param>
<param name="div_w" type="int" min="0" max="20" _gui-text=" Dividers (Width axis)">3</param>
<param name="keydiv" _gui-text=" Key the dividers into" type="optiongroup" appearance="combo">
<option value="3">None</option>
<option value="2">Walls</option>
<option value="1">Floor / Ceiling</option>
<option value="0">All sides</option>
</param>
<param name="spacing" type="float" precision="2" min="0.0" max="10000.0" _gui-text=" Space Between Parts">1.0</param>
</vbox>
</hbox>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu _name="CNC Tools" />
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">boxmaker.py</command>
</script>
</inkscape-extension>