From cb0e5c1457210c0baf67cdf39c4844df6cdd0223 Mon Sep 17 00:00:00 2001 From: Adrian Mariano Date: Sat, 21 Dec 2024 19:09:45 -0500 Subject: [PATCH] bugfix --- gears.scad | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gears.scad b/gears.scad index dd3a442..84e5002 100644 --- a/gears.scad +++ b/gears.scad @@ -3353,8 +3353,7 @@ function _gear_tooth_profile( xy = _involute(brad,i), pol = xy_to_polar(xy) ) - if (pol.x <= arad * 1.1) - [pol.x, 90-pol.y] + if (pol.x <= arad * 1.1) [pol.x, 90-pol.y] ], // Generate reverse lookup table for involute radii, by angle @@ -3442,7 +3441,7 @@ function _gear_tooth_profile( if (!internal && round_r<=0) isect_pt, each tooth_half_raw, if (internal && round_r>0) each arc(n=8, r=round_r, corner=rcorner), - if (internal && round_r<=0) isect, + if (internal && round_r<=0) isect_pt, ]), // Strip "jaggies" if found.