// -*- C -*-
-mainwall_th = 2.5;
-smallwall_th = 1.5;
+mainwall_th = 3.0;
+smallwall_th = 2.0;
-seal_th = 0.3 + 0.6; // total gap for seal etc.
-behind_recess = 1.0;
+seal_th = 0.3 + 0.6 + 0.6; // total gap for seal etc.
+behind_recess = 1.5;
-recess_gap_end = 0.2;
+recess_gap_end = 0.4;
lid_edge_th = 0.5;
battery_base_indent_fromside_inside = 10;
// for testing:
-battery_len = 3;
-battery_wdth = 15;
-battery_base_indent_fromside_inside = 6;
+//battery_len = 3;
+//battery_wdth = 15;
+//battery_base_indent_fromside_inside = 6;
// calculated
ExtrudePlan(s0,s1) SideHalfPlan();
ExtrudePlan(s0 - battery_base_indent_fromside_inside,
s0 - battery_base_indent_fromside_outside
- ) SideHalfPlan(indent = battery_base_indent);
+ ) BaseHalfPlan(indent = battery_base_indent);
+}
+
+module BaseHalfTest(){ ////toplevel
+ intersection(){
+ Base();
+ translate([-100,0,-100])
+ cube([200,200,200]);
+ }
}
module Lid(){ ////toplevel