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

index d616220a4a84509c1114ff64c032420c62553d57..132364379e8982c3d12f708b0692094858d2e874 100644 (file)
@@ -215,6 +215,8 @@ wmbb_x_outer = wmb_x_outer + (wmb_mount_gap_xy + wmb_mount_wall);
 wmbb_z_flat_max = -wmb_bottom_gap;
 wmbb_z_flat_whole_min = wmbb_z_flat_max - wmb_bottom_th_min;
 wmbb_z_min      = wmbb_z_flat_max - wmb_bottom_th;
+wmbb_r_top = main_dia/2 + wmb_base_extra_rad;
+wmbb_r_bottom = wmbb_r_top - (wmb_bottom_th - wmb_bottom_th_min);
 
 smc_pos = [ 0, sm_inner_rad, 0 ];
 
@@ -765,10 +767,17 @@ module WallMountBase(){ ////toplevel
 
       hull(){
        linextr(wmbb_z_flat_whole_min, wmbb_z_flat_max)
-         circle(r = main_dia/2 + wmb_base_extra_rad);
+         circle(r = wmbb_r_top);
        linextr(wmbb_z_min, wmbb_z_flat_max)
-         circle(r = main_dia/2 + wmb_base_extra_rad -
-                (wmb_bottom_th - wmb_bottom_th_min));
+         circle(r = wmbb_r_bottom);
+      }
+      linextr(wmbb_z_min, wmbb_z_flat_max) {
+       hull(){
+         WallMountBasePillarsPlan();
+         translate([wmbb_r_bottom - 1, 0])
+           rotate(45)
+           square(0.5, center=true);
+       }
       }
     }