# HG changeset patch # User Paul Boddie # Date 1393098449 -3600 # Node ID aa1d96706187cc810a48c5eedb82711870656ee2 # Parent 10d76f571674be3b30675ef893fc18ab54e4f953 Added the extra PCB support "bumps" inside the top of the case. diff -r 10d76f571674 -r aa1d96706187 cartridge.scad --- a/cartridge.scad Sat Feb 22 20:20:27 2014 +0100 +++ b/cartridge.scad Sat Feb 22 20:47:29 2014 +0100 @@ -174,6 +174,7 @@ 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; + pcb_back_support_top_bump_height = 3.8; /* Move the PCB support towards the centre. */ pcb_support_margin = 0.55; @@ -201,9 +202,15 @@ pcb_back_support_height, xdir, 1, 1) union() { + + /* Underlying support strut. */ + cube([pcb_back_support_width, pcb_back_support_depth, pcb_back_support_height], center = true); + + /* Middle bump. */ + cube_at(pcb_back_support_bump_width, pcb_back_support_bump_depth, bump_height, @@ -211,6 +218,17 @@ 0, -pcb_back_support_depth / 2, -pcb_back_support_height / 2 + bump_offset); + + /* 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); } }