+module slashes() {
+ for (y=[-35 : 35 : +40])
+ translate([0,y,0])
+ rotate(v=[0,0,1],a=45)
+ cube(center=true, [ 5,200,200 ]);
+}
+
+module base() {
+ translate([ 0, base_height/2 + base_margin, -base_thick/2 ])
+ intersection() {
+ cube(center=true,
+ [ base_width, base_height, base_thick+10 ]);
+ union() {
+ difference() {
+ cube(center=true, [ 200,200,200 ]);
+ cube(center=true,
+ [ base_width - base_edgewidth*2,
+ base_height - base_edgewidth*2,
+ base_thick + 15 ]);
+
+ }
+ slashes();
+ mirror([1,0,0]) slashes();
+ }
+ }
+// translate([-base_width/2, base_margin, -base_thick*2])
+// cube(center=false, [base_width,base_height,base_thick+10]);
+}
+
+screw_ys=[ 20, remote_height-30 ];
+
+module stuff() {
+ hstuff();
+ mirror([1,0,0]) hstuff();
+ base();
+ for (y=screw_ys) translate([0, y, -20])
+ cylinder(r=7.5, h=21);
+}
+
+module screwhole(holedia, csdia) {
+ // screw goes along z axis downwards
+ // origin is base of countersink
+ // results are positive, so this should be subtracted
+ translate([0,0,-100]) cylinder(h=200, r=holedia/2);
+ cylinder(h=100, r=csdia/2);
+}