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-1.1-deprecated/extensions/fablabchemnitz/gears2/fablabchemnitz_gears2.inx

51 lines
2.3 KiB
Plaintext
Raw Normal View History

2020-07-30 01:16:18 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
2020-08-13 14:51:38 +02:00
<name>Gears2</name>
2020-07-30 01:16:18 +02:00
<id>fablabchemnitz.de.gears2</id>
<param name="tab" type="notebook">
2020-08-13 14:51:38 +02:00
<page name="Options" gui-text="Options">
<param name="teeth" type="int" min="6" max="500" gui-text="Number of teeth">24</param>
<param name="pressure_angle" type="float" min="1" max="40" gui-text="Pressure angle">20</param>
<param name="size_type" type="optiongroup" appearance="combo" gui-text="Size type">
<option value="1">Module (mm)</option>
<option value="2">Pitch diameter (inches)</option>
<option value="3">Diametral pitch (inches)</option>
2020-07-30 01:16:18 +02:00
</param>
2020-08-13 14:51:38 +02:00
<param name="size" type="float" min="0.01" max="500" gui-text="Size">5</param>
<param name="orientation" type="optiongroup" appearance="combo" gui-text="Gear orientation">
<option value="1">External</option>
<option value="2">Internal</option>
2020-07-30 01:16:18 +02:00
</param>
</page>
2020-08-13 14:51:38 +02:00
<page name="Help" gui-text="Help">
2020-07-30 01:16:18 +02:00
<param name="help_text" type="description">
Number of teeth: Exactly what it sounds like.
Pressure angle: The angle in degrees of pressure between teeth in contact. The higher this is, the wider and more triangular the teeth will be. This can make them stronger but also less tolerant of manufacturing errors and misalignment. Common values are 14.5, 20 and 25.
Size type: These are three common methods for determining the size of a gear. Module is the ratio of the pitch diameter in mm to the number of the teeth. Pitch diameter is the diameter in inches of the theoretical reference circle. Diametral pitch is the ratio of number of teeth to the pitch diameter in inches.
Size: The value in the appropriate units for whichever size type was chosen.
Orientation: External or internal. (Probably external.)
This extension is based on gearUtils-03.js by Dr A.R.Collins.
Latest version: www.arc.id.au/gearDrawing.html
</param>
</page>
</param>
<effect needs-live-preview="true">
<object-type>all</object-type>
<effects-menu>
2020-08-13 14:51:38 +02:00
<submenu name="FabLab Chemnitz">
<submenu name="Gears"/>
2020-07-30 01:16:18 +02:00
</submenu>
</effects-menu>
</effect>
<script>
2020-08-13 14:51:38 +02:00
<command location="inx" interpreter="python">fablabchemnitz_gears2.py</command>
2020-07-30 01:16:18 +02:00
</script>
</inkscape-extension>