summaryrefslogtreecommitdiffstats
path: root/share/extensions/spirograph.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/spirograph.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/spirograph.inx')
-rw-r--r--share/extensions/spirograph.inx23
1 files changed, 23 insertions, 0 deletions
diff --git a/share/extensions/spirograph.inx b/share/extensions/spirograph.inx
new file mode 100644
index 0000000..bf5e764
--- /dev/null
+++ b/share/extensions/spirograph.inx
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Spirograph</name>
+ <id>org.ekips.filter.spirograph</id>
+ <param name="primaryr" type="float" min="0.0" max="1000.0" gui-text="R - Ring Radius (px):">100.0</param>
+ <param name="secondaryr" type="float" min="0.0" max="1000.0" gui-text="r - Gear Radius (px):">60.0</param>
+ <param name="penr" type="float" min="0.0" max="1000.0" gui-text="d - Pen Radius (px):">50.0</param>
+ <param name="gearplacement" type="optiongroup" appearance="combo" gui-text="Gear Placement:">
+ <option value="inside">Inside (Hypotrochoid)</option>
+ <option value="outside">Outside (Epitrochoid)</option>
+ </param>
+ <param name="rotation" type="float" min="-360.0" max="360.0" gui-text="Rotation (deg):">0.0</param>
+ <param name="quality" type="int" min="1" max="100" gui-text="Quality (Default = 16):">16</param>
+ <effect>
+ <object-type>all</object-type>
+ <effects-menu>
+ <submenu name="Render"/>
+ </effects-menu>
+ </effect>
+ <script>
+ <command location="inx" interpreter="python">spirograph.py</command>
+ </script>
+</inkscape-extension>