From: Ian Jackson Date: Sun, 20 Apr 2025 18:36:33 +0000 (+0100) Subject: toolbox-inserts: entirely new approach to bevels X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=4e25e322c64d94e462151499e8e8bf2db649b0ac;p=reprap-play.git toolbox-inserts: entirely new approach to bevels Signed-off-by: Ian Jackson --- 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); + } + } } } }