From: Ian Jackson Date: Mon, 21 Apr 2025 10:39:32 +0000 (+0100) Subject: toolbox-inserts: WellSurround: prep for screws X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=f0511a52108b4a20b448958ed8c416ee4a71406e;p=reprap-play.git toolbox-inserts: WellSurround: prep for screws Signed-off-by: Ian Jackson --- diff --git a/toolbox-inserts.scad b/toolbox-inserts.scad index b3fde40..48041ce 100644 --- a/toolbox-inserts.scad +++ b/toolbox-inserts.scad @@ -50,7 +50,8 @@ module WellSurround( half_height, // gaps for picking up object, [ [ x_min, x_max ], ... ] gaps, - // screw locations in stride units, [ [screw_xu, screw_yu], ... ] + // screw locations in stride units, [ [ [screw_xu, screw_yu], ...], ... ] + // in hull groups (screw receptacles are hulled within each group) screws, // offset=[x,y] moves the whole thing by that amount, but not the screws offset, @@ -62,10 +63,15 @@ module WellSurround( // WallMinkowskiSphere(wall); translate(concat(offset, [0])) difference(){ - linextr(-10, half_height) - offset($fn=8, r = wall) - projection(cut=false) - children(0); + union(){ + linextr(-10, half_height){ + offset($fn=8, r = wall) + projection(cut=false) + children(0); + } + + + } // minkowski(){ // WallMinkowskiSphere(wall);