50 lines
3.7 KiB
Plaintext
50 lines
3.7 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<inkscape-extension>
|
||
|
<name>Encoder Disk Generator</name>
|
||
|
<id>fablabchemnitz.de.encoder_disk_generator</id>
|
||
|
<param name="tab" type="notebook">
|
||
|
<page name="rotary_enc" gui-text="Rotary encoder">
|
||
|
<param name="diameter" type="float" min="0.0" max="1000.0" gui-text="Diameter of the encoder disk">0.0</param>
|
||
|
<param name="hole_diameter" type="float" min="0.0" max="1000.0" gui-text="Diameter of the center hole">0.0</param>
|
||
|
<param name="segments" type="int" min="1" max="10000" gui-text="Number of segments">1</param>
|
||
|
<param name="outer_encoder_diameter" type="float" min="0.0" max="1000.0" gui-text="Diameter of the outer encoder disk">0.0</param>
|
||
|
<param name="outer_encoder_width" type="float" min="1.0" max="1000.0" gui-text="Width of the outer encoder disk">0.0</param>
|
||
|
<param name="inner_encoder_diameter" type="float" min="0.0" max="1000.0" gui-text="Diameter of the inner encoder disk">0.0</param>
|
||
|
<param name="inner_encoder_width" type="float" min="1.0" max="1000.0" gui-text="Width of the inner encoder disk">0.0</param>
|
||
|
</page>
|
||
|
<page name="brgc" gui-text="Binary reflected gray code (BRGC)">
|
||
|
<param name="brgc_diameter" type="float" min="0.0" max="1000.0" gui-text="Diameter of the encoder disk">0.0</param>
|
||
|
<param name="brgc_hole_diameter" type="float" min="0.0" max="1000.0" gui-text="Diameter of the center hole">0.0</param>
|
||
|
<param name="bits" type="int" min="1" max="32" gui-text="Number of bits/tracks">1</param>
|
||
|
<param name="encoder_diameter" type="float" min="1.0" max="1000.0" gui-text="Outer diameter of the last track">0.0</param>
|
||
|
<param name="track_width" type="float" min="1.0" max="1000.0" gui-text="Width of one track">0.0</param>
|
||
|
<param name="track_distance" type="float" min="0.0" max="1000.0" gui-text="Distance between tracks">0.0</param>
|
||
|
</page>
|
||
|
<page name="stgc" gui-text="Single-track gray code (STGC)">
|
||
|
<param name="stgc_diameter" type="float" min="0.0" max="1000.0" gui-text="Diameter of the encoder disk">0.0</param>
|
||
|
<param name="stgc_hole_diameter" type="float" min="0.0" max="1000.0" gui-text="Diameter of the center hole">0.0</param>
|
||
|
<param name="cutouts" type="int" min="1" max="5" gui-text="Number of cutouts">1</param>
|
||
|
<param name="sensors" type="int" min="1" max="36" gui-text="Number of sensors">1</param>
|
||
|
<param name="stgc_encoder_diameter" type="float" min="1.0" max="1000.0" gui-text="Outer diameter of track">0.0</param>
|
||
|
<param name="stgc_track_width" type="float" min="1.0" max="1000.0" gui-text="Width of one track">0.0</param>
|
||
|
</page>
|
||
|
<page name="bitmap_enc" gui-text="Bitmap encoder">
|
||
|
<param name="bm_diameter" type="float" min="0.0" max="1000.0" gui-text="Diameter of the encoder disk">30.0</param>
|
||
|
<param name="bm_hole_diameter" type="float" min="0.0" max="1000.0" gui-text="Diameter of the center hole">5.0</param>
|
||
|
<param name="bm_bits" type="string" gui-text="Bits for segments">010011110111000010001101</param>
|
||
|
<param name="bm_outer_encoder_diameter" type="float" min="0.0" max="1000.0" gui-text="Diameter of the outer encoder disk">25.0</param>
|
||
|
<param name="bm_outer_encoder_width" type="float" min="1.0" max="1000.0" gui-text="Width of the outer encoder disk">10.0</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_encoder_disk_generator.py</command>
|
||
|
</script>
|
||
|
</inkscape-extension>
|