infty = 100;
wall = 1;
+cyl_wall = 1.5;
-lens_d = 41.5;
+lens_d = 41.5 - 1.5;
lens_side_l = 25;
rail_in = 13.5;
-rail_ex = 18.2;
-rail_thick = 3.4;
+rail_ex = 18.6;
+rail_thick = 3.6;
rail_depth = rail_thick + wall;
body_l = 55;
rail_in_l = 15;
difference() {
union() {
// outer cylinder
- cylinder(r = lens_d/2 + 2*wall, h = body_l);
+ cylinder(r = lens_d/2 + 2*cyl_wall, h = body_l);
// rail base
translate([-rail_ex/2-wall, -lens_d/2-rail_depth-2*wall, 0])
cube([rail_ex+2*wall, lens_d/2+rail_depth+2*wall, body_l]);
}
// inside supports
for (angle = [-27, 27, 120, 240]) rotate([0, 0, angle])
- translate([0, -lens_d/2-wall, -2*eps])
- cylinder(r = wall, h = body_l + 4*eps);
+ translate([0, -lens_d/2-cyl_wall, -2*eps])
+ cylinder(r = cyl_wall, h = body_l + 4*eps);
}
// slanted cylinder cut
translate([-infty/2, cos(60)*lens_d/2, body_l+lens_side_l])