summaryrefslogtreecommitdiff
path: root/templates/fill_to_stroke.xml
blob: 060b6ab80661c59bdac6320150d0f2fa8349fa8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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="line_width_mm" type="float" gui-text="Line width (mm)" min="0" max="15" precision="2">0.26</param>
          <param name="close_gaps" type="boolean" gui-text="Cut lines: close gaps">false</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>