diff --git a/involute_gears.scad b/involute_gears.scad index e5b0f18..86528b1 100644 --- a/involute_gears.scad +++ b/involute_gears.scad @@ -427,9 +427,11 @@ module gear2d( clearance = undef, backlash = 0.0, interior = false, + mod, anchor = CENTER, spin = 0 ) { + pitch = is_undef(mod) ? pitch : pitch_value(mod); path = gear2d( pitch = pitch, teeth = teeth, diff --git a/version.scad b/version.scad index 66213cb..b3a3b8b 100644 --- a/version.scad +++ b/version.scad @@ -8,7 +8,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,458]; +BOSL_VERSION = [2,0,459]; // Section: BOSL Library Version Functions