summaryrefslogtreecommitdiff
path: root/templates/stroke_to_lpe_satin.xml
blob: 0147af708c6df77858c88807c4e2baf35be674f8 (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
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
    <name>Stroke to Live Path Effect Satin</name>
    <id>org.{{ id_inkstitch }}.stroke_lpe_satin</id>
    <param name="extension" type="string" gui-hidden="true">stroke_to_lpe_satin</param>
    <param name="lpe_satin" type="notebook">
      <page name="options" gui-text="Options">
        <label>Converts a stroke into a satin stitch with a changeable life path effect.</label>
        <param name="pattern" type="optiongroup" appearance="combo" gui-text="Pattern">
           <option value="normal">Normal</option>
           <option value="pearl">Pearls</option>
           <option value="diamond">Diamonds</option>
           <option value="square">Squares</option>
           <option value="triangle">Triangles</option>
           <option value="wave">Wave</option>
           <option value="arch">Arch</option>
        </param>
        <param name="min-width" type="float" precision="1" min="0" max="100" gui-text="Min Width (mm)">4</param>
        <param name="max-width" type="float" precision="1" min="0" max="100" gui-text="Max Width (mm)">7</param>
        <param name="length" type="float" precision="1" min="0.1" max="100" gui-text="Pattern Length (mm)">15</param>
        <param name="stretched" type="boolean" gui-text="Stretched">false</param>
        <param name="rungs" type="boolean" gui-text="Add rungs">true</param>
        <param name="path-specific" type="boolean" gui-text="Path specific"
               description="When disabled, changes on the path effect will apply to all elements with the same path effect.">true</param>
      </page>
      <page name="info" gui-text="Help">
        <label appearance="header">This extension converts a stroke into a satin column using the path effect "pattern along path".</label>
        <label>* Please note, that the size values can only be an approximation and will be distorted if the original path is not completely straight.</label>
        <label>* You can edit the satin path through the live path effect settings through Path > Path Effects ...</label>
        <label>* If you want to add rungs or change specific parts of the satin, convert it to a normal path with Ctrl + Shift + C</label>
        <spacer />
        <label>Get more information on our website</label>
        <label appearance="url">https://inkstitch.org/docs/satin-tools/#stroke-to-live-path-effect-satin</label>
      </page>
    </param>
    <effect needs-live-preview="false">
        <object-type>all</object-type>
        <icon>{{ icon_path }}inx/to_satin.svg</icon>
        <effects-menu>
            <submenu name="{{ menu_inkstitch }}" translatable="no">
                <submenu name="Tools: Satin" />
            </submenu>
        </effects-menu>
    </effect>
    <script>
        {{ command_tag | safe }}
    </script>
</inkscape-extension>