This repository has been archived on 2023-03-25. You can view files and clone it, but cannot push or open issues or pull requests.
mightyscape-0.92-deprecated/extensions/fablabchemnitz_exponential_x.inx
2019-11-14 20:09:28 +01:00

24 lines
1.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Exponential X-Axis</_name>
<id>fablabchemnitz.de.exponential_x</id>
<dependency type="executable" location="extensions">fablabchemnitz_exponential_x.py</dependency>
<dependency type="executable" location="extensions">inkex.py</dependency>
<param name="settings_what" type="description" xml:space="preserve">This exponential-x-axis extension distorts objects along the x-axis. The bounding box remains unchanged. Inner points move leftwards when the exponent is &gt; 1 and rightwards when it is &lt; 1. This can be used to create a logarithmic scale.</param>
<param name="exponent" type="float" min="0.01" max="100" precision="2" gui-text="Exponent: ">1.33</param>
<param name="padding" type="float" min="0" max="500" precision="0" gui-text="Padding [%]: ">0</param>
<param name="padding_what" type="description" xml:space="preserve">Apply padding to soften the effect. Without padding the exponential curve runs from 0 to 1. With e.g. 100% padding it runs from 0.5 to 1.</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu _name="FabLab Chemnitz">
<submenu _name="Modify existing Path(s)" />
</submenu>
</effects-menu>
</effect>
<script>
<command reldir="extensions" interpreter="python">fablabchemnitz_exponential_x.py</command>
</script>
</inkscape-extension>