# HG changeset patch # User Paul Boddie # Date 1390086259 -3600 # Node ID 6a9c1d13b576d01c63950b9ceaf1388954838cec # Parent d014204b2cc13a22150ee27dc735805a8758cef9 Added an initial attempt at the inner front edge cavity. diff -r d014204b2cc1 -r 6a9c1d13b576 cartridge.scad --- a/cartridge.scad Sat Jan 18 22:07:33 2014 +0100 +++ b/cartridge.scad Sun Jan 19 00:04:19 2014 +0100 @@ -57,6 +57,11 @@ inner_back_edge_height = 3.0; inner_back_edge_depth = 1.5; + inner_front_edge_offset = 0.5; + inner_front_edge_width = 87.0; + inner_front_edge_height = 3.0; + inner_front_edge_depth = 1.5; + bottom_from_base = 13.5; /* Side thicknesses. */ @@ -192,18 +197,32 @@ -inner_back_slope_depth] ]); + /* Inner back edge cavity. */ + translate([inner_back_edge_width / 2, depth / 2 - inner_back_edge_offset, -height / 2]) rotate([0, -90, 0]) linear_extrude(height = inner_back_edge_width) polygon([ [-extra, -inner_back_edge_depth], - [0, -inner_back_edge_depth], [inner_back_edge_height, -inner_back_edge_depth], [0, 0], [-extra, 0] ]); + /* Inner front edge cavity. */ + + translate([inner_front_edge_width / 2, + -depth / 2 + inner_front_edge_offset, -height / 2]) + rotate([0, -90, 0]) + linear_extrude(height = inner_front_edge_width) + polygon([ + [-extra, 0], + [0, 0], + [inner_front_edge_height, inner_front_edge_depth], + [-extra, inner_front_edge_depth], + ]); + /* Fillets to round off the edges. */ union() {