From d15b1f40c758fc6c2fe324a9926e9722d504b2a4 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Mon, 18 Nov 2024 11:39:57 +0100 Subject: [PATCH] Add icons and descriptions for extension gallery (#3287) --- icons/inx/auto_route.svg | 53 +++++ icons/inx/break_apart_fill.svg | 72 +++++++ icons/inx/cleanup_document.svg | 99 ++++++++++ icons/inx/color_management.svg | 74 +++++++ icons/inx/commands.svg | 70 +++++++ icons/inx/commands_scale.svg | 116 +++++++++++ icons/inx/commands_visibility.svg | 167 ++++++++++++++++ icons/inx/cut_satin.svg | 84 ++++++++ icons/inx/cutwork.svg | 124 ++++++++++++ icons/inx/density_map.svg | 184 ++++++++++++++++++ icons/inx/duplicate_params.svg | 121 ++++++++++++ icons/inx/element_info.svg | 74 +++++++ icons/inx/fill_to_stroke.svg | 127 ++++++++++++ icons/inx/flip_satin.svg | 110 +++++++++++ icons/inx/font_management.svg | 92 +++++++++ icons/inx/gradient_blocks.svg | 74 +++++++ icons/inx/guide_line.svg | 58 ++++++ icons/inx/jump_to_stroke.svg | 72 +++++++ icons/inx/jump_to_trim.svg | 84 ++++++++ icons/inx/lettering.svg | 56 ++++++ icons/inx/lettering_along_path.svg | 101 ++++++++++ icons/inx/multicolor_satin.svg | 61 ++++++ icons/inx/outline.svg | 62 ++++++ icons/inx/pattern.svg | 50 +++++ icons/inx/pdf_export.svg | 104 ++++++++++ icons/inx/preferences.svg | 87 +++++++++ icons/inx/remove_duplicated_points.svg | 102 ++++++++++ icons/inx/remove_embroidery_settings.svg | 97 +++++++++ icons/inx/reorder.svg | 94 +++++++++ icons/inx/satin_to_stroke.svg | 113 +++++++++++ icons/inx/select_elements.svg | 61 ++++++ icons/inx/simulator.svg | 85 ++++++++ icons/inx/stacking_order.svg | 90 +++++++++ icons/inx/stitch_plan_preview.svg | 100 ++++++++++ icons/inx/tartan.svg | 117 +++++++++++ icons/inx/test_swatches.svg | 74 +++++++ icons/inx/to_satin.svg | 59 ++++++ icons/inx/troubleshoot.svg | 128 ++++++++++++ icons/inx/undo_stitch_plan.svg | 106 ++++++++++ icons/inx/unlink_clone.svg | 71 +++++++ icons/inx/update_svg.svg | 108 ++++++++++ its/inx.its | 5 + lib/elements/clone.py | 21 +- lib/inx/utils.py | 4 + templates/about.xml | 1 + templates/apply_palette.xml | 2 + templates/apply_threadlist.xml | 2 + templates/auto_run.xml | 2 + templates/auto_satin.xml | 2 + templates/break_apart.xml | 2 + templates/cleanup.xml | 2 + templates/commands_scale_symbols.xml | 2 + templates/convert_to_satin.xml | 1 + templates/convert_to_stroke.xml | 1 + templates/cut_satin.xml | 2 + templates/cutwork_segmentation.xml | 2 + templates/density_map.xml | 2 + templates/display_stacking_order.xml | 2 + templates/duplicate_params.xml | 2 + templates/element_info.xml | 2 + templates/fill_to_stroke.xml | 1 + templates/flip.xml | 1 + templates/generate_palette.xml | 2 + templates/global_commands.xml | 2 + templates/gradient_blocks.xml | 2 + templates/install.xml | 2 + templates/install_custom_palette.xml | 2 + templates/jump_to_stroke.xml | 2 + templates/jump_to_trim.xml | 2 + templates/layer_commands.xml | 2 + templates/lettering.xml | 1 + templates/lettering_along_path.xml | 2 + templates/lettering_custom_font_dir.xml | 2 + templates/lettering_font_sample.xml | 2 + templates/lettering_force_lock_stitches.xml | 2 + templates/lettering_generate_json.xml | 2 + templates/lettering_remove_kerning.xml | 2 + templates/lettering_set_color_sort_index.xml | 2 + templates/lettering_update_json_glyphlist.xml | 2 + templates/letters_to_font.xml | 2 + templates/object_commands.xml | 2 + .../object_commands_toggle_visibility.xml | 3 +- templates/outline.xml | 2 + templates/palette_split_text.xml | 1 + templates/palette_to_text.xml | 2 + templates/params.xml | 2 + templates/preferences.xml | 1 + templates/print.xml | 1 + templates/redwork.xml | 2 + templates/remove_duplicated_points.xml | 1 + templates/remove_embroidery_settings.xml | 2 + templates/reorder.xml | 1 + templates/satin_multicolor.xml | 2 + templates/select_elements.xml | 1 + templates/selection_to_guide_line.xml | 2 + templates/selection_to_pattern.xml | 2 + templates/simulator.xml | 1 + templates/stitch_plan_preview.xml | 1 + templates/stitch_plan_preview_undo.xml | 1 + templates/stroke_to_lpe_satin.xml | 1 + templates/tartan.xml | 2 + templates/test_swatches.xml | 1 + templates/troubleshoot.xml | 2 + templates/unlink_clone.xml | 2 + templates/update_svg.xml | 1 + templates/zigzag_line_to_satin.xml | 1 + 106 files changed, 3905 insertions(+), 12 deletions(-) create mode 100644 icons/inx/auto_route.svg create mode 100644 icons/inx/break_apart_fill.svg create mode 100644 icons/inx/cleanup_document.svg create mode 100644 icons/inx/color_management.svg create mode 100644 icons/inx/commands.svg create mode 100644 icons/inx/commands_scale.svg create mode 100644 icons/inx/commands_visibility.svg create mode 100644 icons/inx/cut_satin.svg create mode 100644 icons/inx/cutwork.svg create mode 100644 icons/inx/density_map.svg create mode 100644 icons/inx/duplicate_params.svg create mode 100644 icons/inx/element_info.svg create mode 100644 icons/inx/fill_to_stroke.svg create mode 100644 icons/inx/flip_satin.svg create mode 100644 icons/inx/font_management.svg create mode 100644 icons/inx/gradient_blocks.svg create mode 100644 icons/inx/guide_line.svg create mode 100644 icons/inx/jump_to_stroke.svg create mode 100644 icons/inx/jump_to_trim.svg create mode 100644 icons/inx/lettering.svg create mode 100644 icons/inx/lettering_along_path.svg create mode 100644 icons/inx/multicolor_satin.svg create mode 100644 icons/inx/outline.svg create mode 100644 icons/inx/pattern.svg create mode 100644 icons/inx/pdf_export.svg create mode 100644 icons/inx/preferences.svg create mode 100644 icons/inx/remove_duplicated_points.svg create mode 100644 icons/inx/remove_embroidery_settings.svg create mode 100644 icons/inx/reorder.svg create mode 100644 icons/inx/satin_to_stroke.svg create mode 100644 icons/inx/select_elements.svg create mode 100644 icons/inx/simulator.svg create mode 100644 icons/inx/stacking_order.svg create mode 100644 icons/inx/stitch_plan_preview.svg create mode 100644 icons/inx/tartan.svg create mode 100644 icons/inx/test_swatches.svg create mode 100644 icons/inx/to_satin.svg create mode 100644 icons/inx/troubleshoot.svg create mode 100644 icons/inx/undo_stitch_plan.svg create mode 100644 icons/inx/unlink_clone.svg create mode 100644 icons/inx/update_svg.svg diff --git a/icons/inx/auto_route.svg b/icons/inx/auto_route.svg new file mode 100644 index 000000000..6fd513d48 --- /dev/null +++ b/icons/inx/auto_route.svg @@ -0,0 +1,53 @@ + + + + + + diff --git a/icons/inx/break_apart_fill.svg b/icons/inx/break_apart_fill.svg new file mode 100644 index 000000000..572d10837 --- /dev/null +++ b/icons/inx/break_apart_fill.svg @@ -0,0 +1,72 @@ + + + + + + diff --git a/icons/inx/cleanup_document.svg b/icons/inx/cleanup_document.svg new file mode 100644 index 000000000..3e603a7a1 --- /dev/null +++ b/icons/inx/cleanup_document.svg @@ -0,0 +1,99 @@ + + + + + + diff --git a/icons/inx/color_management.svg b/icons/inx/color_management.svg new file mode 100644 index 000000000..f266efc12 --- /dev/null +++ b/icons/inx/color_management.svg @@ -0,0 +1,74 @@ + + + + + + diff --git a/icons/inx/commands.svg b/icons/inx/commands.svg new file mode 100644 index 000000000..72571d232 --- /dev/null +++ b/icons/inx/commands.svg @@ -0,0 +1,70 @@ + + + + + Ripple stitch target point + diff --git a/icons/inx/commands_scale.svg b/icons/inx/commands_scale.svg new file mode 100644 index 000000000..f11d26f85 --- /dev/null +++ b/icons/inx/commands_scale.svg @@ -0,0 +1,116 @@ + + + + + + + Ripple stitch target point + diff --git a/icons/inx/commands_visibility.svg b/icons/inx/commands_visibility.svg new file mode 100644 index 000000000..8b0c97423 --- /dev/null +++ b/icons/inx/commands_visibility.svg @@ -0,0 +1,167 @@ + + + + + + + + + + Ripple stitch target point + diff --git a/icons/inx/cut_satin.svg b/icons/inx/cut_satin.svg new file mode 100644 index 000000000..7dbce9b83 --- /dev/null +++ b/icons/inx/cut_satin.svg @@ -0,0 +1,84 @@ + + + Trim the thread after sewing this object. + + + + + + + + + + + + diff --git a/icons/inx/cutwork.svg b/icons/inx/cutwork.svg new file mode 100644 index 000000000..373fd1a56 --- /dev/null +++ b/icons/inx/cutwork.svg @@ -0,0 +1,124 @@ + + + + + + diff --git a/icons/inx/density_map.svg b/icons/inx/density_map.svg new file mode 100644 index 000000000..8c3b92e29 --- /dev/null +++ b/icons/inx/density_map.svg @@ -0,0 +1,184 @@ + +0.33.02 + Ignore entire layer when generating stitch plan + + + + + + + + + + + + + + diff --git a/icons/inx/duplicate_params.svg b/icons/inx/duplicate_params.svg new file mode 100644 index 000000000..5147d9436 --- /dev/null +++ b/icons/inx/duplicate_params.svg @@ -0,0 +1,121 @@ + + + + + + diff --git a/icons/inx/element_info.svg b/icons/inx/element_info.svg new file mode 100644 index 000000000..f33a2af9f --- /dev/null +++ b/icons/inx/element_info.svg @@ -0,0 +1,74 @@ + + + + + + diff --git a/icons/inx/fill_to_stroke.svg b/icons/inx/fill_to_stroke.svg new file mode 100644 index 000000000..28b17a963 --- /dev/null +++ b/icons/inx/fill_to_stroke.svg @@ -0,0 +1,127 @@ + + + + + + diff --git a/icons/inx/flip_satin.svg b/icons/inx/flip_satin.svg new file mode 100644 index 000000000..fb495cdec --- /dev/null +++ b/icons/inx/flip_satin.svg @@ -0,0 +1,110 @@ + + + Trim the thread after sewing this object. + + + + + + + + + + + + diff --git a/icons/inx/font_management.svg b/icons/inx/font_management.svg new file mode 100644 index 000000000..157d39c40 --- /dev/null +++ b/icons/inx/font_management.svg @@ -0,0 +1,92 @@ + + + + + + diff --git a/icons/inx/gradient_blocks.svg b/icons/inx/gradient_blocks.svg new file mode 100644 index 000000000..06aa1ef9e --- /dev/null +++ b/icons/inx/gradient_blocks.svg @@ -0,0 +1,74 @@ + + + + + + diff --git a/icons/inx/guide_line.svg b/icons/inx/guide_line.svg new file mode 100644 index 000000000..e477b1cd7 --- /dev/null +++ b/icons/inx/guide_line.svg @@ -0,0 +1,58 @@ + + diff --git a/icons/inx/jump_to_stroke.svg b/icons/inx/jump_to_stroke.svg new file mode 100644 index 000000000..f62f23d19 --- /dev/null +++ b/icons/inx/jump_to_stroke.svg @@ -0,0 +1,72 @@ + + + Trim the thread after sewing this object. + + + + + + + + diff --git a/icons/inx/jump_to_trim.svg b/icons/inx/jump_to_trim.svg new file mode 100644 index 000000000..963831436 --- /dev/null +++ b/icons/inx/jump_to_trim.svg @@ -0,0 +1,84 @@ + + + Trim the thread after sewing this object. + + + + + + + + diff --git a/icons/inx/lettering.svg b/icons/inx/lettering.svg new file mode 100644 index 000000000..b414ea52a --- /dev/null +++ b/icons/inx/lettering.svg @@ -0,0 +1,56 @@ + + + + + + diff --git a/icons/inx/lettering_along_path.svg b/icons/inx/lettering_along_path.svg new file mode 100644 index 000000000..b2032fe9d --- /dev/null +++ b/icons/inx/lettering_along_path.svg @@ -0,0 +1,101 @@ + + + + + + diff --git a/icons/inx/multicolor_satin.svg b/icons/inx/multicolor_satin.svg new file mode 100644 index 000000000..6d4fbb5c4 --- /dev/null +++ b/icons/inx/multicolor_satin.svg @@ -0,0 +1,61 @@ + + + + + + diff --git a/icons/inx/outline.svg b/icons/inx/outline.svg new file mode 100644 index 000000000..bbd5fd8bb --- /dev/null +++ b/icons/inx/outline.svg @@ -0,0 +1,62 @@ + + + + + + diff --git a/icons/inx/pattern.svg b/icons/inx/pattern.svg new file mode 100644 index 000000000..6f9a7330f --- /dev/null +++ b/icons/inx/pattern.svg @@ -0,0 +1,50 @@ + + diff --git a/icons/inx/pdf_export.svg b/icons/inx/pdf_export.svg new file mode 100644 index 000000000..d0ecc360f --- /dev/null +++ b/icons/inx/pdf_export.svg @@ -0,0 +1,104 @@ + + + Trim the thread after sewing this object. + + + + + + + + + + + + diff --git a/icons/inx/preferences.svg b/icons/inx/preferences.svg new file mode 100644 index 000000000..2a4a106a8 --- /dev/null +++ b/icons/inx/preferences.svg @@ -0,0 +1,87 @@ + + + + + + diff --git a/icons/inx/remove_duplicated_points.svg b/icons/inx/remove_duplicated_points.svg new file mode 100644 index 000000000..ae2a53853 --- /dev/null +++ b/icons/inx/remove_duplicated_points.svg @@ -0,0 +1,102 @@ + + + + + + diff --git a/icons/inx/remove_embroidery_settings.svg b/icons/inx/remove_embroidery_settings.svg new file mode 100644 index 000000000..fd06a0b2b --- /dev/null +++ b/icons/inx/remove_embroidery_settings.svg @@ -0,0 +1,97 @@ + + + + + + diff --git a/icons/inx/reorder.svg b/icons/inx/reorder.svg new file mode 100644 index 000000000..a3a3c6374 --- /dev/null +++ b/icons/inx/reorder.svg @@ -0,0 +1,94 @@ + + + + + + + + diff --git a/icons/inx/satin_to_stroke.svg b/icons/inx/satin_to_stroke.svg new file mode 100644 index 000000000..92eba5262 --- /dev/null +++ b/icons/inx/satin_to_stroke.svg @@ -0,0 +1,113 @@ + +0.33.02 + Ignore entire layer when generating stitch plan + + + + + + + + + + + + + + diff --git a/icons/inx/select_elements.svg b/icons/inx/select_elements.svg new file mode 100644 index 000000000..73253a632 --- /dev/null +++ b/icons/inx/select_elements.svg @@ -0,0 +1,61 @@ + + + + + + diff --git a/icons/inx/simulator.svg b/icons/inx/simulator.svg new file mode 100644 index 000000000..0d866a704 --- /dev/null +++ b/icons/inx/simulator.svg @@ -0,0 +1,85 @@ + + + Trim the thread after sewing this object. + + + + + + + + + + + + diff --git a/icons/inx/stacking_order.svg b/icons/inx/stacking_order.svg new file mode 100644 index 000000000..6a608e90b --- /dev/null +++ b/icons/inx/stacking_order.svg @@ -0,0 +1,90 @@ + + + + + + + + diff --git a/icons/inx/stitch_plan_preview.svg b/icons/inx/stitch_plan_preview.svg new file mode 100644 index 000000000..683a69bfb --- /dev/null +++ b/icons/inx/stitch_plan_preview.svg @@ -0,0 +1,100 @@ + + + + + + diff --git a/icons/inx/tartan.svg b/icons/inx/tartan.svg new file mode 100644 index 000000000..c2fca8a68 --- /dev/null +++ b/icons/inx/tartan.svg @@ -0,0 +1,117 @@ + + + + + + diff --git a/icons/inx/test_swatches.svg b/icons/inx/test_swatches.svg new file mode 100644 index 000000000..00c04791f --- /dev/null +++ b/icons/inx/test_swatches.svg @@ -0,0 +1,74 @@ + + + + + + diff --git a/icons/inx/to_satin.svg b/icons/inx/to_satin.svg new file mode 100644 index 000000000..3cd612d25 --- /dev/null +++ b/icons/inx/to_satin.svg @@ -0,0 +1,59 @@ + + + + + + diff --git a/icons/inx/troubleshoot.svg b/icons/inx/troubleshoot.svg new file mode 100644 index 000000000..fcfe0c849 --- /dev/null +++ b/icons/inx/troubleshoot.svg @@ -0,0 +1,128 @@ + +0.33.02 + Ignore entire layer when generating stitch plan + + + + + + + + + + + + + + diff --git a/icons/inx/undo_stitch_plan.svg b/icons/inx/undo_stitch_plan.svg new file mode 100644 index 000000000..2eac85c5d --- /dev/null +++ b/icons/inx/undo_stitch_plan.svg @@ -0,0 +1,106 @@ + + + + + + diff --git a/icons/inx/unlink_clone.svg b/icons/inx/unlink_clone.svg new file mode 100644 index 000000000..e9c6b989c --- /dev/null +++ b/icons/inx/unlink_clone.svg @@ -0,0 +1,71 @@ + + + + diff --git a/icons/inx/update_svg.svg b/icons/inx/update_svg.svg new file mode 100644 index 000000000..a4c913705 --- /dev/null +++ b/icons/inx/update_svg.svg @@ -0,0 +1,108 @@ + +0.33.02 + Ignore entire layer when generating stitch plan + + + + + + + + + + + + + + diff --git a/its/inx.its b/its/inx.its index dfcb700f1..651d8434f 100644 --- a/its/inx.its +++ b/its/inx.its @@ -19,6 +19,7 @@ + @@ -37,4 +38,8 @@ + + + + diff --git a/lib/elements/clone.py b/lib/elements/clone.py index aede2be73..770fcc0c7 100644 --- a/lib/elements/clone.py +++ b/lib/elements/clone.py @@ -3,22 +3,21 @@ # Copyright (c) 2010 Authors # Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. -from math import degrees from contextlib import contextmanager -from typing import Generator, List, Dict +from math import degrees +from typing import Dict, Generator, List -from inkex import Transform, BaseElement +from inkex import BaseElement, Transform from shapely import MultiLineString -from ..stitch_plan.stitch_group import StitchGroup - -from ..commands import is_command_symbol, find_commands, point_command_symbols_up +from ..commands import (find_commands, is_command_symbol, + point_command_symbols_up) from ..i18n import _ -from ..svg.svg import copy_no_children +from ..stitch_plan.stitch_group import StitchGroup from ..svg.path import get_node_transform -from ..svg.tags import (EMBROIDERABLE_TAGS, INKSTITCH_ATTRIBS, SVG_USE_TAG, - XLINK_HREF, CONNECTION_START, CONNECTION_END, - SVG_GROUP_TAG) +from ..svg.svg import copy_no_children +from ..svg.tags import (CONNECTION_END, CONNECTION_START, EMBROIDERABLE_TAGS, + INKSTITCH_ATTRIBS, SVG_GROUP_TAG, SVG_USE_TAG) from ..utils import cache from .element import EmbroideryElement, param from .validation import ValidationWarning @@ -108,7 +107,7 @@ class Clone(EmbroideryElement): Could possibly be refactored into just a generator - being a context manager is mainly to control the lifecycle of the elements that are cloned (again, for testing convenience primarily) """ - from .utils import nodes_to_elements, iterate_nodes + from .utils import iterate_nodes, nodes_to_elements cloned_nodes = self.resolve_clone() try: diff --git a/lib/inx/utils.py b/lib/inx/utils.py index 9168f2a24..c4cbf6f0d 100755 --- a/lib/inx/utils.py +++ b/lib/inx/utils.py @@ -26,13 +26,17 @@ def build_environment(): # Command tag and icons path if sys.platform == "win32": env.globals["command_tag"] = '../bin/inkstitch.exe' + env.globals["icon_path"] = '../bin/icons/' elif sys.platform == "darwin": env.globals["command_tag"] = '../../MacOS/inkstitch' + env.globals["icon_path"] = '../icons/' else: env.globals["command_tag"] = '../bin/inkstitch' + env.globals["icon_path"] = '../bin/icons/' else: # user is running inkstitch.py directly as a developer env.globals["command_tag"] = '../inkstitch.py' + env.globals["icon_path"] = '../icons/' return env diff --git a/templates/about.xml b/templates/about.xml index e84c0d199..1a5e1e8cd 100644 --- a/templates/about.xml +++ b/templates/about.xml @@ -5,6 +5,7 @@ about all + {{ icon_path }}inkstitch_colour_logo.svg diff --git a/templates/apply_palette.xml b/templates/apply_palette.xml index 9c782c848..007232fb6 100644 --- a/templates/apply_palette.xml +++ b/templates/apply_palette.xml @@ -5,6 +5,8 @@ apply_palette all + {{ icon_path }}inx/color_management.svg + Matches colors of all elements in the document to a specified palette diff --git a/templates/apply_threadlist.xml b/templates/apply_threadlist.xml index 4b7684494..ca697752c 100644 --- a/templates/apply_threadlist.xml +++ b/templates/apply_threadlist.xml @@ -33,6 +33,8 @@ all + {{ icon_path }}inx/color_management.svg + Applies colors from a specified color file onto the objects in this document. diff --git a/templates/auto_run.xml b/templates/auto_run.xml index 026f21431..8936df9f7 100644 --- a/templates/auto_run.xml +++ b/templates/auto_run.xml @@ -5,6 +5,8 @@ auto_run all + {{ icon_path }}inx/auto_route.svg + Generates a continuous path through all selected elements diff --git a/templates/auto_satin.xml b/templates/auto_satin.xml index 41909623b..f8bb6952c 100644 --- a/templates/auto_satin.xml +++ b/templates/auto_satin.xml @@ -19,6 +19,8 @@ all + {{ icon_path }}inx/auto_route.svg + Generates a continuous path through selected satin elements diff --git a/templates/break_apart.xml b/templates/break_apart.xml index f65abb58c..318f5c300 100644 --- a/templates/break_apart.xml +++ b/templates/break_apart.xml @@ -24,6 +24,8 @@ all + {{ icon_path }}inx/break_apart_fill.svg + Break apart and repair (broken) fill shapes diff --git a/templates/cleanup.xml b/templates/cleanup.xml index 8ccddb407..51bd94e34 100644 --- a/templates/cleanup.xml +++ b/templates/cleanup.xml @@ -29,6 +29,8 @@ all + {{ icon_path }}inx/cleanup_document.svg + Remove small unstitchable elements diff --git a/templates/commands_scale_symbols.xml b/templates/commands_scale_symbols.xml index 8234938dd..b9600f34a 100644 --- a/templates/commands_scale_symbols.xml +++ b/templates/commands_scale_symbols.xml @@ -6,6 +6,8 @@ 1.0 all + {{ icon_path }}inx/commands_scale.svg + Adjust all command symbol sizes at once diff --git a/templates/convert_to_satin.xml b/templates/convert_to_satin.xml index 870883a56..4d02dd1a5 100644 --- a/templates/convert_to_satin.xml +++ b/templates/convert_to_satin.xml @@ -5,6 +5,7 @@ convert_to_satin all + {{ icon_path }}inx/to_satin.svg diff --git a/templates/convert_to_stroke.xml b/templates/convert_to_stroke.xml index 51ee39fea..13761136e 100644 --- a/templates/convert_to_stroke.xml +++ b/templates/convert_to_stroke.xml @@ -19,6 +19,7 @@ all + {{ icon_path }}inx/satin_to_stroke.svg diff --git a/templates/cut_satin.xml b/templates/cut_satin.xml index 92f0223e5..555364df9 100644 --- a/templates/cut_satin.xml +++ b/templates/cut_satin.xml @@ -5,6 +5,8 @@ cut_satin all + {{ icon_path }}inx/cut_satin.svg + Split a satin column and keep Ink/Stitch settings diff --git a/templates/cutwork_segmentation.xml b/templates/cutwork_segmentation.xml index 671d2c265..20d5d360e 100644 --- a/templates/cutwork_segmentation.xml +++ b/templates/cutwork_segmentation.xml @@ -5,6 +5,8 @@ cutwork_segmentation all + {{ icon_path }}inx/cutwork.svg + Splits a path into cutwork segments according to cut angle diff --git a/templates/density_map.xml b/templates/density_map.xml index e62ecaf7c..9353c9490 100644 --- a/templates/density_map.xml +++ b/templates/density_map.xml @@ -33,6 +33,8 @@ all + {{ icon_path }}inx/density_map.svg + Displays a colored dot at each stitch position diff --git a/templates/display_stacking_order.xml b/templates/display_stacking_order.xml index 9ff553802..1fadc258e 100644 --- a/templates/display_stacking_order.xml +++ b/templates/display_stacking_order.xml @@ -18,6 +18,8 @@ all + {{ icon_path }}inx/stacking_order.svg + Generates numbered labels to indicate the stitching order diff --git a/templates/duplicate_params.xml b/templates/duplicate_params.xml index 6502a243d..c4aa9b397 100644 --- a/templates/duplicate_params.xml +++ b/templates/duplicate_params.xml @@ -5,6 +5,8 @@ duplicate_params all + {{ icon_path }}inx/duplicate_params.svg + Applies params from first selected element to the rest of the selection diff --git a/templates/element_info.xml b/templates/element_info.xml index 01a658ece..15faa27e6 100644 --- a/templates/element_info.xml +++ b/templates/element_info.xml @@ -5,6 +5,8 @@ element_info all + {{ icon_path }}inx/element_info.svg + Display embroidery info for selected elements diff --git a/templates/fill_to_stroke.xml b/templates/fill_to_stroke.xml index 35d097312..d9b56939f 100644 --- a/templates/fill_to_stroke.xml +++ b/templates/fill_to_stroke.xml @@ -5,6 +5,7 @@ fill_to_stroke all + {{ icon_path }}inx/fill_to_stroke.svg diff --git a/templates/flip.xml b/templates/flip.xml index cc05c166d..0ed3d3d12 100644 --- a/templates/flip.xml +++ b/templates/flip.xml @@ -5,6 +5,7 @@ flip all + {{ icon_path }}inx/flip_satin.svg diff --git a/templates/generate_palette.xml b/templates/generate_palette.xml index 1455a046b..0d73572dd 100644 --- a/templates/generate_palette.xml +++ b/templates/generate_palette.xml @@ -5,6 +5,8 @@ generate_palette all + {{ icon_path }}inx/color_management.svg + Generate a custom color palette from colored text elements diff --git a/templates/global_commands.xml b/templates/global_commands.xml index 72f1c8119..5e622e2c1 100644 --- a/templates/global_commands.xml +++ b/templates/global_commands.xml @@ -9,6 +9,8 @@ global_commands all + {{ icon_path }}inx/commands.svg + Add commands which affect the entire document {# L10N Inkscape submenu under Extensions -> Ink/Stitch #} diff --git a/templates/gradient_blocks.xml b/templates/gradient_blocks.xml index 7b6e1d35f..62f62a292 100644 --- a/templates/gradient_blocks.xml +++ b/templates/gradient_blocks.xml @@ -5,6 +5,8 @@ gradient_blocks all + {{ icon_path }}inx/gradient_blocks.svg + Split a fill with a gradient into single colored blocks diff --git a/templates/install.xml b/templates/install.xml index 1d99d5190..1ceb8a934 100644 --- a/templates/install.xml +++ b/templates/install.xml @@ -5,6 +5,8 @@ install all + {{ icon_path }}inx/color_management.svg + Installs color palettes for various thread brands into Inkscape diff --git a/templates/install_custom_palette.xml b/templates/install_custom_palette.xml index 19270331d..74a47d515 100644 --- a/templates/install_custom_palette.xml +++ b/templates/install_custom_palette.xml @@ -21,6 +21,8 @@ all + {{ icon_path }}inx/color_management.svg + Installs a custom color palette into Inkscape diff --git a/templates/jump_to_stroke.xml b/templates/jump_to_stroke.xml index 061ccf2d1..ac932dd4d 100644 --- a/templates/jump_to_stroke.xml +++ b/templates/jump_to_stroke.xml @@ -5,6 +5,8 @@ jump_to_stroke all + {{ icon_path }}inx/jump_to_stroke.svg + Converts a jump stitch between selected elements into a running stitch diff --git a/templates/jump_to_trim.xml b/templates/jump_to_trim.xml index 5d0831a36..a23131b30 100644 --- a/templates/jump_to_trim.xml +++ b/templates/jump_to_trim.xml @@ -5,6 +5,8 @@ jump_to_trim all + {{ icon_path }}inx/jump_to_trim.svg + Sets a trim command on elements which are followed by a jump stitch diff --git a/templates/layer_commands.xml b/templates/layer_commands.xml index 81aeac95b..6355f3ce9 100644 --- a/templates/layer_commands.xml +++ b/templates/layer_commands.xml @@ -9,6 +9,8 @@ layer_commands all + {{ icon_path }}inx/commands.svg + Add commands which affect the containing layer diff --git a/templates/lettering.xml b/templates/lettering.xml index 94d9f3037..5eaa7e0af 100644 --- a/templates/lettering.xml +++ b/templates/lettering.xml @@ -5,6 +5,7 @@ lettering all + {{ icon_path }}inx/lettering.svg diff --git a/templates/lettering_along_path.xml b/templates/lettering_along_path.xml index 06dac977b..f914c6a33 100644 --- a/templates/lettering_along_path.xml +++ b/templates/lettering_along_path.xml @@ -5,6 +5,8 @@ lettering_along_path all + {{ icon_path }}inx/lettering_along_path.svg + Shapes a line of text onto a path diff --git a/templates/lettering_custom_font_dir.xml b/templates/lettering_custom_font_dir.xml index 9e07c58c5..1b87e7c8d 100644 --- a/templates/lettering_custom_font_dir.xml +++ b/templates/lettering_custom_font_dir.xml @@ -20,6 +20,8 @@ all + {{ icon_path }}inx/font_management.svg + Define a directory with custom fonts for the lettering tool diff --git a/templates/lettering_font_sample.xml b/templates/lettering_font_sample.xml index 17deb31ae..774c82918 100644 --- a/templates/lettering_font_sample.xml +++ b/templates/lettering_font_sample.xml @@ -5,6 +5,8 @@ lettering_font_sample all + {{ icon_path }}inx/font_management.svg + Inserts all glyphs of a specified font into the document diff --git a/templates/lettering_force_lock_stitches.xml b/templates/lettering_force_lock_stitches.xml index 9922fb5f0..6ab4b8045 100644 --- a/templates/lettering_force_lock_stitches.xml +++ b/templates/lettering_force_lock_stitches.xml @@ -31,6 +31,8 @@ all + {{ icon_path }}inx/font_management.svg + Sets the forces lock stitch attribute on elements when the next element lies within a specified distance diff --git a/templates/lettering_generate_json.xml b/templates/lettering_generate_json.xml index bf3770a53..698c70154 100644 --- a/templates/lettering_generate_json.xml +++ b/templates/lettering_generate_json.xml @@ -5,6 +5,8 @@ lettering_generate_json all + {{ icon_path }}inx/font_management.svg + Generates the json file for a font so it can be used with the lettering tool diff --git a/templates/lettering_remove_kerning.xml b/templates/lettering_remove_kerning.xml index 9a0d84ce0..634756ac9 100644 --- a/templates/lettering_remove_kerning.xml +++ b/templates/lettering_remove_kerning.xml @@ -26,6 +26,8 @@ all + {{ icon_path }}inx/font_management.svg + Removes Kerning information from specified SVG files diff --git a/templates/lettering_set_color_sort_index.xml b/templates/lettering_set_color_sort_index.xml index 851342f6c..09adb2522 100644 --- a/templates/lettering_set_color_sort_index.xml +++ b/templates/lettering_set_color_sort_index.xml @@ -23,6 +23,8 @@ all + {{ icon_path }}inx/font_management.svg + Sets a color sort index on selected elements to define the stacking order for multicolor fonts diff --git a/templates/lettering_update_json_glyphlist.xml b/templates/lettering_update_json_glyphlist.xml index bc15b3ed6..ad5eab290 100644 --- a/templates/lettering_update_json_glyphlist.xml +++ b/templates/lettering_update_json_glyphlist.xml @@ -19,6 +19,8 @@ all + {{ icon_path }}inx/font_management.svg + Updates the glyphlist in the json file diff --git a/templates/letters_to_font.xml b/templates/letters_to_font.xml index e6c7ceff4..7431ab498 100644 --- a/templates/letters_to_font.xml +++ b/templates/letters_to_font.xml @@ -41,6 +41,8 @@ all + {{ icon_path }}inx/font_management.svg + Inserts all available glyphs of a pre-digitized font into the document to make them available for the lettering tool diff --git a/templates/object_commands.xml b/templates/object_commands.xml index 8aecf64ce..1603a54e9 100644 --- a/templates/object_commands.xml +++ b/templates/object_commands.xml @@ -8,6 +8,8 @@ object_commands all + {{ icon_path }}inx/commands.svg + Add commands which affect selected elememts diff --git a/templates/object_commands_toggle_visibility.xml b/templates/object_commands_toggle_visibility.xml index 98132b6d9..10943fea3 100644 --- a/templates/object_commands_toggle_visibility.xml +++ b/templates/object_commands_toggle_visibility.xml @@ -1,10 +1,11 @@ - Display|Hide Object Commands + Show|Hide Object Commands org.{{ id_inkstitch }}.object_commands_toggle_visibility object_commands_toggle_visibility all + {{ icon_path }}inx/commands_visibility.svg diff --git a/templates/outline.xml b/templates/outline.xml index 2317153d3..b8e999dc9 100644 --- a/templates/outline.xml +++ b/templates/outline.xml @@ -32,6 +32,8 @@ all + {{ icon_path }}inx/outline.svg + Generates an outline around stitch paths diff --git a/templates/palette_split_text.xml b/templates/palette_split_text.xml index 7565158a5..1608981f4 100644 --- a/templates/palette_split_text.xml +++ b/templates/palette_split_text.xml @@ -5,6 +5,7 @@ palette_split_text all + {{ icon_path }}inx/color_management.svg diff --git a/templates/palette_to_text.xml b/templates/palette_to_text.xml index 6cc21694d..b0bee557b 100644 --- a/templates/palette_to_text.xml +++ b/templates/palette_to_text.xml @@ -4,6 +4,8 @@ org.{{ id_inkstitch }}.palette_to_text all + {{ icon_path }}inx/color_management.svg + Imports a thread color palette as colored text diff --git a/templates/params.xml b/templates/params.xml index 9eeecb906..af36f4530 100644 --- a/templates/params.xml +++ b/templates/params.xml @@ -5,6 +5,8 @@ params all + {{ icon_path }}inx/preferences.svg + Adapt embroidery settings diff --git a/templates/preferences.xml b/templates/preferences.xml index f4437f1ec..8e1d02a43 100644 --- a/templates/preferences.xml +++ b/templates/preferences.xml @@ -5,6 +5,7 @@ preferences all + {{ icon_path }}inx/preferences.svg diff --git a/templates/print.xml b/templates/print.xml index 539f36fdf..0249c444f 100644 --- a/templates/print.xml +++ b/templates/print.xml @@ -5,6 +5,7 @@ print all + {{ icon_path }}inx/pdf_export.svg diff --git a/templates/redwork.xml b/templates/redwork.xml index bd550d6e9..789bbd1fb 100644 --- a/templates/redwork.xml +++ b/templates/redwork.xml @@ -30,6 +30,8 @@ all + {{ icon_path }}inx/auto_route.svg + Generates a path through all selected elements, passing each element exactly twice diff --git a/templates/remove_duplicated_points.xml b/templates/remove_duplicated_points.xml index 6c85f8b2c..cf00c9377 100644 --- a/templates/remove_duplicated_points.xml +++ b/templates/remove_duplicated_points.xml @@ -28,6 +28,7 @@ all + {{ icon_path }}inx/remove_duplicated_points.svg diff --git a/templates/remove_embroidery_settings.xml b/templates/remove_embroidery_settings.xml index e1a7d661d..dbe335e37 100644 --- a/templates/remove_embroidery_settings.xml +++ b/templates/remove_embroidery_settings.xml @@ -140,6 +140,8 @@ all + {{ icon_path }}inx/remove_embroidery_settings.svg + Remove specific or all embroidery settings from the document diff --git a/templates/reorder.xml b/templates/reorder.xml index 1ae02f803..25e019745 100644 --- a/templates/reorder.xml +++ b/templates/reorder.xml @@ -5,6 +5,7 @@ reorder all + {{ icon_path }}inx/reorder.svg diff --git a/templates/satin_multicolor.xml b/templates/satin_multicolor.xml index da6c55aeb..58c721bbd 100644 --- a/templates/satin_multicolor.xml +++ b/templates/satin_multicolor.xml @@ -5,6 +5,8 @@ satin_multicolor all + {{ icon_path }}inx/multicolor_satin.svg + Generates a multicolor satin diff --git a/templates/select_elements.xml b/templates/select_elements.xml index 68ff78c56..a51c5a563 100644 --- a/templates/select_elements.xml +++ b/templates/select_elements.xml @@ -101,6 +101,7 @@ all + {{ icon_path }}inx/select_elements.svg diff --git a/templates/selection_to_guide_line.xml b/templates/selection_to_guide_line.xml index 1c2f97909..247cf37c2 100644 --- a/templates/selection_to_guide_line.xml +++ b/templates/selection_to_guide_line.xml @@ -5,6 +5,8 @@ selection_to_guide_line all + {{ icon_path }}inx/guide_line.svg + Marks selected elements as guide lines diff --git a/templates/selection_to_pattern.xml b/templates/selection_to_pattern.xml index 001282c68..07338e192 100644 --- a/templates/selection_to_pattern.xml +++ b/templates/selection_to_pattern.xml @@ -5,6 +5,8 @@ selection_to_pattern all + {{ icon_path }}inx/pattern.svg + Marks selected elements as patterns diff --git a/templates/simulator.xml b/templates/simulator.xml index 5cb76bef1..974c81d05 100644 --- a/templates/simulator.xml +++ b/templates/simulator.xml @@ -5,6 +5,7 @@ simulator all + {{ icon_path }}inx/simulator.svg diff --git a/templates/stitch_plan_preview.xml b/templates/stitch_plan_preview.xml index e2df77d72..0070c9fca 100644 --- a/templates/stitch_plan_preview.xml +++ b/templates/stitch_plan_preview.xml @@ -49,6 +49,7 @@ all + {{ icon_path }}inx/stitch_plan_preview.svg diff --git a/templates/stitch_plan_preview_undo.xml b/templates/stitch_plan_preview_undo.xml index cba65d9fb..52ba578cf 100644 --- a/templates/stitch_plan_preview_undo.xml +++ b/templates/stitch_plan_preview_undo.xml @@ -5,6 +5,7 @@ stitch_plan_preview_undo all + {{ icon_path }}inx/undo_stitch_plan.svg diff --git a/templates/stroke_to_lpe_satin.xml b/templates/stroke_to_lpe_satin.xml index 5b287bfd1..0147af708 100644 --- a/templates/stroke_to_lpe_satin.xml +++ b/templates/stroke_to_lpe_satin.xml @@ -35,6 +35,7 @@ all + {{ icon_path }}inx/to_satin.svg diff --git a/templates/tartan.xml b/templates/tartan.xml index 65e38d78d..d9719a2f9 100644 --- a/templates/tartan.xml +++ b/templates/tartan.xml @@ -5,6 +5,8 @@ tartan all + {{ icon_path }}inx/tartan.svg + Tartan stripe editor diff --git a/templates/test_swatches.xml b/templates/test_swatches.xml index a0626a9e2..84d14bc45 100644 --- a/templates/test_swatches.xml +++ b/templates/test_swatches.xml @@ -5,6 +5,7 @@ test_swatches all + {{ icon_path }}inx/test_swatches.svg diff --git a/templates/troubleshoot.xml b/templates/troubleshoot.xml index 4f2d9af09..a958b5bdd 100644 --- a/templates/troubleshoot.xml +++ b/templates/troubleshoot.xml @@ -19,6 +19,8 @@ all + {{ icon_path }}inx/troubleshoot.svg + Marks problematic or possibly problematic spots in the document or selection diff --git a/templates/unlink_clone.xml b/templates/unlink_clone.xml index cf7c0caf0..f2dad0d47 100644 --- a/templates/unlink_clone.xml +++ b/templates/unlink_clone.xml @@ -16,6 +16,8 @@ all + {{ icon_path }}inx/unlink_clone.svg + Unlink clones and apply the fill stitch angle diff --git a/templates/update_svg.xml b/templates/update_svg.xml index 397d64900..924d97389 100644 --- a/templates/update_svg.xml +++ b/templates/update_svg.xml @@ -5,6 +5,7 @@ update_svg all + {{ icon_path }}inx/update_svg.svg diff --git a/templates/zigzag_line_to_satin.xml b/templates/zigzag_line_to_satin.xml index 24e93991e..5c4e2e347 100644 --- a/templates/zigzag_line_to_satin.xml +++ b/templates/zigzag_line_to_satin.xml @@ -31,6 +31,7 @@ all + {{ icon_path }}inx/to_satin.svg