forked from paulh-rnd/TabbedBoxMaker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschroff.inx
More file actions
93 lines (86 loc) · 5.33 KB
/
schroff.inx
File metadata and controls
93 lines (86 loc) · 5.33 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Create Schroff Box</name>
<id>net.ampscm.tabbedboxmaker.schroff</id>
<param name="inkscape" type="string" gui-hidden="true">true</param>
<param name="unit" type="string" gui-hidden="true">mm</param>
<param name="_page" type="notebook">
<page name="Options" gui-text="Options">
<hbox>
<vbox>
<label appearance="header">Dimensions</label>
<separator/>
<param name="rows" type="int" min="1" max="6" gui-text="Number of 3U rows:">1</param>
<param name="hp" type="int" min="4" max="168" gui-text="Width (TE/HP units):">84</param>
<param name="depth" type="float" precision="3" min="30" max="300" gui-text="Depth:">65</param>
<param name="thickness" type="float" precision="2" min="0.0" max="10000.0" gui-text="Material Thickness">3.0</param>
<!-- these defaults are suitable for the rails sold by Elby Designs -->
<param name="rail_height" type="float" precision="3" min="7.0" max="10.0" gui-text="Rail height:">10.0</param>
<param name="rail_mount_depth" type="float" precision="3" min="5" max="30" gui-text="Rail mounting hole depth:">17.4</param>
<param name="rail_mount_centre_offset" type="float" precision="3" min="0.0" max="5.0" gui-text="Rail mount hole centre-offset:">0.0</param>
<param name="row_spacing" type="float" precision="3" min="0.0" max="50.0" gui-text="Spacing between rows:">0.0</param>
<param name="tab" type="float" precision="2" min="0.0" max="10000.0" gui-text="Minimum/Prefered Tab Width">6.0</param>
<param name="equal" type="optiongroup" gui-text="Tab Width">
<option value="0">Fixed</option>
<option value="1">Proportional</option>
</param>
</vbox>
<spacer/>
<separator/>
<spacer/>
<vbox>
<label appearance="header">Line and kerf</label>
<separator/>
<param name="hairline" type="optiongroup" gui-text="Line Type" appearance="radio">
<option value="True" selected="True">Hairline</option>
<option value="False">Custom</option>
</param>
<param name="line-thickness" type="float" precision="3" min="0.0" max="100.0" gui-text="Custom Thickness">0.1</param>
<param name="line-color" type="optiongroup" gui-text="Line Color" appearance="combo">
<option value="black" selected="true">Black</option>
<option value="red">Red</option>
<option value="green">Green</option>
<option value="blue">Blue</option>
</param>
<spacer />
<spacer />
<label appearance="header">Cutting settings</label>
<separator/>
<param name="tabtype" type="optiongroup" gui-text="Type" appearance="radio">
<option value="0">Regular (Laser)</option>
<option value="1">Dogbone (Mill)</option>
</param>
<param name="kerf" type="float" precision="3" min="0.0" max="10000.0" gui-text="Kerf (cut width)">0.1</param>
<param name="style" type="string" gui-hidden="true">1</param>
<param name="boxtype" type="int" gui-hidden="true">2</param>
<spacer/>
<spacer/>
<label appearance="header">Layout</label>
<separator/>
<param name="spacing" type="float" precision="2" min="0.0" max="10000.0" gui-text="Space Between Parts">1.0</param>
<param name="absolute-positioning" type="boolean" gui-text="Use Absolute Positioning">true</param>
</vbox>
</hbox>
</page>
<page name="About" gui-text="About">
<label appearance="header">Tabbed Box Maker - Schroff Box Maker</label>
<label>Version 2.0.0</label>
<label>https://github.com/ampscm/TabbedBoxMaker/</label>
<label>This plugin is open source software. You are free to use, modify and distribute it under the terms of the GNU General Public License (GPL) version 3 or later.</label>
<spacer/>
<spacer/>
<label>Schroff Box Maker is a customized version of the Tabbed Box Maker Inkscape extension, tailored for creating Schroff-style electronic equipment enclosures.</label>
<spacer/>
<label>The Schroff Box Maker extension was originally developed by John Slee (https://github.com/jsleeio) and integrated in the code by Paul Hutchison.</label>
</page>
</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu _name="Box Maker" />
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">schroff.py</command>
</script>
</inkscape-extension>