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

index 4af0813a8923220fcbd10246123aa9f57d1eecc0..67d620a5f00136b657d0b52f3570bbb609cec0e3 100644 (file)
@@ -87,9 +87,10 @@ sm_bolt_y_over = 0.5;
 sm_closure_cnr = 3.0;
 
 wm_thick = 5;
-wm_screw_dia = 5;
-wm_screw_around = 5;
-wm_csink = 2.5;
+wm_screw_dia = 4.5; // XXX
+wm_screw_around = 3.5; // XXX
+wm_screw_slot = 4.0;
+wm_csink = 2.5; // XXX
 
 catch_stalk_h = 4.5;
 catch_stalk_len = 50;
@@ -155,6 +156,10 @@ sm_outer_rad = sm_inner_rad + sm_main_thick;
 wm_main_width = sm_main_width;
 wm_y_min = sqrt( pow(sm_inner_rad, 2) -
                 pow(sm_inner_rad - (wm_thick - sm_main_thick), 2) );
+wm_y_screw = wm_y_min + wm_screw_around + wm_screw_dia/2;
+wm_y_max = wm_y_screw + wm_screw_dia/2 + wm_screw_around;
+wm_y_slot1_screw = wm_y_screw + wm_screw_slot;
+wm_y_slot1_max = wm_y_max + wm_screw_slot;
 
 smc_pos = [ 0, sm_inner_rad, 0 ];
 
@@ -590,8 +595,9 @@ module WallMount(){ ////toplevel
   SomeStrap(sm_main_width){
     union(){
       linextr(0, sm_main_width){
-       translate([ -sm_outer_rad, wm_y_min ])
-         square([ wm_thick, 20 ]);
+       translate([ -sm_outer_rad, 0 ])
+         rectfromto([ 0, -wm_y_max ],
+                    [ wm_thick, wm_y_slot1_max ]);
       }
     }
     union(){ }