summaryrefslogtreecommitdiff
path: root/templates/fill_to_stroke.xml
diff options
context:
space:
mode:
Diffstat (limited to 'templates/fill_to_stroke.xml')
-rw-r--r--templates/fill_to_stroke.xml39
1 files changed, 39 insertions, 0 deletions
diff --git a/templates/fill_to_stroke.xml b/templates/fill_to_stroke.xml
new file mode 100644
index 00000000..581c4be4
--- /dev/null
+++ b/templates/fill_to_stroke.xml
@@ -0,0 +1,39 @@
+<?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>
+ <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="Tools: Stroke" />
+ </submenu>
+ </effects-menu>
+ </effect>
+ <param name="options" type="notebook">
+ <page name="options" gui-text="Options">
+ <param name="keep_original" type="boolean" gui-text="Keep original">false</param>
+ <param name="threshold_mm" type="float" precision="2" min="0" max="500"
+ gui-text="Threshold for dead ends (mm)"
+ gui-description="Deletes small lines. A good value in most cases is the approximate line width of the original shape">10</param>
+ <param name="dashed_line" type="boolean" gui-text="Dashed line">true</param>
+ <param name="line_width_mm" type="float" gui-text="Line width (mm)" min="0" max="15" precision="2">0.26</param>
+ </page>
+ <page name="info" gui-text="Help">
+ <label appearance="header">Fill to Stroke</label>
+ <label>Fill outlines never look nice when embroidered - but it is a lot of work to convert a fill outline to a satin column or a running stitch.
+ This tool helps you with this operation.</label>
+ <label>It is comparable to the Inkscape functionality of Path > Trace bitmap > Centerline tracing (- and has similar issues.)
+ But instead of converting raster graphics, it will find the centerline of vector based objects with a fill.</label>
+ <spacer />
+ <label>You can improve the result by defining cut lines.</label>
+ <spacer />
+ <label>Get more information on our website</label>
+ <label appearance="url">https://inkstitch.org/docs/stroke-tools/#fill-to-stroke</label>
+ </page>
+ </param>
+ <script>
+ {{ command_tag | safe }}
+ </script>
+</inkscape-extension>