| 12345678910111213141516171819202122232425262728293031323334 |
- // ============================================================
- // Full Assembly — EE04 case + lid + epd_case + plungers
- // Replaces the old assembly view that lived in cpu_case.scad
- // ============================================================
- include <params.scad>
- use <cpu_case.scad>
- use <lid.scad>
- use <plunger.scad>
- /* [Preview] */
- SHOW_BASE = true;
- SHOW_LID = true;
- SHOW_BOARD = true;
- SHOW_PLUNGERS = true;
- SHOW_BATTERY = true;
- SHOW_DISP = true;
- EXPLODE = $t*75; // mm to pull lid out in Y- for inspection (try 40)
- if (SHOW_BASE) base();
- if ($preview && SHOW_BATTERY) battery();
- if (SHOW_LID)
- translate([0,
- WALL - EXPLODE,
- BASE_H - FLANGE_H])
- lid();
- if ($preview && SHOW_BOARD) stl_board();
- if (SHOW_PLUNGERS)
- for (bcx = BTN_CX)
- translate([PCB_OX + bcx, OUT_W - WALL, PCB_Z + BTN_CZ])
- plunger();
|