# HG changeset patch # User Paul Boddie # Date 1402436819 -7200 # Node ID 315780887582c4347002cabd54cbbaef8fbac3d2 # Parent af729a775bd48da9dbbc25b012df8b9f75a05755 Simplified the PCB support positioning slightly. diff -r af729a775bd4 -r 315780887582 cartridge.scad --- a/cartridge.scad Tue Jun 10 00:02:02 2014 +0200 +++ b/cartridge.scad Tue Jun 10 23:46:59 2014 +0200 @@ -191,7 +191,7 @@ /* Features measured from the Stardot Dual ROM Adaptor cartridge board - dimensions diagram. + dimensions diagram. Offsets are from inside the bottom "floor". */ pcb_back_support_bump_width = pcb_front_support_width; @@ -204,6 +204,8 @@ /* Move the PCB support towards the centre. */ pcb_support_margin = 1.75; + pcb_support_offset_from_centre = edge_connector_cutout_back_width / 2 + - pcb_support_margin; pcb_lug_depth = pcb_back_support_depth + pcb_back_support_bump_depth; @@ -236,7 +238,7 @@ */ translate([xdir * - (edge_connector_cutout_back_width / 2 - pcb_support_margin), + pcb_support_offset_from_centre, edge_connector_cutout_back_depth, -height / 2 + bottom + bottom_from_base]) justify(pcb_back_support_width, @@ -673,5 +675,4 @@ } } -cartridge(); - +cartridge(); \ No newline at end of file