chiark / gitweb /
poster-tube-lid: WallMount wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 28 Aug 2023 10:41:01 +0000 (11:41 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 28 Aug 2023 10:41:01 +0000 (11:41 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
poster-tube-lid.scad

index 0293b93289f22996a394a4c558f37078bbedf1b5..9a8e169c48c2a0b688e65626bc0fdb83c401314d 100644 (file)
@@ -91,7 +91,7 @@ wm_screw_dia = 4.5; // XXX
 wm_screwdriver_dia = 6.0; // XXX
 wm_screw_around = 4.0; // XXX
 wm_screw_slot = 3.5;
-wm_csink = 2.5; // XXX
+wm_screw_head = 7.5; // XXX
 
 catch_stalk_h = 4.5;
 catch_stalk_len = 50;
@@ -598,13 +598,24 @@ module StrapMount(){ ////toplevel
 }
 
 module WallScrewHoleSlot(){ ////toplevel
+  ds = [-1,+1] * wm_screw_slot/2;
   linextr_x_yz(-(wm_thick + 1), 1) {
     hull(){
-      for (dx = [-1,+1] * wm_screw_slot/2)
-       translate([dx, 0])
+      for (d = ds)
+       translate([d, 0])
          circle(r = wm_screw_dia/2);
     }
   }
+  hull(){
+    for (d = ds){
+      translate([0, d, 0]){
+       linextr_x_yz(0, 1)
+         circle(r = wm_screw_head/2);
+       linextr_x_yz(-(wm_screw_head - wm_screw_dia)/2, 0)
+         circle(r = wm_screw_dia/2);
+      }
+    }
+  }
 }
 
 module WallMount(){ ////toplevel