summaryrefslogtreecommitdiff
path: root/templates/zigzag_line_to_satin.xml
blob: b57baabb2d58fee434470db90ad6fdf9c3c3600c (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
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
    <name>Zig-Zag Line to Satin</name>
    <id>org.inkstitch.zigzag_line_to_satin</id>
    <param name="extension" type="string" gui-hidden="true">zigzag_line_to_satin</param>
    <param name="zigzag_to_satin" type="notebook">
      <page name="options" gui-text="Options">
        <label>Converts a zigzag line into a satin column.</label>
        <param name="pattern" type="optiongroup" appearance="combo" gui-text="Line Pattern">
           <option value="square">Square</option>
           <option value="sawtooth">Sawtooth</option>
           <option value="zigzag">Zigzag</option>
        </param>
        <param name="smoothing" type="boolean" gui-text="Smoothing">true</param> 
        <param name="rungs" type="boolean" gui-text="Add rungs">true</param>
        <param indent="1" name="reduce-rungs" type="boolean" gui-text="Reduce number of rungs">false</param>
      </page>
      <page name="info" gui-text="Help">
        <label appearance="header">This extension converts a zigzag line into a satin column.</label>
        <spacer />
        <label appearance="header">Line Pattern</label>
        <label> Always start and end with a rung.</label>
        <spacer />
        <label>Square: |_|▔|_|▔|</label>
        <label>Sawtooth: |\|\|\|</label>
        <label>Zigzag: |\/\/\/|</label>
        <spacer />
        <label>Get more information on our website</label>
        <label appearance="url">https://inkstitch.org/docs/satin-tools/#zigzag-line-to-satin</label>
      </page>
    </param>
    <effect>
        <object-type>all</object-type>
        <effects-menu>
            <submenu name="Ink/Stitch" translatable="no">
                <submenu name="Tools: Satin" />
            </submenu>
        </effects-menu>
    </effect>
    <script>
        {{ command_tag | safe }}
    </script>
</inkscape-extension>