diff --git a/involute_gears.scad b/involute_gears.scad index fd80efe..c3fe21e 100644 --- a/involute_gears.scad +++ b/involute_gears.scad @@ -370,7 +370,7 @@ module gear ( half_thick_angle = half_thick_angle, involute_facets=involute_facets); - if (gear_thickness < rim_thickness) + if (flat == false && gear_thickness < rim_thickness) translate ([0,0,gear_thickness]) cylinder (r=rim_radius,h=rim_thickness-gear_thickness+1); }