From 2d1a97c307bda22ac5769303915826aac35ae308 Mon Sep 17 00:00:00 2001 From: gizmoplex Date: Sat, 5 Dec 2015 17:57:25 -0500 Subject: [PATCH] In gear module, change default for clearance to 'undef'. --- involute_gears.scad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/involute_gears.scad b/involute_gears.scad index 2b98168..b565b1b 100644 --- a/involute_gears.scad +++ b/involute_gears.scad @@ -297,7 +297,7 @@ module gear ( number_of_teeth=15, circular_pitch=undef, diametral_pitch=undef, pressure_angle=28, - clearance = false, + clearance = undef, gear_thickness=5, rim_thickness=8, rim_width=5, @@ -318,7 +318,7 @@ module gear ( circular_pitch = (circular_pitch!=undef?circular_pitch:pi/diametral_pitch); // Calculate default clearance if not specified - clearance = (clearance!=false?clearance:0.25 * circular_pitch / pi); + clearance = (clearance!=undef?clearance:0.25 * circular_pitch / pi); // Pitch diameter: Diameter of pitch circle. pitch_diameter = number_of_teeth * circular_pitch / pi;