summaryrefslogtreecommitdiff
path: root/templates/auto_run.xml
blob: 8936df9f7a0feae8f3ba36ef46ace168a37d1fef (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
40
41
42
43
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
    <name>Auto-Route Running Stitch</name>
    <id>org.{{ id_inkstitch }}.auto_run</id>
    <param name="extension" type="string" gui-hidden="true">auto_run</param>
    <effect>
        <object-type>all</object-type>
        <icon>{{ icon_path }}inx/auto_route.svg</icon>
        <menu-tip>Generates a continuous path through all selected elements</menu-tip>
        <effects-menu>
            <submenu name="{{ menu_inkstitch }}" translatable="no">
                <submenu name="Tools: Stroke" />
            </submenu>
        </effects-menu>
    </effect>
    <param name="options" type="notebook">
      <page name="options" gui-text="Auto-Route Running Stitch Options">
          <spacer />
          <param name="break_up" type="boolean" gui-text="Add nodes at intersections">true</param>
          <spacer />
          <param name="preserve_order" type="boolean" gui-text="Preserve order of running stitches">false</param>
          <spacer />
          <param name="trim" type="boolean" gui-text="Trim jump stitches">false</param>
      </page>
      <page name="help" gui-text="Help">
          <label appearance="header">Auto-Route Running Stitch</label>
          <label>Add nodes at intersections:</label>
          <spacer />
          <label indent="1">- Enabled (automatic). Ink/Stitch will add some nodes for better routing. This is the default setting.</label>
          <spacer />
          <label indent="1">- Disabled (manual). Choose this option if you have manually set nodes at crucial spots.</label>
          <spacer />
          <separator />
          <label>Use Start- end end commands to define where auto-routing for running stitch should start and end.</label>
          <separator />
          <label>More info on our website:</label>
          <label appearance="url">https://inkstitch.org/docs/stroke-tools#auto-route-running-stitch</label>
      </page>
    </param>
    <script>
        {{ command_tag | safe }}
    </script>
</inkscape-extension>