1.1 --- a/cartridge.scad Sat Feb 22 20:16:16 2014 +0100
1.2 +++ b/cartridge.scad Sat Feb 22 20:20:27 2014 +0100
1.3 @@ -191,7 +191,7 @@
1.4
1.5 /* Repeated constructs. */
1.6
1.7 - module pcb_support(xdir) {
1.8 + module pcb_support(xdir, bump_height, bump_offset) {
1.9 translate([xdir *
1.10 (edge_connector_cutout_back_width / 2 - pcb_support_margin),
1.11 edge_connector_cutout_back_depth,
1.12 @@ -206,12 +206,11 @@
1.13 pcb_back_support_height], center = true);
1.14 cube_at(pcb_back_support_bump_width,
1.15 pcb_back_support_bump_depth,
1.16 - pcb_back_support_left_bump_height,
1.17 + bump_height,
1.18 0, -1, 1,
1.19 0,
1.20 -pcb_back_support_depth / 2,
1.21 - -pcb_back_support_height / 2 +
1.22 - pcb_back_support_left_bump_offset_from_bottom);
1.23 + -pcb_back_support_height / 2 + bump_offset);
1.24 }
1.25 }
1.26
1.27 @@ -419,8 +418,10 @@
1.28
1.29 /* PCB supports. */
1.30
1.31 - pcb_support(-1);
1.32 - pcb_support(1);
1.33 + pcb_support(-1, pcb_back_support_left_bump_height,
1.34 + pcb_back_support_left_bump_offset_from_bottom);
1.35 + pcb_support(1, pcb_back_support_right_bump_height,
1.36 + pcb_back_support_right_bump_offset_from_bottom);
1.37
1.38 /* Circular "lugs" to hold PCBs in place. */
1.39