X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?p=heater.git;a=blobdiff_plain;f=case.scad;fp=case.scad;h=14efba25ffa2907ab479cbfecc7f6bfe6565b985;hp=43583c421d94b2cf58f0d88a3ff2be388cecb098;hb=3019ff6b696fef6dcad9ad3529b0598074202f94;hpb=4b77d03b555d38074ebf95a39ce9137ba09cc56f diff --git a/case.scad b/case.scad index 43583c4..14efba2 100644 --- a/case.scad +++ b/case.scad @@ -202,6 +202,16 @@ module case() { for (x=[-1, 1]) scale([x, 1, 1]) translate([sw_xoff + sw_diam/2 + wall, batt_diam/2-pcb_width/2-wall/2, -batt_diam/2-pcb_thick-pcb_comp_h-pcb_comp_h2-wall-eps]) cube([plus_width, wall, wall/2]); + // rounded top + for (x=[-1, 1]) scale([x, 1, 1]) + translate([batt_len/2 + wall + cable_sep, -infty/2, body_top_h - 2*wall]) + rotate([-90, 0, 0]) + scale([1, -2, 1]) + difference() { + cube([wall+eps, wall+eps, infty]); + translate([0, 0, -eps]) + cylinder(r=wall, h=infty+2*eps); + } }; };