X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?p=heater.git;a=blobdiff_plain;f=case.scad;h=f96549a734a789058dadc93c8d96fa2a74bcded0;hp=c1df55c6f9c6be01c7f651b5d29dd6eb4f8203bd;hb=b3d4cd3651f0bc5d6da19815a63471ea46835c64;hpb=7cf285f0f498684e5078f1bb73e83cacb9a05acc diff --git a/case.scad b/case.scad index c1df55c..f96549a 100644 --- a/case.scad +++ b/case.scad @@ -50,6 +50,8 @@ mountcone_h = mounthole_h + 2*wall; clip_pretension = 0.5; +plus_width = 4.5; // width of the + sign + module case_body() { hull() { translate([-batt_len/2-2*wall-cable_sep, -batt_diam/2-wall, 0]) @@ -205,6 +207,13 @@ module case() { for(x=[-1,1]) scale([x, 1, 1]) translate([batt_len/2+cable_sep+wall+10, batt_diam/2-pcb_width/2, -batt_diam/2-2*pcb_comp_h-pcb_thick-wall-eps]) cylinder(r1 = 10, r2 = 10 - wall, h = wall + 2*eps); + // plus sign - vertical line + translate([batt_len/2 - 1.5*wall-plus_width/2, -plus_width/2, -batt_diam/2-wall]) + cube([wall, plus_width, infty]); + // plus and minus signs - horizontal line + for(x=[-1,1]) scale([x, 1, 1]) + translate([batt_len/2 - wall - plus_width, -wall/2, -batt_diam/2-wall]) + cube([plus_width, wall, infty]); }; // clip barrier for (x = [-1, 1]) scale([x, 1, 1]) hull () {