pyboxbuilder.box.types.magnetic_hinge.MagneticHingeBox¶
- class pyboxbuilder.box.types.magnetic_hinge.MagneticHingeBox[source]¶
Bases:
BoxTypeBaseHinged box with a filament pin hinge at the back and a small magnet catch at the front.
- build_body(spec: BoxSpec) Bosl2Solid[source]¶
Return the shell with rear hinge knuckles and a front magnet boss and socket.
-
build_lid(spec: BoxSpec, decoration: object =
None) Bosl2Solid[source]¶ Return a hinged lid carrying rear knuckles and a front underside magnet socket.