kopia lustrzana https://github.com/inkstitch/inkstitch
Merge pull request #2715 from inkstitch/kgn/inkstitch-multiversion-support
Kgn/inkstitch multiversion supportpull/2719/head
commit
e64737382c
3
Makefile
3
Makefile
|
@ -17,8 +17,7 @@ manual:
|
|||
|
||||
.PHONY: inx
|
||||
inx: version locales
|
||||
mkdir -p inx
|
||||
python bin/generate-inx-files; \
|
||||
python bin/generate-inx-files;
|
||||
|
||||
.PHONY: messages.po
|
||||
messages.po: inx
|
||||
|
|
|
@ -1,19 +1,73 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
# Implemented support for multiple diverse versions of Inkstitch extensions in Inkscape.
|
||||
# - useful for testing and development
|
||||
# - useful for comparing different versions of Inkstitch
|
||||
|
||||
|
||||
# this script generates inx files in inx/ directory from xml templates in templates/ directory
|
||||
# - added support for alternative id registration and menu names for Inkscape extensions
|
||||
# - each xml template should be modified to use the new id_inkstitch and menu_inkstitch:
|
||||
# <id>org.inkstitch.....</id> ---> <id>org.{{ id_inkstitch }}.....</id>
|
||||
# <submenu name="Ink/Stitch" ---> <submenu name="{{ menu_inkstitch }}"
|
||||
# or input/output xml template should be modified to use the filetypename:
|
||||
# <filetypename>Ink/Stitch:... ---> <filetypename>{{ menu_inkstitch }}:...
|
||||
|
||||
|
||||
# Here's an example of how to use two Inkstitch extensions:
|
||||
# - install Inkstitch in two different locations (e.g. inkstitch and inkstitch-k)
|
||||
# - check out the Inkstitch repository in two different locations
|
||||
# - ensure 'make inx' is executed in both locations
|
||||
# - this will generate also inx/locale/ files
|
||||
# - generate modified inx files for second location
|
||||
# - in the second location:
|
||||
# > generate-inx-files -a k
|
||||
# - install the inx files in Inkscape extensions directory
|
||||
# - symlink .config/inkscape/extensions/inkstitch -> inkstitch
|
||||
# - symlink .config/inkscape/extensions/inkstitch-k -> inkstitch-k
|
||||
# - modify .config/inkscape/keys/default.xml if necessary
|
||||
# - run Inkscape with both Inkstitch extensions enabled
|
||||
# - first version: Extensions > Ink/Stitch
|
||||
# - second version: Extensions > Ink/Stitch-k
|
||||
|
||||
import sys
|
||||
import os
|
||||
from os.path import dirname
|
||||
from pathlib import Path
|
||||
import argparse
|
||||
|
||||
# add inkstitch libs to python path
|
||||
parent_dir = os.path.join(dirname(dirname(__file__)))
|
||||
sys.path.append(parent_dir)
|
||||
# add inkstitch lib dir to python path
|
||||
parent_dir = Path(__file__).resolve().parents[1]
|
||||
sys.path.append(str(parent_dir)) # we need import from lib/ directory
|
||||
|
||||
# try find add inkex.py et al. as well
|
||||
sys.path.append(os.path.join(parent_dir, "inkscape", "share", "extensions"))
|
||||
sys.path.append(os.path.join("/usr/share/inkscape/extensions"))
|
||||
# default inkex.py location on macOS
|
||||
sys.path.append("/Applications/Inkscape.app/Contents/Resources/share/inkscape/extensions/")
|
||||
# find inkex module
|
||||
try:
|
||||
import inkex # if it is already in the path, do nothing
|
||||
except ImportError: # if not, add inkscape version
|
||||
import subprocess
|
||||
inkscape_path = 'inkscape'
|
||||
# for now assume inkscape is in the path and raise an error if inkscape is not in the path
|
||||
system_path = subprocess.run([inkscape_path, "--system-data-directory"], capture_output=True, text=True).stdout.strip()
|
||||
inkex_path = os.path.join(system_path, "extensions")
|
||||
sys.path.append(inkex_path)
|
||||
|
||||
from lib.inx import generate_inx_files
|
||||
# possible last attempt to import inkex may be as follows:
|
||||
# sys.path.append(os.path.join("/usr/share/inkscape/extensions"))
|
||||
# default inkex.py location on macOS
|
||||
# sys.path.append("/Applications/Inkscape.app/Contents/Resources/share/inkscape/extensions/")
|
||||
|
||||
generate_inx_files()
|
||||
|
||||
from lib.inx.generate import generate_inx_files
|
||||
|
||||
# parse arguments
|
||||
# -a, --alter letter a-z: generate inx files for the given alter
|
||||
parser = argparse.ArgumentParser(description='Generate INX files, supporting multiple active inkstitch extensions in inkscape.')
|
||||
parser.add_argument('-a', '--alter', type=str, help='Letter a-z representing the alter')
|
||||
args = parser.parse_args()
|
||||
|
||||
# print(f"generate_inx_files: alter={args.alter}")
|
||||
|
||||
inx_path = parent_dir / "inx"
|
||||
inx_path.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
# if -a is not given, args.alter is None - not alternative inx, but generate default inx
|
||||
generate_inx_files(args.alter)
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
# Authors: see git history
|
||||
#
|
||||
# Copyright (c) 2010 Authors
|
||||
# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details.
|
||||
|
||||
from .generate import generate_inx_files
|
|
@ -1,12 +0,0 @@
|
|||
# Authors: see git history
|
||||
#
|
||||
# Copyright (c) 2010 Authors
|
||||
# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details.
|
||||
|
||||
from .utils import build_environment, write_inx_file
|
||||
|
||||
|
||||
def generate_about_inx_file():
|
||||
env = build_environment()
|
||||
template = env.get_template('about.xml')
|
||||
write_inx_file("about", template.render())
|
|
@ -40,7 +40,7 @@ def threadcatalog():
|
|||
return threadcatalog
|
||||
|
||||
|
||||
def generate_extension_inx_files():
|
||||
def generate_extension_inx_files(alter_data):
|
||||
env = build_environment()
|
||||
|
||||
for extension in extensions:
|
||||
|
@ -48,8 +48,9 @@ def generate_extension_inx_files():
|
|||
continue
|
||||
|
||||
name = extension.name()
|
||||
template = env.get_template('%s.xml' % name)
|
||||
write_inx_file(name, template.render(formats=pyembroidery_output_formats(),
|
||||
template = env.get_template(f'{name}.xml')
|
||||
write_inx_file(name, template.render(alter_data,
|
||||
formats=pyembroidery_output_formats(),
|
||||
debug_formats=pyembroidery_debug_formats(),
|
||||
threadcatalog=threadcatalog(),
|
||||
font_categories=FONT_CATEGORIES,
|
||||
|
|
|
@ -9,8 +9,27 @@ from .inputs import generate_input_inx_files
|
|||
from .outputs import generate_output_inx_files
|
||||
|
||||
|
||||
def generate_inx_files():
|
||||
generate_input_inx_files()
|
||||
generate_output_inx_files()
|
||||
generate_extension_inx_files()
|
||||
generate_info_inx_files()
|
||||
def generate_inx_files(alter=None):
|
||||
if alter is not None:
|
||||
# Ensure the alter is lowercase and string a-z and one letter long
|
||||
if len(alter) != 1 or not alter[0].isalpha() or not alter[0].islower(): # error
|
||||
raise ValueError(f"Invalid alter '{alter}' for inx files, must be a single letter a-z.")
|
||||
|
||||
if alter is None:
|
||||
id_inkstitch = "inkstitch"
|
||||
menu_inkstitch = "Ink/Stitch"
|
||||
else:
|
||||
id_inkstitch = f"{alter}-inkstitch"
|
||||
menu_inkstitch = f"Ink/Stitch-{alter}"
|
||||
|
||||
# print(f"generate_inx_files: id_inkstitch={id_inkstitch}, menu_inkstitch={menu_inkstitch}")
|
||||
|
||||
alter_data = {
|
||||
'id_inkstitch': id_inkstitch,
|
||||
'menu_inkstitch': menu_inkstitch,
|
||||
}
|
||||
|
||||
generate_input_inx_files(alter_data)
|
||||
generate_output_inx_files(alter_data)
|
||||
generate_extension_inx_files(alter_data)
|
||||
generate_info_inx_files(alter_data)
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
from .utils import build_environment, write_inx_file
|
||||
|
||||
|
||||
def generate_info_inx_files():
|
||||
def generate_info_inx_files(alter_data):
|
||||
env = build_environment()
|
||||
info_inx_files = ['about', 'embroider']
|
||||
for info in info_inx_files:
|
||||
template = env.get_template('%s.xml' % info)
|
||||
write_inx_file(info, template.render())
|
||||
template = env.get_template(f'{info}.xml')
|
||||
write_inx_file(info, template.render(alter_data))
|
||||
|
|
|
@ -14,10 +14,10 @@ def pyembroidery_input_formats():
|
|||
yield format['extension'], format['description']
|
||||
|
||||
|
||||
def generate_input_inx_files():
|
||||
def generate_input_inx_files(alter_data):
|
||||
env = build_environment()
|
||||
template = env.get_template('input.xml')
|
||||
|
||||
for format, description in pyembroidery_input_formats():
|
||||
name = "input_%s" % format.upper()
|
||||
write_inx_file(name, template.render(format=format, description=description))
|
||||
name = f"input_{format.upper()}"
|
||||
write_inx_file(name, template.render(alter_data, format=format, description=description))
|
||||
|
|
|
@ -23,10 +23,10 @@ def pyembroidery_output_formats():
|
|||
yield format['extension'], description, format['mimetype'], format['category']
|
||||
|
||||
|
||||
def generate_output_inx_files():
|
||||
def generate_output_inx_files(alter_data):
|
||||
env = build_environment()
|
||||
template = env.get_template('output.xml')
|
||||
|
||||
for format, description, mimetype, category in pyembroidery_output_formats():
|
||||
name = "output_%s" % format.upper()
|
||||
write_inx_file(name, template.render(format=format, mimetype=mimetype, description=description))
|
||||
name = f"output_{format.upper()}"
|
||||
write_inx_file(name, template.render(alter_data, format=format, mimetype=mimetype, description=description))
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>About</name>
|
||||
<id>org.inkstitch.about</id>
|
||||
<id>org.{{ id_inkstitch }}.about</id>
|
||||
<param type="notebook" name="about-tabs" indent="1">
|
||||
<page name="about" gui-text="About">
|
||||
<image>{{ image_path }}inkstitch_colour_logo.svg</image>
|
||||
|
@ -21,7 +21,7 @@
|
|||
<effect needs-live-preview="false" needs-document="false">
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
</effect>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?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>
|
||||
<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">
|
||||
|
@ -34,7 +34,7 @@
|
|||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Thread Color Management" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Auto-Route Running Stitch</name>
|
||||
<id>org.inkstitch.auto_run</id>
|
||||
<id>org.{{ id_inkstitch }}.auto_run</id>
|
||||
<param name="extension" type="string" gui-hidden="true">auto_run</param>
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Tools: Stroke" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Auto-Route Satin Columns</name>
|
||||
<id>org.inkstitch.auto_satin</id>
|
||||
<id>org.{{ id_inkstitch }}.auto_satin</id>
|
||||
<param name="trim" type="boolean" gui-text="Trim jump stitches">true</param>
|
||||
<param name="preserve_order" type="boolean" gui-text="Preserve order of satin columns">false</param>
|
||||
<param name="extension" type="string" gui-hidden="true">auto_satin</param>
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Tools: Satin" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Break Apart Fill Objects</name>
|
||||
<id>org.inkstitch.break_apart</id>
|
||||
<id>org.{{ id_inkstitch }}.break_apart</id>
|
||||
<param name="extension" type="string" gui-hidden="true">break_apart</param>
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Tools: Fill" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Cleanup Document</name>
|
||||
<id>org.inkstitch.cleanup</id>
|
||||
<id>org.{{ id_inkstitch }}.cleanup</id>
|
||||
<label>Use this extension to remove small objects from the document.</label>
|
||||
<param name="rm_fill" type="boolean" gui-text="Remove Small Fill Areas"
|
||||
gui-description="Removes areas smaller than defined by threshold.">true</param>
|
||||
|
@ -19,7 +19,7 @@
|
|||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Troubleshoot" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Scale Command Symbols</name>
|
||||
<id>org.inkstitch.commands_scale_symbols</id>
|
||||
<id>org.{{ id_inkstitch }}.commands_scale_symbols</id>
|
||||
<param name="extension" type="string" gui-hidden="true">commands_scale_symbols</param>
|
||||
<param name="size" type="float" precision="1" min="0" max="2" gui-text="Size" appearance="full">1.0</param>
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Commands">
|
||||
<submenu name="View" />
|
||||
</submenu>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Convert Line to Satin</name>
|
||||
<id>org.inkstitch.convert_to_satin</id>
|
||||
<id>org.{{ id_inkstitch }}.convert_to_satin</id>
|
||||
<param name="extension" type="string" gui-hidden="true">convert_to_satin</param>
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Tools: Satin" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Convert Satin to Stroke</name>
|
||||
<id>org.inkstitch.convert_to_stroke</id>
|
||||
<id>org.{{ id_inkstitch }}.convert_to_stroke</id>
|
||||
<param name="extension" type="string" gui-hidden="true">convert_to_stroke</param>
|
||||
<label>Converts a satin column into a running stitch.</label>
|
||||
<param name="keep_satin" type="boolean" gui-text="Keep satin column"
|
||||
|
@ -9,7 +9,7 @@
|
|||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Tools: Stroke" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Cut Satin Column</name>
|
||||
<id>org.inkstitch.cut_satin</id>
|
||||
<id>org.{{ id_inkstitch }}.cut_satin</id>
|
||||
<param name="extension" type="string" gui-hidden="true">cut_satin</param>
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Tools: Satin" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Cutwork segmentation</name>
|
||||
<id>org.inkstitch.cutwork_segmentation</id>
|
||||
<id>org.{{ id_inkstitch }}.cutwork_segmentation</id>
|
||||
<param name="extension" type="string" gui-hidden="true">cutwork_segmentation</param>
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no" />
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no" />
|
||||
</effects-menu>
|
||||
</effect>
|
||||
<param name="options" type="notebook">
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Density Map</name>
|
||||
<id>org.inkstitch.density_map</id>
|
||||
<id>org.{{ id_inkstitch }}.density_map</id>
|
||||
<param name="extension" type="string" gui-hidden="true">density_map</param>
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Visualize and Export" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Display stacking order</name>
|
||||
<id>org.inkstitch.display_stacking_order</id>
|
||||
<id>org.{{ id_inkstitch }}.display_stacking_order</id>
|
||||
<param name="extension" type="string" gui-hidden="true">display_stacking_order</param>
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Visualize and Export" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Duplicate Params</name>
|
||||
<id>org.inkstitch.duplicate_params</id>
|
||||
<id>org.{{ id_inkstitch }}.duplicate_params</id>
|
||||
<param name="extension" type="string" gui-hidden="true">duplicate_params</param>
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Edit" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Element Info</name>
|
||||
<id>org.inkstitch.element_info</id>
|
||||
<id>org.{{ id_inkstitch }}.element_info</id>
|
||||
<param name="extension" type="string" gui-hidden="true">element_info</param>
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Troubleshoot" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Embroider</name>
|
||||
<id>org.inkstitch.embroider</id>
|
||||
<id>org.{{ id_inkstitch }}.embroider</id>
|
||||
<label appearance="header">Create a stitch file</label>
|
||||
<label>Save your embroidery file through | File > Save a Copy ... |</label>
|
||||
<label>Choose from listed embroidery file formats and save.</label>
|
||||
|
@ -10,7 +10,7 @@
|
|||
<effect needs-live-preview="false" needs-document="false">
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Visualize and Export" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Fill to Stroke</name>
|
||||
<id>org.inkstitch.fill_to_stroke</id>
|
||||
<id>org.{{ id_inkstitch }}.fill_to_stroke</id>
|
||||
<param name="extension" type="string" gui-hidden="true">fill_to_stroke</param>
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Tools: Stroke" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Flip Satin Column Rails</name>
|
||||
<id>org.inkstitch.flip_satins</id>
|
||||
<id>org.{{ id_inkstitch }}.flip_satins</id>
|
||||
<param name="extension" type="string" gui-hidden="true">flip</param>
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Tools: Satin" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Generate Color Palette</name>
|
||||
<id>org.inkstitch.generate_palette</id>
|
||||
<id>org.{{ id_inkstitch }}.generate_palette</id>
|
||||
<param name="extension" type="string" gui-hidden="true">generate_palette</param>
|
||||
<effect needs-live-preview="false">
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Thread Color Management">
|
||||
<submenu name="Generate Palette"/>
|
||||
</submenu>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Add Commands</name>
|
||||
<id>org.inkstitch.global_commands</id>
|
||||
<id>org.{{ id_inkstitch }}.global_commands</id>
|
||||
<label>These commands affect the entire embroidery design.</label>
|
||||
{% for command, description in global_commands %}
|
||||
<param name="{{ command }}" type="boolean" gui-text="{{ description }}">false</param>
|
||||
|
@ -10,7 +10,7 @@
|
|||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
{# L10N Inkscape submenu under Extensions -> Ink/Stitch #}
|
||||
<submenu name="Commands" />
|
||||
</submenu>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Convert to gradient blocks</name>
|
||||
<id>org.inkstitch.gradient_blocks</id>
|
||||
<id>org.{{ id_inkstitch }}.gradient_blocks</id>
|
||||
<param name="extension" type="string" gui-hidden="true">gradient_blocks</param>
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Tools: Fill" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>{{ format | upper }} file input</name>
|
||||
<id>org.inkstitch.input.{{ format }}</id>
|
||||
<id>org.{{ id_inkstitch }}.input.{{ format }}</id>
|
||||
<input>
|
||||
<extension>.{{ format }}</extension>
|
||||
<mimetype>application/x-embroidery-{{ format }}</mimetype>
|
||||
<filetypename>Ink/Stitch: {{ description }} (.{{ format }})</filetypename>
|
||||
<filetypename>{{ menu_inkstitch }}: {{ description }} (.{{ format }})</filetypename>
|
||||
<filetypetooltip>{{ "convert %(file_extension)s file to Ink/Stitch manual-stitch paths" % dict(file_extension=format.upper()) }}</filetypetooltip>
|
||||
</input>
|
||||
<param name="extension" type="string" gui-hidden="true">input</param>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Install thread color palettes for Inkscape</name>
|
||||
<id>org.inkstitch.install</id>
|
||||
<id>org.{{ id_inkstitch }}.install</id>
|
||||
<param name="extension" type="string" gui-hidden="true">install</param>
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Thread Color Management" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Install custom palette</name>
|
||||
<id>org.inkstitch.install_custom_palette</id>
|
||||
<id>org.{{ id_inkstitch }}.install_custom_palette</id>
|
||||
<param name="extension" type="string" gui-hidden="true">install_custom_palette</param>
|
||||
<label indent="1">Choose a .gpl color palette file to install into Inkscape.</label>
|
||||
<label indent="1">Restart Inkscape to use.</label>
|
||||
|
@ -9,7 +9,7 @@
|
|||
<effect needs-live-preview="false">
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Thread Color Management" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Jump Stitch to Stroke</name>
|
||||
<id>org.inkstitch.jump_to_stroke</id>
|
||||
<id>org.{{ id_inkstitch }}.jump_to_stroke</id>
|
||||
<param name="extension" type="string" gui-hidden="true">jump_to_stroke</param>
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Tools: Stroke" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Add Layer Commands</name>
|
||||
<id>org.inkstitch.layer_commands</id>
|
||||
<id>org.{{ id_inkstitch }}.layer_commands</id>
|
||||
<label>Commands will be added to the currently-selected layer.</label>
|
||||
{% for command, description in layer_commands %}
|
||||
<param name="{{ command }}" type="boolean" gui-text="{{ description }}">false</param>
|
||||
|
@ -10,7 +10,7 @@
|
|||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Commands" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Lettering</name>
|
||||
<id>org.inkstitch.lettering</id>
|
||||
<id>org.{{ id_inkstitch }}.lettering</id>
|
||||
<param name="extension" type="string" gui-hidden="true">lettering</param>
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no" />
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no" />
|
||||
</effects-menu>
|
||||
</effect>
|
||||
<script>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Lettering along path</name>
|
||||
<id>org.inkstitch.lettering_along_path</id>
|
||||
<id>org.{{ id_inkstitch }}.lettering_along_path</id>
|
||||
<param name="extension" type="string" gui-hidden="true">lettering_along_path</param>
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no" />
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no" />
|
||||
</effects-menu>
|
||||
</effect>
|
||||
<param name="options" type="notebook">
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Custom font directory</name>
|
||||
<id>org.inkstitch.lettering_custom_font_dir</id>
|
||||
<id>org.{{ id_inkstitch }}.lettering_custom_font_dir</id>
|
||||
<param name="extension" type="string" gui-hidden="true">lettering_custom_font_dir</param>
|
||||
<effect needs-live-preview="false">
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Font Management" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Force lock stitches</name>
|
||||
<id>org.inkstitch.force_lock_stitches</id>
|
||||
<id>org.{{ id_inkstitch }}.force_lock_stitches</id>
|
||||
<param name="extension" type="string" gui-hidden="true">lettering_force_lock_stitches</param>
|
||||
<effect needs-live-preview="false">
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Font Management" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Generate JSON</name>
|
||||
<id>org.inkstitch.lettering_generate_json</id>
|
||||
<id>org.{{ id_inkstitch }}.lettering_generate_json</id>
|
||||
<param name="extension" type="string" gui-hidden="true">lettering_generate_json</param>
|
||||
<effect needs-live-preview="false">
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Font Management" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Remove Kerning</name>
|
||||
<id>org.inkstitch.lettering_remove_kerning</id>
|
||||
<id>org.{{ id_inkstitch }}.lettering_remove_kerning</id>
|
||||
<param name="extension" type="string" gui-hidden="true">lettering_remove_kerning</param>
|
||||
<effect needs-live-preview="false">
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Font Management" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Update Glyphlist</name>
|
||||
<id>org.inkstitch.lettering_update_json_glyphlist</id>
|
||||
<id>org.{{ id_inkstitch }}.lettering_update_json_glyphlist</id>
|
||||
<param name="extension" type="string" gui-hidden="true">lettering_update_json_glyphlist</param>
|
||||
<effect needs-live-preview="false">
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Font Management" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Letters to font</name>
|
||||
<id>org.inkstitch.letters_to_font</id>
|
||||
<id>org.{{ id_inkstitch }}.letters_to_font</id>
|
||||
<param name="extension" type="string" gui-hidden="true">letters_to_font</param>
|
||||
<effect needs-live-preview="false">
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Font Management" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Attach Commands to Selected Objects</name>
|
||||
<id>org.inkstitch.commands</id>
|
||||
<id>org.{{ id_inkstitch }}.commands</id>
|
||||
{%- for command, description in object_commands -%}
|
||||
<param name="{{ command }}" type="boolean" gui-text="{{ description }}">false</param>
|
||||
{% endfor %}
|
||||
|
@ -9,7 +9,7 @@
|
|||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Commands" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Display|Hide Object Commands</name>
|
||||
<id>org.inkstitch.object_commands_toggle_visibility</id>
|
||||
<id>org.{{ id_inkstitch }}.object_commands_toggle_visibility</id>
|
||||
<param name="extension" type="string" gui-hidden="true">object_commands_toggle_visibility</param>
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Commands">
|
||||
<submenu name="View" />
|
||||
</submenu>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Outline</name>
|
||||
<id>org.inkstitch.outline</id>
|
||||
<id>org.{{ id_inkstitch }}.outline</id>
|
||||
<param name="extension" type="string" gui-hidden="true">outline</param>
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Tools: Stroke" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>{{ format | upper }} file output</name>
|
||||
<id>org.inkstitch.output.{{ format }}</id>
|
||||
<id>org.{{ id_inkstitch }}.output.{{ format }}</id>
|
||||
<output is_exported="true">
|
||||
<extension>.{{ format }}</extension>
|
||||
<mimetype>{{ mimetype }}</mimetype>
|
||||
<filetypename>Ink/Stitch: {{ description }} (.{{ format }})</filetypename>
|
||||
<filetypename>{{ menu_inkstitch }}: {{ description }} (.{{ format }})</filetypename>
|
||||
<filetypetooltip>{{ "Save design in %(file_extension)s format using Ink/Stitch" % dict(file_extension=format.upper()) }}</filetypetooltip>
|
||||
<dataloss>true</dataloss>
|
||||
</output>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Split text</name>
|
||||
<id>org.inkstitch.palette_split_text</id>
|
||||
<id>org.{{ id_inkstitch }}.palette_split_text</id>
|
||||
<param name="extension" type="string" gui-hidden="true">palette_split_text</param>
|
||||
<effect needs-live-preview="false">
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Thread Color Management">
|
||||
<submenu name="Generate Palette"/>
|
||||
</submenu>
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Palette to text</name>
|
||||
<id>org.inkstitch.palette_to_text</id>
|
||||
<id>org.{{ id_inkstitch }}.palette_to_text</id>
|
||||
<effect needs-live-preview="false">
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Thread Color Management" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Params</name>
|
||||
<id>org.inkstitch.params</id>
|
||||
<id>org.{{ id_inkstitch }}.params</id>
|
||||
<param name="extension" type="string" gui-hidden="true">params</param>
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no" />
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no" />
|
||||
</effects-menu>
|
||||
</effect>
|
||||
<script>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Preferences</name>
|
||||
<id>org.inkstitch.preferences</id>
|
||||
<id>org.{{ id_inkstitch }}.preferences</id>
|
||||
<param name="extension" type="string" gui-hidden="true">preferences</param>
|
||||
<effect implements-custom-gui="true">
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no"/>
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no"/>
|
||||
</effects-menu>
|
||||
</effect>
|
||||
<script>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>PDF Export</name>
|
||||
<id>org.inkstitch.print</id>
|
||||
<id>org.{{ id_inkstitch }}.print</id>
|
||||
<param name="extension" type="string" gui-hidden="true">print</param>
|
||||
<effect implements-custom-gui="true">
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Visualize and Export" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Remove embroidery settings</name>
|
||||
<id>org.inkstitch.remove_embroidery_settings</id>
|
||||
<id>org.{{ id_inkstitch }}.remove_embroidery_settings</id>
|
||||
<label>Use this extension to remove the information Ink/Stitch has stored in your document. This can be especially useful if you copy and paste objects from an embroidery design into another document.</label>
|
||||
<param name="del_params" type="boolean" gui-text="Remove Params"
|
||||
gui-description="Removes params from selected objects or all objects if nothing is selected.">true</param>
|
||||
|
@ -25,7 +25,7 @@
|
|||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Troubleshoot" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Re-stack objects in order of selection</name>
|
||||
<id>org.inkstitch.reorder</id>
|
||||
<id>org.{{ id_inkstitch }}.reorder</id>
|
||||
<param name="extension" type="string" gui-hidden="true">reorder</param>
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Edit" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Select embroidery elements</name>
|
||||
<id>org.inkstitch.select_elements</id>
|
||||
<id>org.{{ id_inkstitch }}.select_elements</id>
|
||||
<param name="extension" type="string" gui-hidden="true">select_elements</param>
|
||||
|
||||
<param name="options" type="notebook">
|
||||
|
@ -88,7 +88,7 @@
|
|||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Edit" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Selection to guide line</name>
|
||||
<id>org.inkstitch.selection_to_guide_line</id>
|
||||
<id>org.{{ id_inkstitch }}.selection_to_guide_line</id>
|
||||
<param name="extension" type="string" gui-hidden="true">selection_to_guide_line</param>
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Edit" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Selection to pattern</name>
|
||||
<id>org.inkstitch.selection_to_pattern</id>
|
||||
<id>org.{{ id_inkstitch }}.selection_to_pattern</id>
|
||||
<param name="extension" type="string" gui-hidden="true">selection_to_pattern</param>
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Edit" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Simulator / Realistic Preview</name>
|
||||
<id>org.inkstitch.simulator</id>
|
||||
<id>org.{{ id_inkstitch }}.simulator</id>
|
||||
<param name="extension" type="string" gui-hidden="true">simulator</param>
|
||||
<effect implements-custom-gui="true">
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Visualize and Export" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Stitch Plan Preview</name>
|
||||
<id>org.inkstitch.stitch_plan_preview</id>
|
||||
<id>org.{{ id_inkstitch }}.stitch_plan_preview</id>
|
||||
<param name="extension" type="string" gui-hidden="true">stitch_plan_preview</param>
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Visualize and Export" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Undo Stitch Plan Preview</name>
|
||||
<id>org.inkstitch.stitch_plan_preview_undo</id>
|
||||
<id>org.{{ id_inkstitch }}.stitch_plan_preview_undo</id>
|
||||
<param name="extension" type="string" gui-hidden="true">stitch_plan_preview_undo</param>
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Visualize and Export" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?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.inkstitch.stroke_lpe_satin</id>
|
||||
<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">
|
||||
|
@ -36,7 +36,7 @@
|
|||
<effect needs-live-preview="false">
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Tools: Satin" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Generate Test Swatches from Selection</name>
|
||||
<id>org.inkstitch.test_swatches</id>
|
||||
<id>org.{{ id_inkstitch }}.test_swatches</id>
|
||||
<param name="extension" type="string" gui-hidden="true">test_swatches</param>
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Edit" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Troubleshoot Objects</name>
|
||||
<id>org.inkstitch.troubleshoot</id>
|
||||
<id>org.{{ id_inkstitch }}.troubleshoot</id>
|
||||
<param name="extension" type="string" gui-hidden="true">troubleshoot</param>
|
||||
<param name="pointer-size" type="float" gui-text="Pointer size (mm)" min="1" max="800" precision="2">5</param>
|
||||
<param name="font-size" type="float" gui-text="Font size (mm)" min="1" max="800" precision="2">2</param>
|
||||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Troubleshoot" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>Update inkstitch svg</name>
|
||||
<id>org.inkstitch.update_svg</id>
|
||||
<id>org.{{ id_inkstitch }}.update_svg</id>
|
||||
<param name="extension" type="string" gui-hidden="true">update_svg</param>
|
||||
<effect needs-live-preview="false">
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Troubleshoot" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?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>
|
||||
<id>org.{{ id_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">
|
||||
|
@ -11,7 +11,7 @@
|
|||
<option value="sawtooth">Sawtooth</option>
|
||||
<option value="zigzag">Zigzag</option>
|
||||
</param>
|
||||
<param name="smoothing" type="boolean" gui-text="Smoothing">true</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>
|
||||
|
@ -32,7 +32,7 @@
|
|||
<effect>
|
||||
<object-type>all</object-type>
|
||||
<effects-menu>
|
||||
<submenu name="Ink/Stitch" translatable="no">
|
||||
<submenu name="{{ menu_inkstitch }}" translatable="no">
|
||||
<submenu name="Tools: Satin" />
|
||||
</submenu>
|
||||
</effects-menu>
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||||
<name>embroidery ZIP file output</name>
|
||||
<id>org.inkstitch.output.zip</id>
|
||||
<id>org.{{ id_inkstitch }}.output.zip</id>
|
||||
<output>
|
||||
<extension>.zip</extension>
|
||||
<mimetype>application/zip</mimetype>
|
||||
<filetypename>Ink/Stitch: ZIP export multiple formats and extra options (.zip)</filetypename>
|
||||
<filetypename>{{ menu_inkstitch }}: ZIP export multiple formats and extra options (.zip)</filetypename>
|
||||
<filetypetooltip>Create a ZIP with multiple embroidery file formats using Ink/Stitch</filetypetooltip>
|
||||
<dataloss>true</dataloss>
|
||||
</output>
|
||||
|
|
Ładowanie…
Reference in New Issue