1.1 --- a/cartridge.scad Mon Aug 03 23:39:59 2015 +0200
1.2 +++ b/cartridge.scad Tue Aug 04 00:29:18 2015 +0200
1.3 @@ -400,8 +400,8 @@
1.4
1.5 pcb_left_hole_offset = pcb_back_support_left_bump_offset_from_bottom + pcb_hole_margin;
1.6 pcb_left_hole_height = pcb_back_support_left_bump_height - pcb_hole_margin * 2;
1.7 - pcb_left_hole_offset_from_centre = pcb_support_offset_from_centre +
1.8 - pcb_back_support_width / 2 - pcb_hole_width / 2;
1.9 + pcb_left_hole_offset_from_centre = -(pcb_support_offset_from_centre +
1.10 + pcb_back_support_width / 2 - pcb_hole_width / 2);
1.11
1.12 pcb_right_hole_offset = pcb_back_support_right_bump_offset_from_bottom + pcb_hole_margin;
1.13 pcb_right_hole_height = pcb_back_support_right_bump_height - pcb_hole_margin * 2;
1.14 @@ -1164,13 +1164,13 @@
1.15
1.16 union() {
1.17 cube_at(pcb_hole_width, 1, pcb_left_hole_height,
1.18 - 1, 1, 1,
1.19 + -1, 1, 1,
1.20 pcb_left_hole_offset_from_centre, 0, pcb_left_hole_offset);
1.21 - translate([pcb_left_hole_offset_from_centre +
1.22 + translate([pcb_left_hole_offset_from_centre -
1.23 pcb_hole_width / 2, pcb_hole_start_depth, pcb_left_hole_offset])
1.24 rotate([-90, 0, 0])
1.25 cylinder(h=pcb_hole_depth, r=pcb_hole_width / 2);
1.26 - translate([pcb_left_hole_offset_from_centre +
1.27 + translate([pcb_left_hole_offset_from_centre -
1.28 pcb_hole_width / 2, pcb_hole_start_depth,
1.29 pcb_left_hole_offset + pcb_left_hole_height])
1.30 rotate([-90, 0, 0])
1.31 @@ -1179,13 +1179,13 @@
1.32
1.33 union() {
1.34 cube_at(pcb_hole_width, 1, pcb_right_hole_height,
1.35 - -1, 1, 1,
1.36 + 1, 1, 1,
1.37 pcb_right_hole_offset_from_centre, 0, pcb_right_hole_offset);
1.38 - translate([pcb_right_hole_offset_from_centre -
1.39 + translate([pcb_right_hole_offset_from_centre +
1.40 pcb_hole_width / 2, pcb_hole_start_depth, pcb_right_hole_offset])
1.41 rotate([-90, 0, 0])
1.42 cylinder(h=pcb_hole_depth, r=pcb_hole_width / 2);
1.43 - translate([pcb_right_hole_offset_from_centre -
1.44 + translate([pcb_right_hole_offset_from_centre +
1.45 pcb_hole_width / 2, pcb_hole_start_depth,
1.46 pcb_right_hole_offset + pcb_right_hole_height])
1.47 rotate([-90, 0, 0])