A pocket deck you can print
An iPhone 12 mini and a mini Bluetooth keyboard in a 3D-printed shell: a clamshell with a hinged lid, or a one-piece slate. The phone runs DeckTerm, an SSH terminal made for landscape and the keyboard.
Help wanted: the hinge. The clamshell's hinge is its weakest part: two M3 screws are the pins, nothing holds the lid shut, and a tenth of a millimetre of print error moves the 112° stop by about 2°. The project is open source. If you design hinges or enclosures for a living, your help is very welcome: open an issue or a pull request on GitHub.
Four builds
The same phone and keyboard, hinged or flat, the phone held by MagSafe or slid into a frame
Models
Drag to turn, scroll or pinch to zoom, right-drag or two fingers to move
Files
Creality K1, PLA, 0.2 mm layers, 3 walls, 20 % gyroid, no brim. The lid needs supports under its two hinge knuckles; the slate needs none. In the MagSafe builds the phone drops into a pocket and its magnets hold it: stick a steel MagSafe ring sticker into the round recess in the pocket's floor. The slide-in builds are the earlier design and need no sticker; they print with supports, and these last revisions haven't been printed yet.
| File | What | |
|---|---|---|
| base.stl | Clamshell: keyboard tray and hinge | Floor down, no supports |
| lid.stl | Clamshell: MagSafe phone pocket and hinge knuckles | Back plate down, tree supports under the knuckles |
| fit_keyboard.stl | Fit test: a slice of the keyboard pocket | Before the full parts, to try the fit |
| slate.stl | Slate: phone on top, held by MagSafe; keyboard below; one piece | Back down, no supports |
| slide-in/lid.stl | Slide-in clamshell: phone bay with a latch tab and hinge knuckles; prints with the same base.stl | Back plate down, tree supports under the knuckles |
| slide-in/slate.stl | Slide-in slate: phone in a frame on top, keyboard below; one piece | Back down, tree supports from the bed; cut the thin skins out of the screen and camera windows |
| radius_gauge.stl | Corner radius gauge, 7–11.5 mm, for a different phone or keyboard | Flat |
| radius_gauge_case.stl radius_gauge_lid.stl | Case and sliding lid for the gauge tiles | Upright and flat, no supports |
Also on Printables, with photos of real prints: the clamshell and the slate.
Every measurement is a named parameter in Python scripts that build the models in FreeCAD. To fit another phone or keyboard, change the numbers and run them again: see Customizing.