Spec sheet · hinges.py
hinges.py
A print-in-place living-hinge mask, an interlocking knuckle hinge with a pin bore, and snap lock / socket connectors.
knuckle_hinge_pair(length=40, segs=5)interactive · drag to orbit
rendered & measured
Two leaves meshed around one pin, exported as a single mesh. Folding re-triangulates the surface but moves mass rigidly.
variants · click to load
370triangles
5,886.5mm³ volume
40×46×6bbox mm
>>> Hinges.knuckle_hinge_pair(length=40, segs=5)
0.02%
Δvolume across the fold = 1.2 mm³. A rigid rotation, not a distortion — the pin bore and knuckle mesh stay closed.
6 tests · full API reference →