for (y = [-1,1])
for (x = [-1,1])
scale([x, y, 1]) hull() {
- translate([base_w/2-thin_wall, base_l/3, 0])
- cube([thin_wall, thin_wall, thin_wall]);
- translate([-thin_wall/2, -base_l/2, 0])
- cube([thin_wall, thin_wall, tube_zoff + tube_d-thin_wall]);
+ translate([base_w/2-thin_wall/2, base_l/3, 0])
+ cylinder(r = thin_wall/2, h = thin_wall, $fn = 16);
+ translate([0, -base_l/2+thin_wall/2, 0])
+ cylinder(r = thin_wall/2, h = tube_zoff + tube_d - thin_wall, $fn = 16);
}
// under the tube supports
translate([0, -base_l/2-eps, tube_d/2+tube_zoff])
rotate([-90, 0, 0])
cylinder(r = tube_d/2, h = base_l + 2*eps);
+ // central hole in the base plate
+ translate([0, 0, -eps]) scale ([1, base_l/base_w, 1])
+ cylinder(r = base_w/6, h = thin_wall+2*eps);
+ // side holes in the base plate
+ for (y = [-1, 1])
+ for (x = [-1, 1])
+ scale([x, y, 1])
+ translate([0.3*base_w, 0.3*base_l, -eps])
+ cylinder(r = base_w/10, h = thin_wall+2*eps);
}