# HG changeset patch # User Paul Boddie # Date 1393081617 -3600 # Node ID 785e92ee4c9629cf277f843559fe46b7fcbe929f # Parent 09bd2240669f00717c6cf85b40e4fc1eec8e29d9 Introduced the slight "inset" of the PCB support. Reduced the inner case thickness at the sides. Moved case thickness definitions to a more convenient place. diff -r 09bd2240669f -r 785e92ee4c96 cartridge.scad --- a/cartridge.scad Sat Feb 22 15:36:15 2014 +0100 +++ b/cartridge.scad Sat Feb 22 16:06:57 2014 +0100 @@ -75,6 +75,17 @@ front_depth = 6.5; back_depth = 11.0; + /* Side thicknesses. */ + + front = 2; + back = 3.5; + top = 3; + front_left = 1; + front_right = front_left; + back_left = 1.5; + back_right = back_left; + bottom = 2; + /* Label details. */ front_label_width = 83.0; @@ -112,7 +123,7 @@ back_cavity_depth = 1.5; inner_back_cavity_offset = 1.0; - inner_back_cavity_offset_from_left = 2.0; + inner_back_cavity_offset_from_left = back_left; inner_back_slope_offset_from_left = 10.0; inner_back_slope_width = 2.5; inner_back_slope_depth = 2.5; @@ -141,17 +152,6 @@ (Acorn Support Application Group Note 014). */ - /* Side thicknesses. */ - - front = 2; - back = 3.5; - top = 3; - front_left = 1; - front_right = 1; - back_left = 2; - back_right = 2; - bottom = 2; - /* Extra internal features. */ pcb_back_support_width = 1.2; @@ -175,6 +175,9 @@ pcb_back_support_left_bump_offset_from_bottom = 15.1; pcb_back_support_right_bump_offset_from_bottom = 17.6; + /* Move the PCB support towards the centre. */ + pcb_support_margin = 0.55; + translate([-width * 0.6, 0, 0]) difference() { @@ -227,7 +230,8 @@ pcb_front_support_depth, pcb_front_support_height, 1, -1, 1, - -edge_connector_cutout_back_width / 2, + -edge_connector_cutout_back_width / 2 + + pcb_support_margin, 0, -height / 2 + bottom + bottom_from_base); @@ -235,7 +239,8 @@ pcb_front_support_depth, pcb_front_support_height, -1, -1, 1, - edge_connector_cutout_back_width / 2, + edge_connector_cutout_back_width / 2 - + pcb_support_margin, 0, -height / 2 + bottom + bottom_from_base); } @@ -351,7 +356,8 @@ /* PCB supports. */ - translate([-edge_connector_cutout_back_width / 2, + translate([-edge_connector_cutout_back_width / 2 + + pcb_support_margin, edge_connector_cutout_back_depth, -height / 2 + bottom + bottom_from_base]) justify(pcb_back_support_width, @@ -372,7 +378,8 @@ pcb_back_support_left_bump_offset_from_bottom); } - translate([edge_connector_cutout_back_width / 2, + translate([edge_connector_cutout_back_width / 2 - + pcb_support_margin, edge_connector_cutout_back_depth, -height / 2 + bottom + bottom_from_base]) justify(pcb_back_support_width,