blob: ca697752ce6a8e43d6c135e305b53ed61660a08e (
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
|
<?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.{{ id_inkstitch }}.apply_threadlist</id>
<param name="extension" type="string" gui-hidden="true">apply_threadlist</param>
<param name="options" type="notebook">
<page name="options" gui-text="Options">
<param name="filepath" type="path" gui-text="Choose file" mode="file" filetypes="txt,edr,col,inf"/>
<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>
</page>
<page name="info" gui-text="Help">
<label appearance="header">This extension applies colors from a color file to the objects in this document.</label>
<label>COL, INF, EDR</label>
<label indent="2">Select the file and apply. The chosen method is not important for these file types.</label>
<spacer />
<label>TXT</label>
<label indent="2">Import an Ink/Stitch threadlist file (created through the zip export option).</label>
<spacer />
<label indent="2">Import any other Threadlist file in txt format. Ink/Stitch will try to match the colors to the selected thread palette.
The objects in this document will be colored accordingly if color matching has been successful.</label>
<spacer />
<label>Get more information on our website</label>
<label appearance="url">https://inkstitch.org/docs/thread-color/#apply-threadlist</label>
</page>
</param>
<effect>
<object-type>all</object-type>
<icon>{{ icon_path }}inx/color_management.svg</icon>
<menu-tip>Applies colors from a specified color file onto the objects in this document.</menu-tip>
<effects-menu>
<submenu name="{{ menu_inkstitch }}" translatable="no">
<submenu name="Thread Color Management" />
</submenu>
</effects-menu>
</effect>
<script>
{{ command_tag | safe }}
</script>
</inkscape-extension>
|