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

index c51dc137c0dbaff4c4ecfa424b9f58702563688a..db456d5e569405147b4d1576fa0f5c08b610b910 100644 (file)
@@ -93,6 +93,11 @@ wm_screw_around = 4.0; // XXX
 wm_screw_slot = 3.5;
 wm_screw_head = 7.5; // XXX
 
+wmb_screw_dia = 5;
+wmb_screw_around = 4; // XXX
+wmb_screw_depth = 10; // XXX
+wmb_gap = 1.0;
+
 catch_stalk_h = 4.5;
 catch_stalk_len = 50;
 catch_tip_th = 4;
@@ -167,6 +172,13 @@ wm_z_slotc_screw = wm_z_slot0_screw + wm_screw_slot/2;
 wm_z_slot1_screw = wm_z_slot0_screw + wm_screw_slot;
 wm_z_max = wm_z_slot1_screw + wm_screw_around;
 
+wmb_mount_cut_rad = sm_outer_rad + wmb_gap;
+wmb_x_screw = -sm_outer_rad + wmb_screw_around + wmb_screw_dia/2;
+wmb_y_screw_end = sqrt(
+                      pow(wmb_mount_cut_rad, 2) -
+                      pow(wmb_x_screw, 2)
+                      );
+
 smc_pos = [ 0, sm_inner_rad, 0 ];
 
 smc_bolt_nut_dia = sm_bolt_nut_width / cos(30);
@@ -642,6 +654,25 @@ module WallMount(){ ////toplevel
   }
 }
 
+module WallMountBaseMounts(){
+  linextr(0, 20)
+    translate([ wmb_x_screw, wmb_y_screw_end ])
+    rotate(45)
+    square(10, center=true);
+}
+
+module WallMountForBase(){ ////toplevel
+  SomeStrap(sm_main_width, wm_z_max + 2){
+    union(){
+      WallMountMounts();
+      WallMountBaseMounts();
+    }
+    union(){
+      WallMountScrewHoles();
+    }
+  }
+}
+
 module CatchAssemblyCoreProfile(){
   difference(){
     union(){