# HG changeset patch # User Paul Boddie # Date 1390172120 -3600 # Node ID efe80fa5fab20bd68b68bcb91b83885219e5d2ea # Parent 10b4ecdce9af2df1e37d71287a8f6f81d4dd51f2 Added PCB support struts to the front part of the cartridge. diff -r 10b4ecdce9af -r efe80fa5fab2 cartridge.scad --- a/cartridge.scad Sun Jan 19 23:47:41 2014 +0100 +++ b/cartridge.scad Sun Jan 19 23:55:20 2014 +0100 @@ -96,6 +96,10 @@ edge_connector_cutout_back_depth; pcb_back_support_height = height - bottom_from_base - top - bottom; + pcb_front_support_width = 1.0; + pcb_front_support_depth = front_depth; + pcb_front_support_height = pcb_back_support_height; + translate([0, -20, 0]) difference() { @@ -132,6 +136,24 @@ edge_connector_cutout_front_depth, bottom + extra], center = true); } + + /* PCB supports. */ + + translate([-edge_connector_cutout_back_width / 2 + + pcb_front_support_width / 2, + -pcb_front_support_depth / 2, + -height / 2 + bottom + bottom_from_base + + pcb_front_support_height / 2]) + cube([pcb_front_support_width, pcb_front_support_depth, + pcb_front_support_height], center = true); + + translate([edge_connector_cutout_back_width / 2 - + pcb_front_support_width / 2, + -pcb_front_support_depth / 2, + -height / 2 + bottom + bottom_from_base + + pcb_front_support_height / 2]) + cube([pcb_front_support_width, pcb_front_support_depth, + pcb_front_support_height], center = true); } /* Label insets. */