Back to docs

Intermittent Spur Gear
A prpol intermittent_spur_gear part

The missing_teeth parameter of intermittent_spur_gear() cuts a wedge of teeth out of an otherwise standard gear.

Customizing intermittent_spur_gear with OpenSCAD parameters

intermittent_spur_gear builds a full plain_spur_gear, then cuts a wedge of teeth out of it:

intermittent_spur_gear( size = 5, missing_teeth = 7, thickness = 10, axis_bore_diameter = global_default_hole_diameter, chamfer_depth = 2, nut_clearance = 0.1, nut_width = global_default_nut_width, nut_thickness = 2.25, nut_offset = 3.5, lock_bore_diameter = global_default_hole_diameter, lock_screw_cap_diameter = 5.6, hub_diameter = 17, rim_thickness = 8, spoke_count = 4, spoke_width = 7, do_nut_pocket = true, echo_parameters = true );
size the nominal gear size in 1 cm units (default 5).
missing_teeth how many teeth are cut out of the wedge (default 7).
thickness gear thickness in mm (default 10).
axis_bore_diameter center bore diameter in mm (default global_default_hole_diameter, 3.2 mm, sized for m3 screws).
chamfer_depth how deep the rim chamfer cuts in mm (default 2).
nut_clearance extra clearance around the nut pocket in mm (default 0.1).
nut_width nut width across flats in mm (default global_default_nut_width, 5.5 mm, sized for m3 nuts).
nut_thickness nut thickness in mm (default 2.25).
nut_offset distance from the lock bore center to the nut pocket center in mm (default 3.5).
lock_bore_diameter diameter of the lock screw bore on the rim in mm (default global_default_hole_diameter, 3.2 mm).
lock_screw_cap_diameter diameter of the lock screw cap recess in mm (default 5.6).
hub_diameter central hub diameter in mm (default 17).
rim_thickness radial thickness of the rim between the teeth and the spoke cutouts in mm (default 8).
spoke_count number of spokes (default 4).
spoke_width spoke width in mm (default 7).
do_nut_pocket when true (default), a nut pocket is cut under the lock bore so an m3 nut sits flush.
echo_parameters when true (default), the OpenSCAD console echoes the full parameter list when you preview or render the module.

If you leave a parameter out of the module call, that parameter will just have the default value. For example, these are all valid module calls:

intermittent_spur_gear(); intermittent_spur_gear(missing_teeth=14); intermittent_spur_gear(size=6, missing_teeth=10);