1.1 --- a/cartridge.scad Sat Feb 22 20:47:29 2014 +0100
1.2 +++ b/cartridge.scad Wed Apr 23 20:33:02 2014 +0200
1.3 @@ -80,7 +80,7 @@
1.4 front = 2;
1.5 back = 3.5;
1.6 top = 3;
1.7 - front_left = 1;
1.8 + front_left = 1.5;
1.9 front_right = front_left;
1.10 back_left = 1.5;
1.11 back_right = back_left;
1.12 @@ -110,9 +110,14 @@
1.13
1.14 /* Space for the back inside the front. */
1.15
1.16 - inner_top_front_cutout_width = 87.0;
1.17 + inner_top_front_cutout_width = width - back_left - back_right;
1.18 inner_top_front_cutout_depth = 1.0;
1.19 - inner_top_front_cutout_offset = 2.0;
1.20 + inner_top_front_cutout_offset = 2.0; /* from top outer surface */
1.21 +
1.22 + inner_side_front_cutout_height = height - inner_top_front_cutout_offset;
1.23 + inner_side_front_cutout_width = 0.5;
1.24 + inner_side_front_cutout_depth = 1.0;
1.25 + inner_side_front_cutout_offset = 1.0; /* from side outer surface */
1.26
1.27 back_cavity_width = 68.0;
1.28 back_cavity_inner_width = 65.0;
1.29 @@ -358,7 +363,7 @@
1.30 [-extra, inner_front_edge_depth],
1.31 ]);
1.32
1.33 - /* Inner top cutout for the top of the back portion. */
1.34 + /* Inner top cutout for the top and sides of the back portion. */
1.35
1.36 translate([0, -inner_top_front_cutout_depth / 2, height / 2 -
1.37 inner_top_front_cutout_offset -
1.38 @@ -367,6 +372,22 @@
1.39 inner_top_front_cutout_depth,
1.40 inner_top_front_cutout_depth], center = true);
1.41
1.42 + translate([width / 2 - inner_side_front_cutout_offset -
1.43 + inner_side_front_cutout_width / 2,
1.44 + -inner_side_front_cutout_depth / 2,
1.45 + -inner_top_front_cutout_offset / 2])
1.46 + cube([inner_side_front_cutout_width,
1.47 + inner_side_front_cutout_depth,
1.48 + inner_side_front_cutout_height], center = true);
1.49 +
1.50 + translate([-width / 2 + inner_side_front_cutout_offset +
1.51 + inner_side_front_cutout_width / 2,
1.52 + -inner_side_front_cutout_depth / 2,
1.53 + -inner_top_front_cutout_offset / 2])
1.54 + cube([inner_side_front_cutout_width,
1.55 + inner_side_front_cutout_depth,
1.56 + inner_side_front_cutout_height], center = true);
1.57 +
1.58 /* Fillets to round off the edges. */
1.59
1.60 union() {