From 56a883ed8fccf97383ef71fb2c337136e21c1c28 Mon Sep 17 00:00:00 2001 From: Adrian Mariano Date: Thu, 16 Nov 2023 19:41:11 -0500 Subject: [PATCH] minor cleanup --- regions.scad | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/regions.scad b/regions.scad index 6dd52e8..514c397 100644 --- a/regions.scad +++ b/regions.scad @@ -1021,15 +1021,13 @@ function offset( || !outsidecorner[i] // Don't round inside corners || (!closed && (i==0 || i==len(goodsegs)-1)) // Don't round ends of an open path ? (is_def(sharpcorners[i]) ? [sharpcorners[i]] : basepts) - : chamfer //&& is_def(sharpcorners[i]) - ? _offset_chamfer( + : chamfer ? _offset_chamfer( goodpath[i], [ select(goodsegs,i-1)[1], sharpcorners[i], goodsegs[i][0] ], d ) - : chamfer ? basepts : // rounded case let( class =_tri_class( [ each select(goodsegs,i-1), goodsegs[i][0]]),