summaryrefslogtreecommitdiff
path: root/templates/density_map.xml
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2022-06-21 19:48:28 +0200
committerGitHub <noreply@github.com>2022-06-21 19:48:28 +0200
commiteef2ec232ef45fd608093e22d6103a317da8eab5 (patch)
tree7db41b7d8f391c1379dc1f9be82a6a2d7ac71b4e /templates/density_map.xml
parentedacc3ec7756d5d9c471b252132f942de8b93b52 (diff)
Undo stitch plan preview and density map (#1687)
Diffstat (limited to 'templates/density_map.xml')
-rw-r--r--templates/density_map.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/templates/density_map.xml b/templates/density_map.xml
new file mode 100644
index 00000000..d8348cbb
--- /dev/null
+++ b/templates/density_map.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>Density Map</name>
+ <id>org.inkstitch.density_map</id>
+ <param name="extension" type="string" gui-hidden="true">density_map</param>
+ <effect>
+ <object-type>all</object-type>
+ <effects-menu>
+ <submenu name="Ink/Stitch" translatable="no">
+ <submenu name="Visualise and Export" />
+ </submenu>
+ </effects-menu>
+ </effect>
+ <label appearance="header">Red markers</label>
+ <param name="num-neighbors-red" gui-text="Number of stitches" gui-description="0 = no density info" type="int" min="0" max="99" indents="1">6</param>
+ <param name="density-radius-red" gui-text="within a radius (mm) of" type="float" min="0" max="50" indents="1">0.5</param>
+ <spacer />
+ <label appearance="header">Yellow markers</label>
+ <param name="num-neighbors-yellow" gui-text="Number of stitches" gui-description="0 = no density info" type="int" min="0" max="99" indents="1">3</param>
+ <param name="density-radius-yellow" gui-text="within a radius (mm) of" type="float" min="0" max="50">0.5</param>
+ <spacer />
+ <param name="layer-visibility" type="optiongroup" appearance="combo" gui-text="Design layer visibility" indents="1">
+ <option value="0">Unchanged</option>
+ <option value="1">Hidden</option>
+ <option value="2">Lower opacity</option>
+ </param>
+ <script>
+ {{ command_tag | safe }}
+ </script>
+</inkscape-extension>