summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2021-12-09 15:05:21 +0100
committerGitHub <noreply@github.com>2021-12-09 15:05:21 +0100
commit36f7610cc0844a034ba068b549332cab3ef7b033 (patch)
treee63e66d8313df795d26efb42833f103f3554971a /templates
parent41ace3a9e53b52b4271554d7aedd88d533ee5f5e (diff)
Force lock stitches option/extension and some typos (#1471)
Diffstat (limited to 'templates')
-rw-r--r--templates/lettering_force_lock_stitches.xml30
-rw-r--r--templates/stitch_plan_preview.xml2
2 files changed, 31 insertions, 1 deletions
diff --git a/templates/lettering_force_lock_stitches.xml b/templates/lettering_force_lock_stitches.xml
new file mode 100644
index 00000000..ee7049ad
--- /dev/null
+++ b/templates/lettering_force_lock_stitches.xml
@@ -0,0 +1,30 @@
+<?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>
+ <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="Font Management" />
+ </submenu>
+ </effects-menu>
+ </effect>
+ <param name="force-lock-stitches" type="description" indent="1" >
+ Small fonts will sometimes unravel if threads are cut after the embroidery machine has finished the work.
+ Therefore it is important that also diacritics with a smaller distance to the font body than defined by the collapse length value (default: 3mm) have lock stitches.
+ This can be achieved by adding a forced lock stitch attribute to them.
+ </param>
+ <separator />
+ <param name="extension-description" type="description" indent="1">
+ This extension has been build to help font authors to define "force lock stitches"-attributes automatically if they are placed in a predefined distance to the next object.
+ </param>
+ <param indent="1" name="min_distance" type="float" gui-text="Minimum distance (mm)" min="0" max="3">1</param>
+ <param indent="1" name="max_distance" type="float" gui-text="Minimum distance (mm)" min="1" max="10">3</param>
+ <separator />
+ <param indent="1" name="last_element" type="boolean" gui-text="Add force lock stitches attribute to the last element of each glyph">false</param>
+ <script>
+ {{ command_tag | safe }}
+ </script>
+</inkscape-extension>
diff --git a/templates/stitch_plan_preview.xml b/templates/stitch_plan_preview.xml
index a40f79e0..ba602aaf 100644
--- a/templates/stitch_plan_preview.xml
+++ b/templates/stitch_plan_preview.xml
@@ -12,7 +12,7 @@
</effects-menu>
</effect>
<param name="move-to-side" type="boolean" gui-text="Move stitch plan beside the canvas">true</param>
- <param name="layer-visibility" type="optiongroup" appearance="combo" gui-text="Design layer visibity">
+ <param name="layer-visibility" type="optiongroup" appearance="combo" gui-text="Design layer visibility">
<option value="0">Unchanged</option>
<option value="1">Hidden</option>
<option value="2">Lower opacity</option>