mightyscape-1.2/extensions/fablabchemnitz/normalize_drawing_scale/normalize_drawing_scale.inx

18 lines
841 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Normalize Drawing Scale</name>
<id>fablabchemnitz.de.normalize_drawing_scale</id>
<label appearance="header">This will also reset the viewbox origin to x0,y0</label>
<param name="target_scale" type="float" min="0.001" max="9999.000" precision="3" gui-text="Target scale (%)" gui-description="Default is 100%">100.0</param>
<effect needs-live-preview="false">
<object-type>all</object-type>
<effects-menu>
<submenu name="FabLab Chemnitz">
<submenu name="Transformations"/>
</submenu>
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">normalize_drawing_scale.py</command>
</script>
</inkscape-extension>