# HG changeset patch # User Paul Boddie # Date 1393096827 -3600 # Node ID 10d76f571674be3b30675ef893fc18ab54e4f953 # Parent e3b0d233b80d10e235b7395a711bff9f5b5a8318 Re-added missing PCB support parameterisation. diff -r e3b0d233b80d -r 10d76f571674 cartridge.scad --- a/cartridge.scad Sat Feb 22 20:16:16 2014 +0100 +++ b/cartridge.scad Sat Feb 22 20:20:27 2014 +0100 @@ -191,7 +191,7 @@ /* Repeated constructs. */ - module pcb_support(xdir) { + module pcb_support(xdir, bump_height, bump_offset) { translate([xdir * (edge_connector_cutout_back_width / 2 - pcb_support_margin), edge_connector_cutout_back_depth, @@ -206,12 +206,11 @@ pcb_back_support_height], center = true); cube_at(pcb_back_support_bump_width, pcb_back_support_bump_depth, - pcb_back_support_left_bump_height, + bump_height, 0, -1, 1, 0, -pcb_back_support_depth / 2, - -pcb_back_support_height / 2 + - pcb_back_support_left_bump_offset_from_bottom); + -pcb_back_support_height / 2 + bump_offset); } } @@ -419,8 +418,10 @@ /* PCB supports. */ - pcb_support(-1); - pcb_support(1); + pcb_support(-1, pcb_back_support_left_bump_height, + pcb_back_support_left_bump_offset_from_bottom); + pcb_support(1, pcb_back_support_right_bump_height, + pcb_back_support_right_bump_offset_from_bottom); /* Circular "lugs" to hold PCBs in place. */