combined.scad 884 B

12345678910111213141516171819202122232425262728293031323334
  1. // ============================================================
  2. // Full Assembly — EE04 case + lid + epd_case + plungers
  3. // Replaces the old assembly view that lived in cpu_case.scad
  4. // ============================================================
  5. include <params.scad>
  6. use <cpu_case.scad>
  7. use <lid.scad>
  8. use <plunger.scad>
  9. /* [Preview] */
  10. SHOW_BASE = true;
  11. SHOW_LID = true;
  12. SHOW_BOARD = true;
  13. SHOW_PLUNGERS = true;
  14. SHOW_BATTERY = true;
  15. SHOW_DISP = true;
  16. EXPLODE = $t*75; // mm to pull lid out in Y- for inspection (try 40)
  17. if (SHOW_BASE) base();
  18. if ($preview && SHOW_BATTERY) battery();
  19. if (SHOW_LID)
  20. translate([0,
  21. WALL - EXPLODE,
  22. BASE_H - FLANGE_H])
  23. lid();
  24. if ($preview && SHOW_BOARD) stl_board();
  25. if (SHOW_PLUNGERS)
  26. for (bcx = BTN_CX)
  27. translate([PCB_OX + bcx, OUT_W - WALL, PCB_Z + BTN_CZ])
  28. plunger();