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

95 lines
5.7 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">
<_name>Gear-dev</_name>
<id>fablabchemnitz.de.gears_dev</id>
<param name="active_tab" type="notebook">
<page name="Gear" _gui-text="Gears">
<param name="teeth" type="int" min="3" max="1200" _gui-text="Number of teeth (3..1200)">24</param>
<param name="dimension" type="float" min="0.0001" max="1000.0" precision="5" _gui-text="Tooth size (Module, CP, DP)">1.0</param>
<param name="units" type="optiongroup" appearance="minimal" _gui-text="Units">
<option value="mm">mm</option>
<option value="cm">cm</option>
<option value="in">in</option>
<option value="pt">pt</option>
<option value="px">px</option>
</param>
<param name="system" _gui-text="Tooth system" type="optiongroup">
<_option value="MM">Module</_option>
<_option value="CP">Circular Pitch</_option>
<_option value="DP">Diametral Pitch</_option>
</param>
<_param name="help" type="description" xml:space="preserve">------------------------------</_param>
<param name="angle" type="float" min="5.0" max="45.0" precision="1" _gui-text="Pressure angle (5..45)">20.0</param>
<param name="centercross" type="boolean" _gui-text="Draw center cross">false</param>
<param name="pitchcircle" type="boolean" _gui-text="Draw pitch circle (for meshing)">false</param>
<param name="annotation" type="boolean" _gui-text="Draw annotation text">false</param>
</page>
<page name="advanced" _gui-text="Advanced options">
<param name="clearance" type="float" min="0" max="100" precision="3" _gui-text="Clearance (bottom)">0</param>
<param name="profile_shift" type="float" min="-50" max="50" precision="1" _gui-text="Profile shift [% of module]">0</param>
<param name="internal_ring" type="boolean" _gui-text="Ring gear (Internal gear)">false</param>
<param name="mount_hole" type="float" min="0" max="100" precision="3" _gui-text="Mount hole diameter">4.0</param>
<param name="spoke_count" type="int" min="0" max="100" _gui-text="Number of spokes">3</param>
<param name="spoke_width" type="float" min=".01" max="1000" precision="3" _gui-text="Spoke, rim (or ring) width">3.0</param>
<param name="mount_diameter" type="float" min=".01" max="1000" precision="3" _gui-text="Mount support diameter">10.0</param>
<!-- unused parameter
<param name="holes-rounding" type="float" min="0" max="1000" precision="5" _gui-text="Holes rounding">.5</param>
-->
<param name="accuracy" type="enum" _gui-text="Tooth accuracy">
<item value="0">automatic</item>
<item value="20">20 points: best</item>
<item value="12">12 points: medium</item>
<item value="6">6 points: low</item>
</param>
<_param name="help" type="description">Use higher accuracy with lower tooth count. Set Number of spokes to 0 to disable. Set Mount hole diameter to 0 to disable.</_param>
</page>
<page name="rack" _gui-text="Rack">
<param name="draw_rack" type="boolean" _gui-text="Draw rack">false</param>
<param name="rack_teeth_length" type="int" min="1" max="500" _gui-text="Rack length (teeth)">10</param>
<param name="rack_base_height" type="float" min="0.1" max="100" precision="3" _gui-text="Height of base">5</param>
<param name="rack_base_tab" type="float" min="0" max="100" precision="3" _gui-text="Length of end tab">5</param>
<_param name="packing" type="description" xml:space="preserve">The matching rack gear is drawn additionally and below the spur gear.
</_param>
</page>
<page name="Usage1" _gui-text="Usage-core">
<_param name="gearuse" type="description" xml:space="preserve">Gears:
Be sure to set the document properties to inches or mm if you want real-world dimensions.
For gears to mesh - the size of the teeth on each gear must be the same.
This is why tooth count and Circular Pitch or Metric Module is used to define gears and not radius.
The Circular Pitch, p, is the distance between adjacent teeth around the Pitch Circle.
p = pi * D / z
- where z is the number of teeth on a gear of pitch diameter D.
The SI measure is the Module - which expresses the core ratio of Pitch Diameter to number of Teeth:
m = p / pi = D / z
where:
- Pitch Circle: Radius is equal to the distance from the center of the gear to the pitch point.
- Pitch Point: The point of tangency of the pitch circles of two meshing gears.
</_param>
</page>
<page name="Usage2" _gui-text="Usage-adv">
<_param name="gearuse2" type="description" xml:space="preserve">Gears:
Pressure angle [in degrees]. Usually 20. Historical: 14.5; High torque gears: 25.
The higher the pressure angle, the stronger the teeth. With higher pressure angles, more effort is needed to turn the gears (due to friction).
Caution: Undercut is currently not generated. E.g. a gear at pressure angle 20 deg and less than 17 teeth would either need a (negative!) profile shifting or will cause undercut. We only produce a warning.
</_param>
<param name="undercut_alert" type="boolean" _gui-text="Confirm gear with undercut">true</param>
</page>
</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu _name="FabLab Chemnitz">
<submenu _name="Gears" />
</submenu>
</effects-menu>
</effect>
<script>
<command reldir="extensions" interpreter="python">fablabchemnitz_gears_dev.py</command>
</script>
</inkscape-extension>