wmb_nut_th = 4; // XXX
wmb_mount_wall = 4.5;
wmb_mount_gap_xy = 0.5;
+wmb_mount_gap_z = 0.5;
wmb_mount_y_width = 10;
wmb_ring_gap = 1.0;
module WallMountBaseMounts(){
linextr(0, wmb_z_max) {
difference(){
- rectfromto([ -sm_outer_rad, -wmb_y_mount_max ],
- [ wmb_x_outer, +wmb_y_mount_max ]);
+ rectfromto([ -sm_outer_rad, -wmb_y_mount_max ],
+ [ wmb_x_outer, +wmb_y_mount_max ]);
WallMountBaseRingCut();
}
}
wmb_y_screw_end + 100) // XXX change 100
circle(r = wmb_screw_head_dia/2);
linextr_y_xz(wmb_y_nut_min,
- wmb_y_nut_min + wmb_nut_th){
+ wmb_y_nut_min + wmb_nut_th) {
hull(){
rotate(30)
circle(r = wmb_nut_rad, $fn = 6);
}
}
}
+
+ // cutaway for mount part
+ linextr(-wmb_mount_gap_z, wmb_z_max+1) {
+ for (my = [0,1]) {
+ mirror([0, my])
+ rectfromto([ -sm_outer_rad-1, wmb_y_mount_max + wmb_mount_gap_xy ],
+ [ wmb_x_outer + wmb_mount_gap_xy, 1 ]);
+ }
+ }
+
+ WallMountBaseScrewsEtc();
}
}