1.1 --- a/cartridge.scad Mon Apr 11 13:56:43 2016 +0200
1.2 +++ b/cartridge.scad Mon Apr 11 15:28:21 2016 +0200
1.3 @@ -85,7 +85,6 @@
1.4 /* For printing: APART = 1; PCB = 0; */
1.5
1.6 APART = 1;
1.7 - SPACE_APART = 10;
1.8 PCB = 0;
1.9
1.10 /* To check overlaps: INTERSECT = 1; CLOSED = 1; */
1.11 @@ -93,6 +92,10 @@
1.12 INTERSECT = 0;
1.13 CLOSED = 0;
1.14
1.15 + /* Separation when not apart and not closed. */
1.16 +
1.17 + SEPARATION = 10;
1.18 +
1.19 /* To save time (before printing): FILLET = 0; */
1.20
1.21 FILLET = 1;
1.22 @@ -1405,7 +1408,7 @@
1.23 the same way, if APART is defined.
1.24 */
1.25
1.26 - front_displacement_together = CLOSED ? front_back_overlap : front_back_overlap - SPACE_APART;
1.27 + front_displacement_together = CLOSED ? front_back_overlap : APART ? 0 : front_back_overlap - SEPARATION;
1.28 front_displacement = APART ? -connector_width * 0.6 : 0;
1.29 back_displacement = APART ? connector_width * 0.6 : 0;
1.30 back_rotation = APART ? 180 : 0;