wmb_nut_th = 4; // XXX
wmb_mount_wall = 4.5;
wmb_mount_gap_xy = 0.5;
+wmb_mount_y_width = 10;
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);
+wmbb_x_outer = wmb_x_outer + (wmb_mount_gap_xy + wmb_mount_wall);
wmbb_z_min = -20; // XXX
smc_pos = [ 0, sm_inner_rad, 0 ];
}
module WallMountBase(){ ////toplevel
- linextr(wmbb_z_min, wmb_z_max) {
- difference(){
- rectfromto([ 0, -wmbb_y_max ],
- [ wmbb_x_outer, +wmbb_y_max ]);
- WallMountBaseRingCut();
+ difference(){
+ union(){
+ linextr(wmbb_z_min, wmb_z_max) {
+ difference(){
+ for (my = [0,1]) {
+ mirror([0, my]) {
+ rectfromto([ -sm_outer_rad, wmbb_y_max - wmb_mount_y_width ],
+ [ wmbb_x_outer, wmbb_y_max ]);
+ }
+ }
+ WallMountBaseRingCut();
+ }
+ }
}
}
}