diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:24:48 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:24:48 +0000 |
commit | cca66b9ec4e494c1d919bff0f71a820d8afab1fa (patch) | |
tree | 146f39ded1c938019e1ed42d30923c2ac9e86789 /share/extensions/render_gears.inx | |
parent | Initial commit. (diff) | |
download | inkscape-cca66b9ec4e494c1d919bff0f71a820d8afab1fa.tar.xz inkscape-cca66b9ec4e494c1d919bff0f71a820d8afab1fa.zip |
Adding upstream version 1.2.2.upstream/1.2.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | share/extensions/render_gears.inx | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/share/extensions/render_gears.inx b/share/extensions/render_gears.inx new file mode 100644 index 0000000..94623d9 --- /dev/null +++ b/share/extensions/render_gears.inx @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension"> + <name>Gear</name> + <id>org.ekips.filter.gears</id> + <param name="teeth" type="int" min="6" max="360" gui-text="Number of teeth:">24</param> + <param name="pitch" type="float" min="0.0" max="1000.0" gui-text="Circular pitch (tooth size):">20.0</param> + <param name="angle" type="float" min="10.0" max="30.0" gui-text="Pressure angle (degrees):">20.0</param> + <param name="centerdiameter" type="float" min="0.0" max="1000.0" gui-text="Diameter of center hole (0 for none):">20.0</param> + <param name="unit" gui-text="Units:" type="optiongroup" appearance="combo"> + <option value="px">px</option> + <option value="in">in</option> + <option value="mm">mm</option> + </param> + <label>Unit of measurement for both circular pitch and center diameter.</label> + <effect> + <object-type>all</object-type> + <effects-menu> + <submenu name="Render"> + <submenu name="Gear"/> + </submenu> + </effects-menu> + </effect> + <script> + <command location="inx" interpreter="python">render_gears.py</command> + </script> +</inkscape-extension> |