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: 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 + templates/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 00000000..6fd513d4 --- /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 00000000..572d1083 --- /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 00000000..3e603a7a --- /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 00000000..f266efc1 --- /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 00000000..72571d23 --- /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 00000000..f11d26f8 --- /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 00000000..8b0c9742 --- /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 00000000..7dbce9b8 --- /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 00000000..373fd1a5 --- /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 00000000..8c3b92e2 --- /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 00000000..5147d943 --- /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 00000000..f33a2af9 --- /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 00000000..28b17a96 --- /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 00000000..fb495cde --- /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 00000000..157d39c4 --- /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 00000000..06aa1ef9 --- /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 00000000..e477b1cd --- /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 00000000..f62f23d1 --- /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 00000000..96383143 --- /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 00000000..b414ea52 --- /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 00000000..b2032fe9 --- /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 00000000..6d4fbb5c --- /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 00000000..bbd5fd8b --- /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 00000000..6f9a7330 --- /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 00000000..d0ecc360 --- /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 00000000..2a4a106a --- /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 00000000..ae2a5385 --- /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 00000000..fd06a0b2 --- /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 00000000..a3a3c637 --- /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 00000000..92eba526 --- /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 00000000..73253a63 --- /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 00000000..0d866a70 --- /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 00000000..6a608e90 --- /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 00000000..683a69bf --- /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 00000000..c2fca8a6 --- /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 00000000..00c04791 --- /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 00000000..3cd612d2 --- /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 00000000..fcfe0c84 --- /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 00000000..2eac85c5 --- /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 00000000..e9c6b989 --- /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 00000000..a4c91370 --- /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 dfcb700f..651d8434 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 aede2be7..770fcc0c 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 9168f2a2..c4cbf6f0 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 e84c0d19..1a5e1e8c 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 9c782c84..007232fb 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 4b768449..ca697752 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 026f2143..8936df9f 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 41909623..f8bb6952 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 f65abb58..318f5c30 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 8ccddb40..51bd94e3 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 8234938d..b9600f34 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 870883a5..4d02dd1a 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 51ee39fe..13761136 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 92f0223e..555364df 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 671d2c26..20d5d360 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 e62ecaf7..9353c949 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 9ff55380..1fadc258 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 6502a243..c4aa9b39 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 01a658ec..15faa27e 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 35d09731..d9b56939 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 cc05c166..0ed3d3d1 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 1455a046..0d73572d 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 72f1c811..5e622e2c 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 7b6e1d35..62f62a29 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 1d99d519..1ceb8a93 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 19270331..74a47d51 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 061ccf2d..ac932dd4 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 5d0831a3..a23131b3 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 81aeac95..6355f3ce 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 94d9f303..5eaa7e0a 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 06dac977..f914c6a3 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 9e07c58c..1b87e7c8 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 17deb31a..774c8291 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 9922fb5f..6ab4b804 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 bf3770a5..698c7015 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 9a0d84ce..634756ac 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 851342f6..09adb252 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 bc15b3ed..ad5eab29 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 e6c7ceff..7431ab49 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 8aecf64c..1603a54e 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 98132b6d..10943fea 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 2317153d..b8e999dc 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 7565158a..1608981f 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 6cc21694..b0bee557 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 9eeecb90..af36f453 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 f4437f1e..8e1d02a4 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 539f36fd..0249c444 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 bd550d6e..789bbd1f 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 6c85f8b2..cf00c937 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 e1a7d661..dbe335e3 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 1ae02f80..25e01974 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 da6c55ae..58c721bb 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 68ff78c5..a51c5a56 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 1c2f9790..247cf37c 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 001282c6..07338e19 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 5cb76bef..974c81d0 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 e2df77d7..0070c9fc 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 cba65d9f..52ba578c 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 5b287bfd..0147af70 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 65e38d78..d9719a2f 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 a0626a9e..84d14bc4 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 4f2d9af0..a958b5bd 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 cf7c0caf..f2dad0d4 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 397d6490..924d9738 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 24e93991..5c4e2e34 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 -- cgit v1.2.3