
The axes of two gears must be separated by the sum of their pitch radii to mesh correctly. Look in the console window and you will see the pitch radius of each gear produced. To make a pair of spur gears mesh, they must have the same circular pitch and pressure angle. Update: v5.0 Implements backlash for bevel gears (This was not working in v4.0). The example shows both with the small gear being the flat one. If you don’t specify this parameter you will get a flat gear for pitch angles less than 45 degrees and a back cone gear for pitch angles greater than 45 degrees. Gear_thickness: The thickness of the gear for bevel_gear_back_cone finish (see below).īacklash: Makes the tooth width smaller to make a gap between teeth of correctly spaced gears to allow for manufacturing tolerances.įinish: Specify either bevel_gear_flat(0) or bevel_gear_back_cone(1). Pressure_angle: Defines the shape of the teeth.Ĭlearance: Gap between the tip of the teeth on one gear and the root of the teeth on another meshing gear.īore_diameter: The size of the hole in the middle. Outside_circular_pitch: The circular pitch at the outside pitch diameter. Parametric Involute Profile Bevel (Conical) Gears take the following parameters:Ĭone_distance: The distance from the pitch apex to the outside pitch diameter. If this is omitted it will be 1/4 of $fn. Involute_facets: the number of facets in one side of the involute tooth shape. Hub_thickness: the thickness of the section around the bore.īore_diameter: size of the hole in the middleĬircles: the number of circular holes to cut in the gear plate.īacklash: the space between this the back of this gears teeth and the front of its meshing gear\\’s teeth when the gear is correctly spaced from it. Rim_width: radial distance from the root of the teeth to the inside of the rim. Rim_thickness: the thickness of the gear at the rim (including the teeth). Gear_thickness: the thickness of the gear plate. Pressure_angle: controls the shape of the teeth.Ĭlearance: The gap between the root between teeth and the teeth point on a meshing gear.

Parametric Involute Spur Gears take the following parameters:Ĭircular_pitch or diametral_pitch: controls the size of the teeth (and hence the size of the gear). The STLs provided are not intended for direct use, but instead show examples of what can be done with the parametric script. Thanks also to elmom for some enhancements to my original gear script.Įnhancements include the Bevel gear module, backlash settings, parameterised number of facets for the involute curve and whole of tooth generation to avoid some of the issues the original script had when mirroring a half tooth.
OPENSCAD GEAR CODE
It uses some of the spur gear nomenclature code from TheOtherRob with my own code for generating the involute teeth. It has some major enhancements over my original gear script.

This OpenSCAD script provides modules for both Spur and Bevel Gears.
