summaryrefslogtreecommitdiffstats
path: root/share/extensions/pathscatter.inx
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:29:01 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:29:01 +0000
commit35a96bde514a8897f6f0fcc41c5833bf63df2e2a (patch)
tree657d15a03cc46bd099fc2c6546a7a4ad43815d9f /share/extensions/pathscatter.inx
parentInitial commit. (diff)
downloadinkscape-upstream.tar.xz
inkscape-upstream.zip
Adding upstream version 1.0.2.upstream/1.0.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'share/extensions/pathscatter.inx')
-rw-r--r--share/extensions/pathscatter.inx39
1 files changed, 39 insertions, 0 deletions
diff --git a/share/extensions/pathscatter.inx b/share/extensions/pathscatter.inx
new file mode 100644
index 0000000..0e06d3a
--- /dev/null
+++ b/share/extensions/pathscatter.inx
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Scatter</name>
+ <id>org.inkscape.path.path_scatter</id>
+ <dependency type="file" location="inx">pathmodifier.py</dependency>
+ <param name="tab" type="notebook">
+ <page name="Options" gui-text="Options">
+ <param name="follow" type="bool" gui-text="Follow path orientation">false</param>
+ <param name="stretch" type="bool" gui-text="Stretch spaces to fit skeleton length">false</param>
+ <param name="space" type="float" gui-text="Space between copies:" min="-10000.0" max="10000.0">0.0</param>
+ <param name="noffset" type="float" gui-text="Normal offset:" min="-10000.0" max="10000.0">0.0</param>
+ <param name="toffset" type="float" gui-text="Tangential offset:" min="-10000.0" max="10000.0">0.0</param>
+ <param name="vertical" type="bool" gui-text="Pattern is vertical">false</param>
+ <param name="copymode" type="optiongroup" appearance="combo" gui-text="Original pattern will be:">
+ <option value="move">Moved</option>
+ <option value="copy">Copied</option>
+ <option value="clone">Cloned</option>
+ </param>
+ <param name="duplicate" type="bool" gui-text="Duplicate the pattern before deformation">true</param>
+ <param name="grouppick" type="bool" gui-text="If pattern is a group, pick group members">false</param>
+ <param name="pickmode" type="optiongroup" appearance="combo" gui-text="Pick group members:">
+ <option value="rand">Randomly</option>
+ <option value="seq">Sequentially</option>
+ </param>
+ </page>
+ <page name="Help" gui-text="Help">
+ <label>This effect scatters a pattern along arbitrary "skeleton" paths. The pattern must be the topmost object in the selection. Groups of paths, shapes, clones are allowed.</label>
+ </page>
+ </param>
+ <effect>
+ <object-type>all</object-type>
+ <effects-menu>
+ <submenu name="Generate from Path"/>
+ </effects-menu>
+ </effect>
+ <script>
+ <command location="inx" interpreter="python">pathscatter.py</command>
+ </script>
+</inkscape-extension>