# HG changeset patch # User Paul Boddie # Date 1390090377 -3600 # Node ID 4910bce5fa5062f44acdac0621d8993398a675a4 # Parent 6a558059d57646b03dd2ac81d396d320cbb47961 Fixed the rounding of the top edges for the two separate parts. Added a cutout in the inside of the top of the front part of the cartridge for the protruding top section of the back part of the cartridge. diff -r 6a558059d576 -r 4910bce5fa50 cartridge.scad --- a/cartridge.scad Sun Jan 19 00:51:20 2014 +0100 +++ b/cartridge.scad Sun Jan 19 01:12:57 2014 +0100 @@ -42,6 +42,9 @@ groove_depth = 1.0; /* how deep the groove goes into each side */ top_groove_width = 1.0; top_groove_depth = 2.0; + inner_top_front_cutout_width = 87.0; + inner_top_front_cutout_depth = 1.0; + inner_top_front_cutout_offset = 2.0; back_cavity_width = 68.0; back_cavity_inner_width = 65.0; @@ -190,6 +193,15 @@ height / 2 - top_groove_depth / 2]) cube([width, top_groove_width, top_groove_depth], center = true); + + /* Inner top cutout for the top of the back portion. */ + + translate([0, -inner_top_front_cutout_depth / 2, height / 2 - + inner_top_front_cutout_offset - + inner_top_front_cutout_depth / 2]) + cube([inner_top_front_cutout_width, + inner_top_front_cutout_depth, + inner_top_front_cutout_depth], center = true); } /* Back cavity. */ @@ -286,13 +298,21 @@ /* Top left and right rounding. */ - translate([-width / 2 + ro, 0, height / 2 - ro]) + translate([-width / 2 + ro, -front_depth / 2, height / 2 - ro]) rotate([0, 0, 180]) rotate([90, 0, 0]) - fillet(rr, depth); - translate([width / 2 - ro, 0, height / 2 - ro]) + fillet(rr, front_depth); + translate([width / 2 - ro, -front_depth / 2, height / 2 - ro]) rotate([90, 0, 0]) - fillet(rr, depth); + fillet(rr, front_depth); + + translate([-width / 2 + ro, back_depth / 2, height / 2 - ro]) + rotate([0, 0, 180]) + rotate([90, 0, 0]) + fillet(rr, back_depth); + translate([width / 2 - ro, back_depth / 2, height / 2 - ro]) + rotate([90, 0, 0]) + fillet(rr, back_depth); /* Top back and front rounding. */