-
Notifications
You must be signed in to change notification settings - Fork 6
/
lace_ground.inx
76 lines (69 loc) · 3.66 KB
/
lace_ground.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
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Ground from Template</_name>
<id>tesselace.lace_ground</id>
<dependency type="extension">org.inkscape.output.svg.inkscape</dependency>
<dependency type="executable" location="extensions">lace_ground.py</dependency>
<dependency type="executable" location="extensions">inkex</dependency>
<param name="description" type="description" appearance="header" xml:space="preserve">Fill a rectangular patch with a lace ground pattern from selected template file.</param>
<param name="file" type="path" _gui-text="Template file name (full path):" mode="file" filetypes="txt"></param>
<param name="filllabel" type="description" appearance="header">Grid description</param>
<hbox indent="1">
<param name="angle" type="float" precision="1" min="30" max="89" _gui-text="Angle (degrees):">45.0</param>
</hbox>
<hbox indent="1">
<param name="distance" type="float" precision="2" min="0.01" max="1000.0" _gui-text="Distance between footside pins:">5.0</param>
<param name="pinunits" gui-text="" type="optiongroup" appearance="minimal">
<option value="mm">mm</option>
<option value="cm">cm</option>
<option value="in">in</option>
<option value="px">px</option>
<option value="pt">pt</option>
</param>
</hbox>
<param name="filllabel" type="description" appearance="header">Patch description</param>
<hbox indent="1">
<param name="width" type="float" precision="2" min="0.1" max="1000" _gui-text="Width:">50</param>
<param name="patchunits" gui-text="" type="optiongroup" appearance="minimal">
<option value="mm">mm</option>
<option value="cm">cm</option>
<option value="in">in</option>
<option value="px">px</option>
<option value="pt">pt</option>
</param>
</hbox>
<hbox indent="1">
<param name="height" type="float" precision="2" min="0.1" max="1000" _gui-text="Height:">50</param>
</hbox>
<param name="lineheading" type="description" appearance="header">Line Appearance</param>
<hbox indent="1">
<param name="linewidth" type="float" precision="2" min="0.01" max="1000" _gui-text="Width:">1</param>
<param name="lineunits" gui-text="" type="optiongroup" appearance="minimal">
<option value="px">px</option>
<option value="mm">mm</option>
<option value="cm">cm</option>
<option value="in">in</option>
<option value="pt">pt</option>
</param>
</hbox>
<hbox indent="1">
<param name="linecolor" type="color" appearance="colorbutton" _gui-text="Color:">255</param>
</hbox>
<param name="filllabel" type="description" appearance="header">Optional effects</param>
<param name="lineheading" indent="1" type="description" >Random nudges</param>
<hbox indent="2">
<param name="xrand" type="int" min="0" max="50" _gui-text="x: ">0</param>
<param name="label" type="description">%, </param>
<param name="yrand" type="int" min="0" max="50" _gui-text="y: ">0</param>
<param name="label" type="description">%</param>
</hbox>
<effect needs-live-preview="false">
<object-type>all</object-type>
<effects-menu>
<submenu _name="Bobbin Lace"/>
</effects-menu>
</effect>
<script>
<command reldir="extensions" interpreter="python">lace_ground.py</command>
</script>
</inkscape-extension>