|
|
@@ -35,7 +35,7 @@ CHAM = 1.0;
|
|
|
CHAM_ANGLE = 60;
|
|
|
CORNER_R = 2.5;
|
|
|
CLIP_Z = 0; // preview: mm to remove from Z+ (0 = full model)
|
|
|
-CLIP_Y = 0; // preview: mm to remove from Y+ (0 = full model)
|
|
|
+CLIP_Y = 5; // preview: mm to remove from Y+ (0 = full model)
|
|
|
SHOW_DISP = true;
|
|
|
SCREEN_EXPLODE = 0; // mm to pull display toward X+ in preview
|
|
|
|
|
|
@@ -178,5 +178,13 @@ if ($preview && SHOW_DISP)
|
|
|
|
|
|
if (SHOW_CAP)
|
|
|
color("#1A5C5B")
|
|
|
- cable_cap();
|
|
|
+ intersection() {
|
|
|
+ cable_cap();
|
|
|
+ translate([0, -(CAP_TOL + CAP_WALL), -(CAP_TOL + CAP_WALL)])
|
|
|
+ cube([case_w + CAP_WALL + CAP_ENGAGE + CAP_EXPLODE + 1,
|
|
|
+ ($preview && CLIP_Y > 0)
|
|
|
+ ? max(0.01, case_d + CAP_TOL + CAP_WALL - CLIP_Y)
|
|
|
+ : case_d + 2 * (CAP_TOL + CAP_WALL) + 1,
|
|
|
+ case_h + 2 * (CAP_TOL + CAP_WALL) + 1]);
|
|
|
+ }
|
|
|
|