| 1234567891011121314151617181920212223242526272829303132333435363738 |
- // ============================================================
- // 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)
- module assembly() {
- 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();
- }
- assembly();
|