# HG changeset patch # User Paul Boddie # Date 1438637999 -7200 # Node ID c27e93bb1c94091b7175c76a4088efd55ea879d4 # Parent bac004ed7f0d393538e10be629cda60dbe95432c Added a "short PCB" setting to enable the top "bump" in the PCB support struts. Classic ROM cartridges may be able to use this setting, but the Stardot dual ROM adapter PCB needs all available space. diff -r bac004ed7f0d -r c27e93bb1c94 cartridge.scad --- a/cartridge.scad Fri Dec 12 01:41:27 2014 +0100 +++ b/cartridge.scad Mon Aug 03 23:39:59 2015 +0200 @@ -25,6 +25,7 @@ FRONT_LABEL_INSET = 1; TOP_LABEL_INSET = 1; GROOVE = 1; + SHORT_PCB = 0; /* Model configurations. */ @@ -349,6 +350,8 @@ pcb_back_support_right_bump_height = 10.7; pcb_back_support_left_bump_offset_from_bottom = 15.1; pcb_back_support_right_bump_offset_from_bottom = 17.6; + + /* Configured by SHORT_PCB. */ pcb_back_support_top_bump_height = 3.8; /* Move the PCB support towards the centre. */ @@ -452,14 +455,15 @@ /* Top bump. */ - cube_at(pcb_back_support_bump_width, - pcb_back_support_bump_depth, - pcb_back_support_top_bump_height, - 0, -1, 1, - 0, - -pcb_back_support_depth / 2, - pcb_back_support_height / 2 - - pcb_back_support_top_bump_height); + if (SHORT_PCB) + cube_at(pcb_back_support_bump_width, + pcb_back_support_bump_depth, + pcb_back_support_top_bump_height, + 0, -1, 1, + 0, + -pcb_back_support_depth / 2, + pcb_back_support_height / 2 - + pcb_back_support_top_bump_height); } }