1.1 --- a/cartridge.scad Fri Dec 12 01:41:27 2014 +0100
1.2 +++ b/cartridge.scad Mon Aug 03 23:39:59 2015 +0200
1.3 @@ -25,6 +25,7 @@
1.4 FRONT_LABEL_INSET = 1;
1.5 TOP_LABEL_INSET = 1;
1.6 GROOVE = 1;
1.7 + SHORT_PCB = 0;
1.8
1.9 /* Model configurations. */
1.10
1.11 @@ -349,6 +350,8 @@
1.12 pcb_back_support_right_bump_height = 10.7;
1.13 pcb_back_support_left_bump_offset_from_bottom = 15.1;
1.14 pcb_back_support_right_bump_offset_from_bottom = 17.6;
1.15 +
1.16 + /* Configured by SHORT_PCB. */
1.17 pcb_back_support_top_bump_height = 3.8;
1.18
1.19 /* Move the PCB support towards the centre. */
1.20 @@ -452,14 +455,15 @@
1.21
1.22 /* Top bump. */
1.23
1.24 - cube_at(pcb_back_support_bump_width,
1.25 - pcb_back_support_bump_depth,
1.26 - pcb_back_support_top_bump_height,
1.27 - 0, -1, 1,
1.28 - 0,
1.29 - -pcb_back_support_depth / 2,
1.30 - pcb_back_support_height / 2 -
1.31 - pcb_back_support_top_bump_height);
1.32 + if (SHORT_PCB)
1.33 + cube_at(pcb_back_support_bump_width,
1.34 + pcb_back_support_bump_depth,
1.35 + pcb_back_support_top_bump_height,
1.36 + 0, -1, 1,
1.37 + 0,
1.38 + -pcb_back_support_depth / 2,
1.39 + pcb_back_support_height / 2 -
1.40 + pcb_back_support_top_bump_height);
1.41 }
1.42 }
1.43