mightyscape-1.2/extensions/fablabchemnitz/boxes.py/boxes.py.GearBox.inx

51 lines
3.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>GearBox</name>
<id>info.festi.boxes.py.GearBox</id>
<param name="generator" type="string" gui-hidden="true">gearbox</param>
<param name="tab" type="notebook">
<page name="tab_0" gui-text="GearBox">
<param name="teeth1" type="int" max="9999" gui-text="teeth1" gui-description="number of teeth on ingoing shaft">8</param>
<param name="teeth2" type="int" max="9999" gui-text="teeth2" gui-description="number of teeth on outgoing shaft">20</param>
<param name="modulus" type="float" precision="2" max="9999" gui-text="modulus" gui-description="modulus of the theeth in mm">3</param>
<param name="shaft" type="float" precision="2" max="9999" gui-text="shaft" gui-description="diameter of the shaft">6.0</param>
<param name="stages" type="int" max="9999" gui-text="stages" gui-description="number of stages in the gear reduction">4</param>
</page>
<page name="tab_1" gui-text="Default">
<param name="thickness" type="float" precision="2" max="9999" gui-text="thickness" gui-description="thickness of the material">3.0</param>
<param name="tabs" type="float" precision="2" max="9999" gui-text="tabs" gui-description="width of tabs holding the parts in place in mm (not supported everywhere)">0.0</param>
<param name="debug" type="bool" gui-text="debug" gui-description="print surrounding boxes for some structures">false</param>
<param name="labels" type="bool" gui-text="labels" gui-description="label the parts (where available)">true</param>
<param name="reference" type="float" precision="2" max="9999" gui-text="reference" gui-description="print reference rectangle with given length (zero to disable)">100</param>
<param name="burn" type="float" precision="2" max="9999" gui-text="burn" gui-description='burn correction in mm (bigger values for tighter fit). Use BurnTest in "Parts and Samples" to find the right value.'>0.1</param>
</page>
<page name="tab_2" gui-text="Finger Joints">
<param name="FingerJoint_angle" type="float" precision="2" max="9999" gui-text="angle" gui-description="angle">90.0</param>
<param name="FingerJoint_style" type="optiongroup" appearance="combo" gui-text="style" gui-description="style of the fingers">
<option value="rectangular">rectangular</option>
<option value="springs">springs</option>
</param>
<param name="FingerJoint_surroundingspaces" type="float" precision="2" max="9999" gui-text="surroundingspaces" gui-description="maximum space at the start and end in multiple of normal spaces">2.0</param>
<param name="FingerJoint_edge_width" type="float" precision="2" max="9999" gui-text="edge_width" gui-description="space below holes of FingerHoleEdge">1.0</param>
<param name="FingerJoint_finger" type="float" precision="2" max="9999" gui-text="finger" gui-description="width of the fingers">2.0</param>
<param name="FingerJoint_play" type="float" precision="2" max="9999" gui-text="play" gui-description="extra space to allow finger move in and out">0.0</param>
<param name="FingerJoint_space" type="float" precision="2" max="9999" gui-text="space" gui-description="space between fingers">2.0</param>
<param name="FingerJoint_width" type="float" precision="2" max="9999" gui-text="width" gui-description="width of finger holes">1.0</param>
</page>
<page name="tab_3" gui-text="Example">
<image>./GearBox-thumb.jpg</image>
</page>
</param>
<label appearance="url">https://www.festi.info/boxes.py/GearBox</label>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="FabLab Chemnitz Boxes.py">
<submenu name="Parts and Samples"/>
</submenu>
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">boxes_proxy.py</command>
</script>
</inkscape-extension>