# HG changeset patch # User Paul Boddie # Date 1390078329 -3600 # Node ID eecd06671d6a9bd5124082ec3189221f71e822e0 # Parent 3a3c5c3ff80ea7b58ffcc980fd7162870d474606 Added inner back cavities of the cartridge to the CAD specification. Added missing inner wall to the side projection of the back of the cartridge in the SVG diagram. diff -r 3a3c5c3ff80e -r eecd06671d6a cartridge.scad --- a/cartridge.scad Sat Jan 11 02:00:47 2014 +0100 +++ b/cartridge.scad Sat Jan 18 21:52:09 2014 +0100 @@ -46,6 +46,19 @@ back_cavity_inner_height = 12.0; back_cavity_depth = 1.5; + inner_back_cavity_offset = back_cavity_depth; + inner_back_cavity_offset_from_left = 2.0; + inner_back_slope_offset_from_left = 10.0; + inner_back_slope_width = 2.5; + inner_back_slope_depth = 2.0; + + inner_back_edge_offset = 2.0; + inner_back_edge_width = 69.0; + inner_back_edge_height = 3.0; + inner_back_edge_depth = 1.5; + + bottom_from_base = 13.5; + /* Side thicknesses. */ front = 2; @@ -53,6 +66,7 @@ top = 3; left = 2; right = 2; + bottom = 2; difference() { @@ -69,6 +83,8 @@ cube([right, depth, height], center = true); translate([0, 0, height / 2 - top / 2]) cube([width, depth, top], center = true); + translate([0, 0, -height / 2 + bottom / 2 + bottom_from_base]) + cube([width, depth, top], center = true); } /* Label insets. */ @@ -148,6 +164,46 @@ ]); } + /* Inner back cavities. */ + + translate([0, depth / 2 - inner_back_cavity_offset, -height / 2]) + linear_extrude(height = bottom_from_base) + translate([-width / 2, 0, 0]) + polygon([ + [inner_back_cavity_offset_from_left, 0], + [inner_back_slope_offset_from_left, 0], + [inner_back_slope_offset_from_left + + inner_back_slope_width, + -inner_back_slope_depth], + [inner_back_cavity_offset_from_left, + -inner_back_slope_depth] + ]); + + translate([0, depth / 2 - inner_back_cavity_offset, -height / 2]) + linear_extrude(height = bottom_from_base) + translate([-width / 2, 0, 0]) + polygon([ + [width - inner_back_slope_offset_from_left, 0], + [width - inner_back_cavity_offset_from_left, 0], + [width - inner_back_cavity_offset_from_left, + -inner_back_slope_depth], + [width - inner_back_slope_offset_from_left - + inner_back_slope_width, + -inner_back_slope_depth] + ]); + + 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] + ]); + /* Fillets to round off the edges. */ union() { diff -r 3a3c5c3ff80e -r eecd06671d6a cartridge.svg --- a/cartridge.svg Sat Jan 11 02:00:47 2014 +0100 +++ b/cartridge.svg Sat Jan 18 21:52:09 2014 +0100 @@ -95,9 +95,9 @@ borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" - inkscape:zoom="0.97568255" - inkscape:cx="526.18109" - inkscape:cy="372.04724" + inkscape:zoom="2.4833006" + inkscape:cx="303.1002" + inkscape:cy="397.55748" inkscape:document-units="mm" inkscape:current-layer="layer1" showgrid="true" @@ -845,9 +845,11 @@ x="163.70898">8.9cm + id="front-1-3" + inkscape:connector-curvature="0" + sodipodi:nodetypes="cccccccccccccccccc"> Front of cartridge @@ -977,7 +979,7 @@ sodipodi:cy="54.921238" sodipodi:rx="5.3149605" sodipodi:ry="5.3149605" - d="m 35.433071,54.921238 a 5.3149605,5.3149605 0 1 1 -10.629921,0 5.3149605,5.3149605 0 1 1 10.629921,0 z" + d="m 35.433071,54.921238 c 0,2.935372 -2.379589,5.31496 -5.31496,5.31496 -2.935372,0 -5.314961,-2.379588 -5.314961,-5.31496 0,-2.935372 2.379589,-5.314961 5.314961,-5.314961 2.935371,0 5.31496,2.379589 5.31496,5.314961 z" transform="translate(542.12601,364.96061)" /> Back + id="flowPara3368">Back + Front of cartridge + +