wmb_mount_cut_rad = sm_outer_rad + wmb_ring_gap;
wmb_nut_rad = wmb_nut_across / cos(30) * 0.5;
-wmb_x_screw = -sm_outer_rad + max(
- wmb_screw_around_x + wmb_screw_dia/2,
- wmb_nut_around_min + wmb_nut_across/2
- );
+wmb_x_screw_plus_around_r = max(
+ wmb_screw_around_x + wmb_screw_dia/2,
+ wmb_nut_around_min + wmb_nut_across/2
+ );
+wmb_x_screw = -sm_outer_rad + wmb_x_screw_plus_around_r;
+wmb_x_outer = -sm_outer_rad + wmb_x_screw_plus_around_r * 2;
function wmb_screw_thing_y_min(dia) = sqrt(
pow(wmb_mount_cut_rad, 2) -
pow(wmb_x_screw + dia/2, 2)
linextr(0, wmb_z_max) {
difference(){
rectfromto([ -sm_outer_rad, -wmb_y_mount_max ],
- [ -sm_outer_rad + wm_thick, +wmb_y_mount_max ]);
+ [ wmb_x_outer, +wmb_y_mount_max ]);
circle(r = wmb_mount_cut_rad);
}
}
}
// screws, nuts, slots for nuts to go down into
-module WallMountBaseScrewsEtc(){
+module WallMountBaseScrewsEtc(){ ////toplevel
for (my=[0,1]) {
mirror([0, my, 0]) {
translate([wmb_x_screw, 0, wmb_z_screw]) {
}
union(){
WallMountScrewHoles();
- %WallMountBaseScrewsEtc();
+ WallMountBaseScrewsEtc();
}
}
}