33 lines
1.4 KiB
Plaintext
33 lines
1.4 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
|
||
|
<_name>Scale To Size</_name>
|
||
|
<id>fablabchemnitz.de.scaletosize</id>
|
||
|
<param name="unit" _gui-text="Unit" type="optiongroup">
|
||
|
<option value="mm">mm</option>
|
||
|
<option value="cm">cm</option>
|
||
|
<option value="m">m</option>
|
||
|
<option value="in">in</option>
|
||
|
<option value="pt">pt</option>
|
||
|
<option value="px">px</option>
|
||
|
</param>
|
||
|
<param name="expected_size" type="float" min="0.001" max="10000.0" _gui-text="Expected size: ">10.0</param>
|
||
|
<param name="scale_type" type="optiongroup" _gui-text="Scaling type: ">
|
||
|
<option value="Horizontal">Horizontal</option>
|
||
|
<option value="Vertical">Vertical</option>
|
||
|
<option value="Uniform">Uniform</option>
|
||
|
</param>
|
||
|
<page name="desc" _gui-text="Help">
|
||
|
<_param name="description" type="description" xml:space="preserve">This effect will measure the selected paths and scale them to have the given size. Does not work for objects (you need to convert)!</_param>
|
||
|
</page>
|
||
|
<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_scaletosize.py</command>
|
||
|
</script>
|
||
|
</inkscape-extension>
|