chiark / gitweb /
toolbox-inserts: FixingsHoledPlan - must faster
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 21 Apr 2025 18:20:21 +0000 (19:20 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 21 Apr 2025 18:20:21 +0000 (19:20 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
toolbox-inserts.scad

index 4f285a99915488328e02a234c3726bc62cc9eaac..b9e949f1ff25b38214d50f93b8b678f4410379eb 100644 (file)
@@ -200,6 +200,11 @@ module AtFixings() {
       }
 }
 
+module FixingsHoledPlan() {
+  offset(r = -plate_unholed_edge_w)
+    BoxCavityModelMainPlan();
+}
+
 module FullPlate() { ////toplevel
   render() difference(){
     intersection(){
@@ -208,18 +213,17 @@ module FullPlate() { ////toplevel
     }
 
     union(){
-      AtFixings() {
-       linextr(-20, -below_plane_z + fixing_head_th)
+      linextr(-20, -below_plane_z + fixing_head_th) intersection() {
+        union() AtFixings()
          circle(r = fixing_head_d/2);
-       linextr(-20, 20)
+       FixingsHoledPlan();
+      }
+      linextr(-20, 20) intersection() {
+        union() AtFixings()
          circle(r = fixing_nom_d/2);
+       FixingsHoledPlan();
       }
     }
-
-//      linextr(-100, 100)
-//     offset(r = -plate_unholed_edge_w)
-//     BoxCavityModelMainPlan();
-//    }
   }
 }