# HG changeset patch # User Paul Boddie # Date 1438640958 -7200 # Node ID 6d3bf06a7603b5da8235402bb94987105407a40b # Parent c27e93bb1c94091b7175c76a4088efd55ea879d4 Fixed the sense of the PCB support holes on the test PCB. diff -r c27e93bb1c94 -r 6d3bf06a7603 cartridge.scad --- a/cartridge.scad Mon Aug 03 23:39:59 2015 +0200 +++ b/cartridge.scad Tue Aug 04 00:29:18 2015 +0200 @@ -400,8 +400,8 @@ pcb_left_hole_offset = pcb_back_support_left_bump_offset_from_bottom + pcb_hole_margin; pcb_left_hole_height = pcb_back_support_left_bump_height - pcb_hole_margin * 2; - pcb_left_hole_offset_from_centre = pcb_support_offset_from_centre + - pcb_back_support_width / 2 - pcb_hole_width / 2; + pcb_left_hole_offset_from_centre = -(pcb_support_offset_from_centre + + pcb_back_support_width / 2 - pcb_hole_width / 2); pcb_right_hole_offset = pcb_back_support_right_bump_offset_from_bottom + pcb_hole_margin; pcb_right_hole_height = pcb_back_support_right_bump_height - pcb_hole_margin * 2; @@ -1164,13 +1164,13 @@ union() { cube_at(pcb_hole_width, 1, pcb_left_hole_height, - 1, 1, 1, + -1, 1, 1, pcb_left_hole_offset_from_centre, 0, pcb_left_hole_offset); - translate([pcb_left_hole_offset_from_centre + + translate([pcb_left_hole_offset_from_centre - pcb_hole_width / 2, pcb_hole_start_depth, pcb_left_hole_offset]) rotate([-90, 0, 0]) cylinder(h=pcb_hole_depth, r=pcb_hole_width / 2); - translate([pcb_left_hole_offset_from_centre + + translate([pcb_left_hole_offset_from_centre - pcb_hole_width / 2, pcb_hole_start_depth, pcb_left_hole_offset + pcb_left_hole_height]) rotate([-90, 0, 0]) @@ -1179,13 +1179,13 @@ union() { cube_at(pcb_hole_width, 1, pcb_right_hole_height, - -1, 1, 1, + 1, 1, 1, pcb_right_hole_offset_from_centre, 0, pcb_right_hole_offset); - translate([pcb_right_hole_offset_from_centre - + translate([pcb_right_hole_offset_from_centre + pcb_hole_width / 2, pcb_hole_start_depth, pcb_right_hole_offset]) rotate([-90, 0, 0]) cylinder(h=pcb_hole_depth, r=pcb_hole_width / 2); - translate([pcb_right_hole_offset_from_centre - + translate([pcb_right_hole_offset_from_centre + pcb_hole_width / 2, pcb_hole_start_depth, pcb_right_hole_offset + pcb_right_hole_height]) rotate([-90, 0, 0])