cyberdeck_

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.

The mint clamshell open on an oak desk, seen from the front: a terminal on the phone in the lid, the keyboard in the black base.

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

A clamshell deck, open on a wooden table: an iPhone in the lid shows a terminal, a compact keyboard sits in the base.
Clamshell: 138 × 81 × 24.5 mm closed, the lid opens to 112°
A flat one-piece slate on a wooden table, holding an iPhone above a compact keyboard.
Slate: one flat piece, 138 × 140.5 × 13.4 mm
A red clamshell deck, open on a wooden table: an iPhone framed in the lid, a compact keyboard in the black base.
Slide-in clamshell: the phone slides into the lid and a tab clicks in behind it, no ring sticker needed
A red one-piece slate on a wooden table, the iPhone held in a frame above a compact keyboard.
Slide-in slate: the phone slides into a frame and stays by its snug fit, no ring sticker needed

Models

Drag to turn, scroll or pinch to zoom, right-drag or two fingers to move

Loading…

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.

FileWhatPrint
base.stlClamshell: keyboard tray and hingeFloor down, no supports
lid.stlClamshell: MagSafe phone pocket and hinge knucklesBack plate down, tree supports under the knuckles
fit_keyboard.stlFit test: a slice of the keyboard pocketBefore the full parts, to try the fit
slate.stlSlate: phone on top, held by MagSafe; keyboard below; one pieceBack down, no supports
slide-in/lid.stlSlide-in clamshell: phone bay with a latch tab and hinge knuckles; prints with the same base.stlBack plate down, tree supports under the knuckles
slide-in/slate.stlSlide-in slate: phone in a frame on top, keyboard below; one pieceBack down, tree supports from the bed; cut the thin skins out of the screen and camera windows
radius_gauge.stlCorner radius gauge, 7–11.5 mm, for a different phone or keyboardFlat
radius_gauge_case.stl
radius_gauge_lid.stl
Case and sliding lid for the gauge tilesUpright 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.