From 256fd91f8a778246864c0fc6be3be893f8da2555 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 27 Apr 2025 12:44:18 +0100 Subject: [PATCH] toolbox-inserts: well rounded edge, wip Signed-off-by: Ian Jackson --- toolbox-inserts.scad | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/toolbox-inserts.scad b/toolbox-inserts.scad index 04e6553..26ea28b 100644 --- a/toolbox-inserts.scad +++ b/toolbox-inserts.scad @@ -77,6 +77,11 @@ module FixingSurround() { circle(r= fixing_receptacle_d/2); } +module WellSurroundGapElevation(z_bottom, z_edge, z_wayhigh, gap) { + rectfromto([ gap[0], z_bottom ], + [ gap[1], z_wayhigh ]); +} + // WellSurround(...) { // SomethingPositive(); // } @@ -124,6 +129,11 @@ module WellSurround( children(0); } + for (gap=gaps) { +// linextr_y_xz(-100, 100) +// WellSurroundGapElevation(well_stiffening_height, dz, 100, gaps); + } + translate(concat(offset, [0])) for (gap=gaps) { linextr_x_yz(gap[0], gap[1]) rectfromto([ -100, well_stiffening_height ], [ 100,100 ]); @@ -297,6 +307,10 @@ module FixingDemo() { ////toplevel } } +module WellSurroundGapElevationDemo() { ////toplevel + WellSurroundGapElevation(well_stiffening_height, 20, 50, [0, 50]); +} + module OdAt(x,y) { translate(fixing_pitch * [x,y,0]) children(0); -- 2.30.2