chiark / gitweb /
toolbox-inserts: well rounded edge, wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 27 Apr 2025 11:44:18 +0000 (12:44 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 27 Apr 2025 11:44:18 +0000 (12:44 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
toolbox-inserts.scad

index 04e6553fd9b5dfb0d3ebeb7c3b16afe008c45601..26ea28bf59a3b4dfc1889969453952452d04cbfc 100644 (file)
@@ -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);