From 4e25e322c64d94e462151499e8e8bf2db649b0ac Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 20 Apr 2025 19:36:33 +0100 Subject: [PATCH] toolbox-inserts: entirely new approach to bevels Signed-off-by: Ian Jackson --- toolbox-inserts.scad | 43 +++++++++++++++++++------------------------ 1 file changed, 19 insertions(+), 24 deletions(-) diff --git a/toolbox-inserts.scad b/toolbox-inserts.scad index 0546122..e5a55ae 100644 --- a/toolbox-inserts.scad +++ b/toolbox-inserts.scad @@ -47,30 +47,25 @@ module WellSurround(half_height, wall=well_surround_wall) { // IOW its z==0 must be where the top of the wall is, // and half_height is the depth of the well below that. - render() difference(){ - union(){ - minkowski(){ - - linextr(-10, half_height - wall/2) - offset($fn=4, r = wall/2) - projection(cut=false) - children(0); - - WallMinkowskiSphere(wall); - - } - } - - translate([0, 0, half_height]) { - children(0); - - minkowski(){ - linextr(0,1) - projection(cut=true) - translate([0,0, wall/2]) - children(0); - - WallMinkowskiInner(wall); + render() { + minkowski(){ + WallMinkowskiSphere(wall); + + difference(){ + union(){ + + linextr(-10, half_height - wall/2) + offset($fn=8, r = wall/2) + projection(cut=false) + children(0); + } + + minkowski(){ + WallMinkowskiSphere(wall); + translate([0, 0, half_height]) { + children(0); + } + } } } } -- 2.30.2