From 4857fc087d7050397dd1b3a2d7a6a79d9aed4a9e Mon Sep 17 00:00:00 2001 From: Garth Minette Date: Thu, 22 Oct 2020 01:33:45 -0700 Subject: [PATCH] Modular gear2d(mod=) bugfix. --- involute_gears.scad | 2 ++ version.scad | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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