# HG changeset patch # User Paul Boddie # Date 1390215784 -3600 # Node ID e8b49044b67916cc179ab8756c2823f3413975b3 # Parent efe80fa5fab20bd68b68bcb91b83885219e5d2ea Added rudimentary bumps to the PCB support struts on the back part of the cartridge. diff -r efe80fa5fab2 -r e8b49044b679 cartridge.scad --- a/cartridge.scad Sun Jan 19 23:55:20 2014 +0100 +++ b/cartridge.scad Mon Jan 20 12:03:04 2014 +0100 @@ -100,6 +100,16 @@ pcb_front_support_depth = front_depth; pcb_front_support_height = pcb_back_support_height; + /* + Features measured from the Stardot Advanced Battery Backed RAM + cartridge board dimensional diagram. + */ + + pcb_back_support_bump_width = pcb_front_support_width; + pcb_back_support_bump_depth = 1.0; + pcb_back_support_bump_height = 14.3; + pcb_back_support_bump_offset_from_bottom = 26.0; + translate([0, -20, 0]) difference() { @@ -265,8 +275,18 @@ pcb_back_support_depth / 2, -height / 2 + bottom + bottom_from_base + pcb_back_support_height / 2]) - cube([pcb_back_support_width, pcb_back_support_depth, - pcb_back_support_height], center = true); + union() { + cube([pcb_back_support_width, pcb_back_support_depth, + pcb_back_support_height], center = true); + translate([0, + -pcb_back_support_depth / 2 - + pcb_back_support_bump_depth / 2, + -pcb_back_support_height / 2 + + pcb_back_support_bump_offset_from_bottom]) + cube([pcb_back_support_bump_width, + pcb_back_support_bump_depth, + pcb_back_support_bump_height], center = true); + } translate([edge_connector_cutout_back_width / 2 - pcb_back_support_width / 2, @@ -274,8 +294,18 @@ pcb_back_support_depth / 2, -height / 2 + bottom + bottom_from_base + pcb_back_support_height / 2]) - cube([pcb_back_support_width, pcb_back_support_depth, - pcb_back_support_height], center = true); + union() { + cube([pcb_back_support_width, pcb_back_support_depth, + pcb_back_support_height], center = true); + translate([0, + -pcb_back_support_depth / 2 - + pcb_back_support_bump_depth / 2, + -pcb_back_support_height / 2 + + pcb_back_support_bump_offset_from_bottom]) + cube([pcb_back_support_bump_width, + pcb_back_support_bump_depth, + pcb_back_support_bump_height], center = true); + } } /* Label insets. */