]> www.fi.muni.cz Git - heater.git/commitdiff
Merge branch 'master' of /home/kas/html/git/heater
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Thu, 4 Dec 2014 12:01:31 +0000 (13:01 +0100)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Thu, 4 Dec 2014 12:01:31 +0000 (13:01 +0100)
1  2 
case.scad

diff --cc case.scad
index bc4fd31a0335666a8fe934d3db7b8020e80be946,43583c421d94b2cf58f0d88a3ff2be388cecb098..14efba25ffa2907ab479cbfecc7f6bfe6565b985
+++ b/case.scad
@@@ -230,26 -202,7 +202,17 @@@ 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);
 +                      }
        };
-       // clip barrier
-       for (x = [-1, 1]) scale([x, 1, 1]) hull () {
-               translate([batt_len/2+wall+cable_sep-eps, batt_diam/2-pcb_width+wall/2+lid_sep,
-                       -batt_diam/2-pcb_thick-pcb_comp_h + wall + lid_sep])
-                       cube([wall+eps, pcb_width-2*wall-2*lid_sep, wall]);
-               translate([batt_len/2+wall+cable_sep-eps, batt_diam/2-pcb_width+3*wall/2+lid_sep,
-                       -batt_diam/2-pcb_thick-pcb_comp_h + 3*wall + lid_sep])
-                       cube([eps, pcb_width-4*wall-2*lid_sep, eps]);
-       };
  };
  
  module lid_body() {