sidemidx = minsideout + screwcsinkdia/2;
difference(){
- hull() mirror([0,0,1]) {
- translate([minx, 0, 0])
- cube([maxx-minx, totaldepth-front, height]);
- for (x=[minx + front/2, maxx - front/2])
- translate([x, -front/2, 0])
- cylinder(r=front/2, h=height, $fn=30);
+ mirror([0,0,1]) {
+ translate([minx, -front, 0])
+ cube([maxx-minx, totaldepth, height]);
}
for (x=[minx + sidemidx, maxx - sidemidx]) {
translate([x, 0, -screwabove])