summaryrefslogtreecommitdiff
path: root/templates/knockdown_fill.xml
blob: 4e6d2ae0743e3a113e666dce46b96fbbcb98d94f (plain)
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
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
    <name>Selection to Knockdown Fill</name>
    <id>org.{{ id_inkstitch }}.knockdown_fill</id>
    <param name="extension" type="string" gui-hidden="true">knockdown_fill</param>
    <effect>
        <object-type>all</object-type>
        <icon>{{ icon_path }}inx/fill_knockdown.svg</icon>
        <menu-tip>Generates a knockdown stitch with a specified offset around selection</menu-tip>
        <effects-menu>
            <submenu name="{{ menu_inkstitch }}" translatable="no">
                <submenu name="Tools: Fill" />
            </submenu>
        </effects-menu>
    </effect>
    <param name="notebook" type="notebook">
      <page name="options" gui-text="Options">
        <param name="keep-holes" type="bool" gui-text="Keep holes">true</param>
        <param name="offset" type="float" gui-text="Offset" min="-50" max="50">1</param>
        <param name="join-style" type="optiongroup" appearance="combo" gui-text="Join style">
           <option value="1">Round</option>
           <option value="2">Mitre</option>
           <option value="3">Bevel</option>
        </param>
        <param name="mitre-limit" type="float" gui-text="Mitre limit" min="0.1" max="50">5.0</param>
        <spacer />
        <separator />
        <spacer />
      </page>
      <page name="embossing" gui-text="Embossing">
        <param name="shape" type="optiongroup" appearance="combo" gui-text="Shape">
           <option value="">None</option>
           <option value="rect">Rectangle</option>
           <option value="circle">Circle</option>
        </param>
        <param name="shape-offset" type="float" gui-text="Shape offset" min="0" max="50">1</param>
        <param name="shape-join-style" type="optiongroup" appearance="combo" gui-text="Join style">
           <option value="1">Round</option>
           <option value="2">Mitre</option>
           <option value="3">Bevel</option>
        </param>
      </page>
      <page name="info" gui-text="Help">
        <label appearance="header">This extension generates a knockdown fill area with a specified offset around selected elements.</label>
        <label>* Select elements of any kind</label>
        <label>* Open this extension and apply with desired settings</label>
        <label>* Adapt fill settings in the params dialog</label>
        <spacer />
        <label>More information on our website</label>
        <label appearance="url">https://inkstitch.org/docs/fill-tools/#knockdown-fill</label>
      </page>
    </param>
    <script>
        {{ command_tag | safe }}
    </script>
</inkscape-extension>