summaryrefslogtreecommitdiff
path: root/templates/apply_threadlist.xml
blob: 58776cb5875e3f235c8854d57bad169a430641bc (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
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
    <name>Apply Threadlist</name>
    <id>org.inkstitch.apply_threadlist</id>
    <param name="extension" type="string" gui-hidden="true">apply_threadlist</param>
    <param name="filepath" type="path" gui-text="Choose file" mode="file" filetypes="txt"/>
    <param name="method" type="optiongroup" gui-text="Choose method">
       <option value="1">Apply Ink/Stitch threadlist</option>
       <option value="2">Apply other threadlist*</option>
    </param>
    <param name="palette" type="enum" gui-text="*Choose color palette">
    {%- for item in threadcatalog %}
       <item value="{{ item }}">{{ item }}</item>
    {%- endfor %}
    </param>
    <effect>
        <object-type>all</object-type>
        <effects-menu>
            <submenu name="Ink/Stitch" translatable="no">
                <submenu name="Thread Color Management" />
            </submenu>
        </effects-menu>
    </effect>
    <script>
        {{ command_tag | safe }}
    </script>
</inkscape-extension>