Parcourir la source

Add y± cap wall recesses to case exterior

Matching the existing z- recess, cut a CAP_WALL-deep step into the y-
and y+ faces over the CAP_ENGAGE-CAP_PAD engagement zone so the cap
sleeve sits flush on all three sides.
ZiB il y a 4 mois
Parent
commit
0c50a3b9ec
1 fichiers modifiés avec 11 ajouts et 3 suppressions
  1. 11 3
      cable_cap.scad

+ 11 - 3
cable_cap.scad

@@ -36,7 +36,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     = 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;
 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_WALL    = 1.5;   // sleeve and end-wall thickness
 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) ---
 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 ---
 cav_w  = DISP_W + 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_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
         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]);
+
+        // 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]);
     }
 }