mdsSpurGear
Simple OpenSCAD script for parametric involute spur gear generation.
Based on Boston Gear design rules https://www.bostongear.com/pdf/gear_theory.pdf
The script has several customizable parameterization options including:
- Number of teeth
- Diametral pitch (default is 24)
- Pressure angle (default is 20)
- Shaft diameter (default is 0.125)
- Gear thickness (default is 0.125)
- Major holes (default is on)
- Minor holes (default is on)
- Number of holes (default is 4)
- Hub thickness ratio (default is 1.0 which means no hub)
- Smooth teeth (Experimental so default is off)
Example images of various gears
24 tooth gear, 24 diametral pitch, major holes enabled
24 tooth gear, 24 diametral pitch, major and minor holes enabled
48 tooth gear, 24 diametral pitch, major and minor holes enabled
10 tooth gear stacked on a 48 tooth gear, 24 diametral pitch, major and minor holes enabled
2D Projection of a 24 tooth gear, 24 diametral pitch, major and minor holes enabled
Collection of gear designs
You can view additional examples at Thingiverse.com
Release Notes
- If you use a hub thickness ratio of greater than 1.0 you will need to consider printing with supports.
- The new experimental smooth_teeth option generates a bezier curve rather than a simple polygon for the tooth profile.
- Unless you need to change the diametral_pitch to match a mating gear the default option is a good choice.
- The tooth thickness seems to be incorrect. It appears to be smaller by a few thousandths, investigating.
- Added !OpenSCAD comment for OpenJSCAD compat