chiark / gitweb /
poster-tube-lid: WallMountBase wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 28 Aug 2023 20:30:58 +0000 (21:30 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 28 Aug 2023 20:30:58 +0000 (21:30 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
poster-tube-lid.scad

index 73f0fb63485de149298a715822b0ee9b31f738cc..ef0d856f38b0d4d0337b63f8c0bf853cbfb5ad49 100644 (file)
@@ -107,6 +107,9 @@ wmb_mount_wall = 4.5;
 wmb_mount_gap_xy = 0.5;
 wmb_mount_gap_z = 0.5;
 wmb_mount_y_width = 10;
+wmb_bottom_gap = 35; // includes allowance for padding, etc.
+wmb_bottom_th = 7;
+wmb_bottom_th_min = 1;
 wmb_ring_gap = 1.0;
 
 catch_stalk_h = 4.5;
@@ -208,7 +211,9 @@ wmb_z_screw = max(
 wmb_z_max = wmb_z_screw * 2;
 wmbb_y_max = wmb_y_mount_max + wmb_mount_gap_xy + wmb_mount_wall;
 wmbb_x_outer = wmb_x_outer + (wmb_mount_gap_xy + wmb_mount_wall);
-wmbb_z_min = -20; // XXX
+wmbb_z_flat_max = -wmb_bottom_gap;
+wmbb_z_flat_min = wmbb_z_flat_max - wmb_bottom_th_min;
+wmbb_z_min      = wmbb_z_flat_max - wmb_bottom_th;
 
 smc_pos = [ 0, sm_inner_rad, 0 ];
 
@@ -740,6 +745,7 @@ module WallMountForBase(){ ////toplevel
 module WallMountBase(){ ////toplevel
   difference(){
     union(){
+      // vertical blocks rising to join to wall mount
       linextr(wmbb_z_min, wmb_z_max) {
        difference(){
          for (my = [0,1]) {
@@ -751,6 +757,8 @@ module WallMountBase(){ ////toplevel
          WallMountBaseRingCut();
        }
       }
+
+//      linextr(
     }
 
     // cutaway for mount part