From 138fbcfab1abb032b8b532e845bfb92372a8d827 Mon Sep 17 00:00:00 2001 From: "Jan \"Yenya\" Kasprzak" Date: Fri, 24 Jan 2014 12:21:31 +0100 Subject: [PATCH] case.scad: mark the battery polarity --- case.scad | 9 +++++++++ 1 file changed, 9 insertions(+) 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 () { -- 2.43.5