1.1 --- a/cartridge.scad Tue Oct 07 19:13:16 2014 +0200
1.2 +++ b/cartridge.scad Tue Oct 07 19:42:36 2014 +0200
1.3 @@ -231,7 +231,7 @@
1.4 pcb_back_support_height = height - int_connector_height - top - bottom;
1.5
1.6 pcb_front_support_width = 1.2;
1.7 - pcb_front_support_depth = front_depth;
1.8 + pcb_front_support_depth = int_front_depth;
1.9 pcb_front_support_height = pcb_back_support_height;
1.10
1.11 /*
1.12 @@ -264,7 +264,7 @@
1.13 pcb_lug_cross_height = 1.4;
1.14
1.15 pcb_front_lug_depth = pcb_back_support_bump_depth +
1.16 - pcb_front_support_depth - front;
1.17 + pcb_front_support_depth;
1.18 pcb_front_lug_inner_radius = pcb_lug_outer_radius;
1.19 pcb_front_lug_outer_radius = pow(
1.20 pow(pcb_lug_cross_width / 2, 2) +
1.21 @@ -394,7 +394,7 @@
1.22
1.23 /* Floor of cartridge. */
1.24
1.25 - cube_at(width, front_depth, bottom,
1.26 + cube_at(width, int_front_depth, bottom,
1.27 0, -1, 1,
1.28 0, 0, -height / 2 + int_connector_height);
1.29
1.30 @@ -424,18 +424,16 @@
1.31 cube_at(pcb_front_support_width,
1.32 pcb_front_support_depth,
1.33 pcb_front_support_height,
1.34 - 1, -1, 1,
1.35 - -edge_connector_cutout_back_width / 2 +
1.36 - pcb_support_margin,
1.37 + -1, -1, 1,
1.38 + -pcb_support_offset_from_centre,
1.39 0,
1.40 -height / 2 + bottom + int_connector_height);
1.41
1.42 cube_at(pcb_front_support_width,
1.43 pcb_front_support_depth,
1.44 pcb_front_support_height,
1.45 - -1, -1, 1,
1.46 - edge_connector_cutout_back_width / 2 -
1.47 - pcb_support_margin,
1.48 + 1, -1, 1,
1.49 + pcb_support_offset_from_centre,
1.50 0,
1.51 -height / 2 + bottom + int_connector_height);
1.52
1.53 @@ -569,7 +567,7 @@
1.54
1.55 /* Floor of cartridge. */
1.56
1.57 - cube_at(width, back_depth, bottom,
1.58 + cube_at(width, int_back_depth, bottom,
1.59 0, 1, 1,
1.60 0, 0, -height / 2 + int_connector_height);
1.61