From: Ian Jackson Date: Mon, 21 Apr 2025 10:31:38 +0000 (+0100) Subject: toolbox-inserts: formatting and remove extraneous render X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=8933ea572fc1af1898378f842960e0c25a4a7a97;p=reprap-play.git toolbox-inserts: formatting and remove extraneous render Signed-off-by: Ian Jackson --- diff --git a/toolbox-inserts.scad b/toolbox-inserts.scad index 465f9ce..bbb1537 100644 --- a/toolbox-inserts.scad +++ b/toolbox-inserts.scad @@ -51,36 +51,30 @@ module WellSurround(half_height, gaps, 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(){ - - render() { + render() difference(){ // minkowski(){ // WallMinkowskiSphere(wall); - difference(){ - linextr(-10, half_height) - offset($fn=8, r = wall) - projection(cut=false) - children(0); + difference(){ + linextr(-10, half_height) + offset($fn=8, r = wall) + projection(cut=false) + children(0); // minkowski(){ // WallMinkowskiSphere(wall); - translate([0, 0, half_height]) { - children(0); - } + translate([0, 0, half_height]) { + children(0); + } // } - for (gap=gaps) { - linextr_x_yz(gap[0], gap[1]) - rectfromto([ -100, well_stiffening_height ], [ 100,100 ]); - } + for (gap=gaps) { + linextr_x_yz(gap[0], gap[1]) + rectfromto([ -100, well_stiffening_height ], [ 100,100 ]); } } -// } - - render() linextr(-100, -0.1) square(1000, center=true); + linextr(-100, -0.1) square(1000, center=true); } }