2020-07-30 01:16:18 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
2020-08-07 20:19:46 +02:00
<name>Scale To Path Length</name>
2020-07-30 01:16:18 +02:00
<id>fablabchemnitz.de.paste_length</id>
<param name="tab" type="notebook">
2020-08-07 20:19:46 +02:00
<page name="pasteLength" gui-text="Paste Length">
<param name="scaleFrom" type="optiongroup" appearance="combo" gui-text="Scale From:">
2020-07-30 01:16:18 +02:00
<_item value="center">Center</_item>
<_item value="topLeft">Top Left</_item>
<_item value="topRight">Top Right</_item>
<_item value="bottomLeft">Bottom Left</_item>
<_item value="bottomRight">Bottom Right</_item>
</param>
2020-08-07 20:19:46 +02:00
<param name="scale" type="float" gui-text="Scale Factor:">1</param>
<param name="precision" type="int" default="5" min="0" max="10" gui-text="Precision:">5</param>
2020-07-30 01:16:18 +02:00
</page>
2020-08-07 20:19:46 +02:00
<page name="desc" gui-text="Help">
<param name="pasteLengthhelp" type="description" xml:space="preserve">This effect makes the length of all the destination paths the same as that of the source path, while maintaining their shapes. The source is the topmost path in the selection. Precision field denotes the number of significant digits, to which the length is rounded.
</param>
2020-07-30 01:16:18 +02:00
</page>
</param>
<effect>
<object-type>path</object-type>
<effects-menu>
2020-08-07 20:19:46 +02:00
<submenu name="FabLab Chemnitz">
<submenu name="Modify existing Path(s)"/>
2020-07-30 01:16:18 +02:00
</submenu>
</effects-menu>
</effect>
<script>
2020-08-13 14:51:38 +02:00
<command location="inx" interpreter="python">fablabchemnitz_paste_length.py</command>
2020-07-30 01:16:18 +02:00
</script>
</inkscape-extension>