chiark / gitweb /
toolbox-inserts: wip inner bevel
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 20 Apr 2025 17:58:30 +0000 (18:58 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 20 Apr 2025 17:58:30 +0000 (18:58 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
toolbox-inserts.scad

index af6b1fb8cce9bf921e582b42d7bd423c639e628d..b88e2fda0b0d8c3cc62592cabcb76cf4066adafd 100644 (file)
@@ -26,6 +26,16 @@ module DriverHandlePositive() { ////toplevel
 module WallMinkowskiSphere(wall=well_surround_wall) { ////toplevel
   sphere($fn=8, r=wall/2);
 }
+module WallMinkowskiInner(wall=well_surround_wall) { ////toplevel
+  translate([0,0, -wall/2]) rotate_extrude($fn=8){
+    difference(){
+      rectfromto([0,0], wall/2 * [1,1]);
+
+      translate(wall/2 * [1,0])
+       circle($fn=8, r= wall/2);
+    }
+  }
+}
 
 module WellSurround(half_height, wall=well_surround_wall) {
   // WellSurround(half_height) {
@@ -59,7 +69,7 @@ module WellSurround(half_height, wall=well_surround_wall) {
          projection(cut=true)
          children(0);
 
-       WallMinkowskiSphere(wall);
+       WallMinkowskiInner(wall);
       }
        
       /*      hull(){