+ 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);
+}
+
+module bracket() {
+ // this is the actual thing we want
+ difference() {
+ stuff();
+ mainhole();
+ for (y=screw_ys) translate([0, y, -base_thick+2])
+ screwhole(4,10);
+ translate([0,0,-50 - base_thick])
+ cube(center=true,[300,300,100]); // print bed
+ }