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/fablabchemnitz_render_knob_scale.inx

52 lines
3.1 KiB
Plaintext
Raw Normal View History

2019-11-14 20:05:10 +01:00
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Knob Scale</_name>
<id>fablabchemnitz.de.render_knob_scale</id>
<dependency type="executable" location="extensions">fablabchemnitz_render_knob_scale.py</dependency>
<dependency type="executable" location="extensions">inkex.py</dependency>
<param name="tab" type="notebook">
<page name="general_settings" gui-text="General">
<param name="x" type="int" min="-1000" max="10000" _gui-text="Center X:">0</param>
<param name="y" type="int" min="-1000" max="10000" _gui-text="Center Y:">0</param>
<param name="radius" type="int" min="10" max="10000" _gui-text="Knob size:">200</param>
<param name="angle" type="float" min="90.0" max="360.0" _gui-text="Angle">300</param>
<param name="linewidth" type="int" min="1" max="100" _gui-text="Line width">1</param>
<param name="draw_arc" type="boolean" gui-text="Draw Arc">true</param>
<param name="draw_centering_circle" type="boolean" gui-text="Draw Centering Circle">false</param>
<param name="units" type="enum" gui-text="Units">
<item value="px">px</item>
<item value="mm">mm</item>
</param>
</page>
<page name="ticks_settings" gui-text="Marks">
<param name="n_ticks" type="int" min="2" max="100" _gui-text="Number of tick marks:">11</param>
<param name="ticksize" type="int" min="1" max="1000" _gui-text="Tick size: ">22</param>
<param name="n_subticks" type="int" min="0" max="100" _gui-text="Number of subticks:">6</param>
<param name="subticksize" type="int" min="1" max="1000" _gui-text="Subtick size: ">11</param>
<param name="style" type="enum" gui-text="Scale style">
<item value="marks_inwards">Marks inwards</item>
<item value="marks_outwards">Marks outwards</item>
<item value="marks_circles">Dots</item>
</param>
</page>
<page name="labels_settings" gui-text="Labels">
<param name="labels_enabled" type="boolean" gui-text="Enable labels">false</param>
<param name="rounding_level" type="int" min="0" max="100" _gui-text="Rounding Float to">0</param>
<param name="text_size" type="int" min="1" max="100" _gui-text="Labels size">30</param>
<param name="text_offset" type="int" min="-1000" max="1000" _gui-text="Offset">30</param>
<param name="start_value" type="float" min="-10000" max="10000" _gui-text="Start Value">-100</param>
<param name="stop_value" type="float" min="-10000" max="10000" _gui-text="Stop Value">100</param>
</page>
</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_knob_scale.py</command>
</script>
</inkscape-extension>