Modular gear2d(mod=) bugfix.

This commit is contained in:
Garth Minette 2020-10-22 01:33:45 -07:00
parent 2132b3d5b3
commit 4857fc087d
2 changed files with 3 additions and 1 deletions

View File

@ -427,9 +427,11 @@ module gear2d(
clearance = undef, clearance = undef,
backlash = 0.0, backlash = 0.0,
interior = false, interior = false,
mod,
anchor = CENTER, anchor = CENTER,
spin = 0 spin = 0
) { ) {
pitch = is_undef(mod) ? pitch : pitch_value(mod);
path = gear2d( path = gear2d(
pitch = pitch, pitch = pitch,
teeth = teeth, teeth = teeth,

View File

@ -8,7 +8,7 @@
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
BOSL_VERSION = [2,0,458]; BOSL_VERSION = [2,0,459];
// Section: BOSL Library Version Functions // Section: BOSL Library Version Functions