1.1 --- a/cartridge.scad Mon Oct 06 22:08:06 2014 +0200
1.2 +++ b/cartridge.scad Mon Oct 06 23:08:59 2014 +0200
1.3 @@ -85,16 +85,18 @@
1.4
1.5 groove_width_extra = 2.0;
1.6
1.7 - /* Division of pieces into front and back. */
1.8 + /* Division of pieces into front and back, defining the extents. */
1.9
1.10 - front_depth = 6.5;
1.11 + int_front_depth = 4.5;
1.12 + front_depth = int_front_depth + front;
1.13 + int_back_depth = int_depth - int_front_depth + groove_width_extra;
1.14 + back_depth = int_back_depth + back;
1.15
1.16 /* Cartridge dimensions. */
1.17
1.18 width = int_width + side + side;
1.19 height = int_payload_height + int_connector_height + top;
1.20 depth = int_depth + front + back;
1.21 - back_depth = depth - front_depth + groove_width_extra;
1.22
1.23 /* Cartridge surfaces. */
1.24
1.25 @@ -157,7 +159,9 @@
1.26 back_cavity_inner_height = 12.0;
1.27 back_cavity_depth = 1.5;
1.28
1.29 - /* The effect of the cavity on the inside of the case. */
1.30 + /*
1.31 + The effect of the cavity on the inside of the case.
1.32 + */
1.33
1.34 inner_back_cavity_offset = 1.0;
1.35 inner_back_cavity_offset_from_left = back_left;
1.36 @@ -175,9 +179,20 @@
1.37 inner_front_edge_height = 3.0;
1.38 inner_front_edge_depth = 1.5;
1.39
1.40 + /*
1.41 + The cutouts in the floor of the front of the cartridge that produce a
1.42 + kind of tab that guides the edge connector into place in the back cutout.
1.43 + */
1.44 +
1.45 edge_connector_cutout_front_offset = 1.0;
1.46 edge_connector_cutout_front_depth = 1.0;
1.47 edge_connector_cutout_front_width = 15.0;
1.48 +
1.49 + /*
1.50 + The cutout in the floor of the back of the cartridge that accommodates
1.51 + the edge connector.
1.52 + */
1.53 +
1.54 edge_connector_cutout_back_depth = 3.0;
1.55 edge_connector_cutout_back_width = 57.5;
1.56
1.57 @@ -312,7 +327,7 @@
1.58 module pcb_front_lug(xdir) {
1.59 translate([xdir *
1.60 (width/2 - pcb_lug_offset_from_outside),
1.61 - -front_depth + front + pcb_front_lug_depth,
1.62 + -int_front_depth + pcb_front_lug_depth,
1.63 -height / 2 + bottom + int_connector_height +
1.64 pcb_lug_offset_from_bottom
1.65 ])