|
|
@@ -106,17 +106,14 @@ module lid() {
|
|
|
color("#004B49")
|
|
|
difference() {
|
|
|
union() {
|
|
|
- if (!EPD_IS_LID)
|
|
|
- // Flat ceiling plate — test fit without epd_case geometry
|
|
|
- translate([0, -WALL, FLANGE_H])
|
|
|
- rounded_box(OUT_L, OUT_W, LID_T, CORNER_R);
|
|
|
- else
|
|
|
- translate([
|
|
|
- OUT_L/2 - epd_case_w/2,
|
|
|
- OUT_W - epd_case_d - WALL,
|
|
|
- LID_T
|
|
|
- ])
|
|
|
- epd_case();
|
|
|
+ // Flat ceiling plate — always rendered
|
|
|
+ translate([0, -WALL, FLANGE_H])
|
|
|
+ rounded_box(OUT_L, OUT_W, LID_T, CORNER_R);
|
|
|
+ if (EPD_IS_LID)
|
|
|
+ translate([OUT_L/2 - epd_case_w/2, OUT_W - WALL, FLANGE_H + LID_T])
|
|
|
+ rotate([-EPD_ANGLE, 0, 0])
|
|
|
+ translate([0, -epd_case_d, 0])
|
|
|
+ epd_case();
|
|
|
|
|
|
// Y- lip — same rounded_box profile clipped to the Y- wall zone so the
|
|
|
// lip corners match the base exterior corners
|
|
|
@@ -137,12 +134,10 @@ module lid() {
|
|
|
|
|
|
// Display mockup — seated inside epd_case, preview only
|
|
|
if ($preview && EPD_IS_LID && SHOW_DISP)
|
|
|
- translate([
|
|
|
- OUT_L/2 - epd_case_w/2 + WALL + TOL,
|
|
|
- OUT_W - epd_case_d - WALL + BEZEL_Y,
|
|
|
- LID_T + WALL
|
|
|
- ])
|
|
|
- GDEY0583T81(fpc_bend_start=0, fpc_bend_r=FPC_BEND_R, fpc_post_clip=2);
|
|
|
+ translate([OUT_L/2 - epd_case_w/2, OUT_W - WALL, FLANGE_H + LID_T])
|
|
|
+ rotate([-EPD_ANGLE, 0, 0])
|
|
|
+ translate([WALL + TOL, -epd_case_d + BEZEL_Y, WALL])
|
|
|
+ GDEY0583T81(fpc_bend_start=0, fpc_bend_r=FPC_BEND_R, fpc_post_clip=2);
|
|
|
|
|
|
// FPC adapter — bosses always (structural); PCB/connectors shown only in $preview.
|
|
|
// rotate([0,180,0]) flips Z without disturbing ±Y connector exits; +_adpt_w re-centres X.
|