Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
wmb_mount_gap_xy = 0.5;
wmb_mount_gap_z = 0.5;
wmb_mount_y_width = 10;
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;
wmb_ring_gap = 1.0;
catch_stalk_h = 4.5;
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);
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 ];
smc_pos = [ 0, sm_inner_rad, 0 ];
module WallMountBase(){ ////toplevel
difference(){
union(){
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]) {
linextr(wmbb_z_min, wmb_z_max) {
difference(){
for (my = [0,1]) {
WallMountBaseRingCut();
}
}
WallMountBaseRingCut();
}
}
}
// cutaway for mount part
}
// cutaway for mount part