# OpenScribe case Parametric 3D-printed enclosure, in OpenSCAD. > Status: M0 scaffold. `openscribe_case.scad` is a parametric two-part shell with the > openings a recorder needs (mic port, button, USB, LED). M8 measures the chosen build, > tunes the parameters, adds a clip/lanyard mount and print tolerances, and exports STLs. ## Render / export - Open `openscribe_case.scad` in OpenSCAD. - Set `part` to `bottom`, `top` or `both`, then F5 (preview) / F6 (render). - Export STL (or use the CLI): `openscad -o case_top.stl -D 'part="top"' openscribe_case.scad` ## Parameters Board and battery dimensions default to Build A (XIAO ESP32-S3 Sense + a small LiPo). Edit the `[Board]` / `[Battery]` / `[Enclosure]` / `[Openings]` variables at the top to fit your build from `../hardware/BOM.md`. ## Printing - Material: PLA or PETG. 0.2 mm layers, 3 perimeters. - STL/3MF/gcode exports are gitignored; commit only the `.scad` source.