|
@@ -36,7 +36,7 @@ CHAM = 1.0;
|
|
|
CHAM_ANGLE = 60;
|
|
CHAM_ANGLE = 60;
|
|
|
CORNER_R = 2.5;
|
|
CORNER_R = 2.5;
|
|
|
CLIP_Z = 0; // preview: mm to remove from Z+ (0 = full model)
|
|
CLIP_Z = 0; // preview: mm to remove from Z+ (0 = full model)
|
|
|
-CLIP_Y = 5; // preview: mm to remove from Y+ (0 = full model)
|
|
|
|
|
|
|
+CLIP_Y = 0; // preview: mm to remove from Y+ (0 = full model)
|
|
|
SHOW_DISP = true;
|
|
SHOW_DISP = true;
|
|
|
SCREEN_EXPLODE = 0; // mm to pull display toward X+ in preview
|
|
SCREEN_EXPLODE = 0; // mm to pull display toward X+ in preview
|
|
|
|
|
|
|
@@ -46,7 +46,7 @@ CAP_PAD = 4.0; // Min cap bore depth
|
|
|
CAP_ENGAGE = CAP_PAD + 6.0; // sleeve engagement length over case exterior (X)
|
|
CAP_ENGAGE = CAP_PAD + 6.0; // sleeve engagement length over case exterior (X)
|
|
|
CAP_WALL = 1.5; // sleeve and end-wall thickness
|
|
CAP_WALL = 1.5; // sleeve and end-wall thickness
|
|
|
CAP_TOL = 0.2; // per-side slip clearance between bore and case exterior
|
|
CAP_TOL = 0.2; // per-side slip clearance between bore and case exterior
|
|
|
-CAP_EXPLODE = CAP_PAD + 0; // preview: mm to pull cap away from case in X+ (0 = seated)
|
|
|
|
|
|
|
+CAP_EXPLODE = CAP_PAD + 10; // preview: mm to pull cap away from case in X+ (0 = seated)
|
|
|
|
|
|
|
|
// --- Magnetic Strip Locating Lip (rear face) ---
|
|
// --- Magnetic Strip Locating Lip (rear face) ---
|
|
|
MAG_L = 1.772 * 25.4; // strip length ≈ 45.01 mm
|
|
MAG_L = 1.772 * 25.4; // strip length ≈ 45.01 mm
|
|
@@ -58,7 +58,7 @@ MAG_TOL = 0.2; // per-side clearance for strip fit
|
|
|
// --- Derived Dimensions ---
|
|
// --- Derived Dimensions ---
|
|
|
cav_w = DISP_W + TOL * 2;
|
|
cav_w = DISP_W + TOL * 2;
|
|
|
cav_d = DISP_D + TOL * 2;
|
|
cav_d = DISP_D + TOL * 2;
|
|
|
-case_w = WALL + cav_w; // no X+ wall; open for display entry
|
|
|
|
|
|
|
+case_w = WALL + DISP_W+ TOL; // ends at display X+ face; cap retains display
|
|
|
case_h = WALL + DISP_T + LIP;
|
|
case_h = WALL + DISP_T + LIP;
|
|
|
case_d = WALL * 2 + cav_d;
|
|
case_d = WALL * 2 + cav_d;
|
|
|
|
|
|
|
@@ -135,6 +135,14 @@ module epd_case() {
|
|
|
// Cap wall recess — step in z- face at X+ end so cap sits flush
|
|
// Cap wall recess — step in z- face at X+ end so cap sits flush
|
|
|
translate([case_w - CAP_ENGAGE + CAP_PAD, -0.01, -0.01])
|
|
translate([case_w - CAP_ENGAGE + CAP_PAD, -0.01, -0.01])
|
|
|
cube([CAP_ENGAGE + 0.02 - CAP_PAD, case_d + 0.02, CAP_WALL + 0.01]);
|
|
cube([CAP_ENGAGE + 0.02 - CAP_PAD, case_d + 0.02, CAP_WALL + 0.01]);
|
|
|
|
|
+
|
|
|
|
|
+ // Cap wall recess — step in y- face at X+ end so cap sits flush
|
|
|
|
|
+ translate([case_w - CAP_ENGAGE + CAP_PAD, -0.01, -0.01])
|
|
|
|
|
+ cube([CAP_ENGAGE - CAP_PAD + 0.02, CAP_WALL + 0.01, case_h + 0.02]);
|
|
|
|
|
+
|
|
|
|
|
+ // Cap wall recess — step in y+ face at X+ end so cap sits flush
|
|
|
|
|
+ translate([case_w - CAP_ENGAGE + CAP_PAD, case_d - CAP_WALL, -0.01])
|
|
|
|
|
+ cube([CAP_ENGAGE - CAP_PAD + 0.02, CAP_WALL + 0.01, case_h + 0.02]);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|