}
}
+module WallMountMounts(){
+ linextr(0, wm_z_max){
+ translate([ -sm_outer_rad, 0 ])
+ rectfromto([ 0, -wm_y_max ],
+ [ wm_thick, wm_y_slot1_max ]);
+ }
+}
+module WallMountScrewHoles(){
+ translate([ -sm_outer_rad + wm_thick, 0, wm_z_slotc_screw]) {
+ translate([ 0, wm_y_slotc_screw, 0 ])
+ WallScrewHoleSlot();
+ translate([ 0, -wm_y_slotc_screw, 0 ])
+ rotate([90,0,0])
+ WallScrewHoleSlot();
+ }
+}
+
module WallMount(){ ////toplevel
SomeStrap(sm_main_width, wm_z_max + 2){
- union(){
- linextr(0, wm_z_max){
- translate([ -sm_outer_rad, 0 ])
- rectfromto([ 0, -wm_y_max ],
- [ wm_thick, wm_y_slot1_max ]);
- }
- }
- union(){
- translate([ -sm_outer_rad + wm_thick, 0, wm_z_slotc_screw]) {
- translate([ 0, wm_y_slotc_screw, 0 ])
- WallScrewHoleSlot();
- translate([ 0, -wm_y_slotc_screw, 0 ])
- rotate([90,0,0])
- WallScrewHoleSlot();
- }
- }
+ WallMountMounts();
+ WallMountScrewHoles();
}
}