Procházet zdrojové kódy

Add chamfer tab to cap bridging gap at beveled window bezel

Derives the gap width between the cap sleeve's X- face and the case's
chamfered window bezel X+ edge, then fills it with a prism on the cap's
Z+ wall: full-width at the Z- base, tapering to a knife edge at Z+,
continuing the visual line of the bezel chamfer.
ZiB před 4 měsíci
rodič
revize
aaadce1b6a
1 změnil soubory, kde provedl 9 přidání a 0 odebrání
  1. 9 0
      cable_cap.scad

+ 9 - 0
cable_cap.scad

@@ -75,6 +75,7 @@ fpc_pkt_yw = FPC_W + 2 * FPC_POCKET_PAD;
 // Cap derived
 _cap_bore_w  = case_d - 2*CAP_WALL;                // bore Y width (fits recessed case)
 _cap_bore_h  = case_h + 2*CAP_TOL;                 // bore Z height
+_cap_gap_w   = (case_w - CAP_ENGAGE + CAP_PAD) - (win_x + ACT_W + _cham_xy); // gap between cap X- face and beveled bezel X+ end
 // Magnetic strip recess geometry (centered on back face)
 _lip_il = MAG_L + 2 * MAG_TOL;
 _lip_iw = MAG_W + 2 * MAG_TOL;
@@ -201,6 +202,14 @@ module cable_cap() {
     for (rib_dy = [fpc_pkt_y - CAP_WALL, fpc_pkt_y + fpc_pkt_yw])
         translate([CAP_ENGAGE - CAP_PAD, rib_dy, 0])
             cube([CAP_WALL, CAP_WALL, _cap_h]);
+
+    // Chamfer tab: extends window bezel chamfer across the gap to the cap X- face
+    hull() {
+        translate([-_cap_gap_w, 0, _cap_bore_h])
+            cube([_cap_gap_w, case_d, 0.01]);
+        translate([-0.01, 0, _cap_bore_h + CAP_WALL - 0.01])
+            cube([0.01, case_d, 0.01]);
+    }
     }}
 }