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_render_scale.inx

55 lines
3.3 KiB
Plaintext
Raw Normal View History

2019-11-14 20:05:10 +01:00
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension ns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Vertical / Horizontal Scale</_name>
<id>fablabchemnitz.de.render_scale</id>
<dependency type="executable" location="extensions">inkex.py</dependency>
<dependency type="executable" location="extensions">fablabchemnitz_render_scale.py</dependency>
<param name="desc_global" type="description">Generates scales</param>
<param name="desc_global" type="description">*********************************</param>
<param name="desc_global" type="description">Global parameters</param>
<param name="scalefrom" type="int" _gui-text="Scale from:" min="-32000" max="32000">-10</param>
<param name="scaleto" type="int" _gui-text="Scale to:" min="-32000" max="32000">10</param>
<param name="reverse" type="boolean" _gui-text="Reverse order:">false</param>
<param name="rotate" type="enum" _gui-text="Rotate:">
<item value="0">0°</item>
<item value="90">90°</item>
</param>
<param name="scaleres" type="int" _gui-text="Scale resolution (units per marker):" min="1" max="32000">1</param>
<param name="scaleheight" type="int" _gui-text="Scale Height (unit):" min="1" max="32000">7</param>
<param name="desc_labels" type="description">Labels</param>
<param name="fontsize" type="int" _gui-text="Fontsize (pixel):" min="1" max="32000">12</param>
<param name="desc_global" type="description">Suffix currently doesn't support several special characters</param>
<param name="suffix" type="string" _gui-text="Label suffix:"></param>
<param name="labeloffseth" type="int" _gui-text="Label offset horizontal (pixel):" min="-32000" max="32000">0</param>
<param name="labeloffsetv" type="int" _gui-text="Label offset vertical (pixel):" min="-32000" max="32000">10</param>
<param name="desc_markers" type="description">Markers</param>
<param name="mark0" type="int" _gui-text="Div of labeled marker :" min="1" max="32000">10</param>
<param name="mark0str" type="float" _gui-text="Strength of labeled marker (pixel):" min="0.0001" max="32000">2.0</param>
<param name="mark1" type="int" _gui-text="Div of bold marker:" min="1" max="32000">5</param>
<param name="mark1str" type="float" _gui-text="Strength of bold marker (pixel):" min="0.0001" max="32000">2.0</param>
<param name="mark1wid" type="int" _gui-text="Width of bold marker (%):" min="0" max="100">75</param>
<param name="mark2" type="int" _gui-text="Div of default marker:" min="1" max="32000">1</param>
<param name="mark2str" type="float" _gui-text="Strength of default marker (pixel):" min="0.0001" max="32000">1.0</param>
<param name="mark2wid" type="int" _gui-text="Width of default marker (%):" min="0" max="100">50</param>
<param name="desc_unit" type="description">Units</param>
<param name="unit" type="enum" _gui-text="Unit:">
<item value="mm">mm</item>
<item value="cm">cm</item>
<item value="in">inch</item>
<item value="px">pixel</item>
<item value="pt">point</item>
</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu _name="FabLab Chemnitz">
<submenu _name="Shape/Pattern from Generator"/>
</submenu>
</effects-menu>
</effect>
<script>
<command reldir="extensions" interpreter="python">fablabchemnitz_render_scale.py</command>
</script>
</inkscape-extension>