pyboxbuilder.box.types.sliding_catch.SlidingCatchBox¶
- class pyboxbuilder.box.types.sliding_catch.SlidingCatchBox[source]¶
Bases:
BoxTypeBaseSliding-catch lid box type.
- build_body(spec: BoxSpec) Bosl2Solid[source]¶
Sliding grooves, plus a dimple beside the outlet for the catch.
-
build_lid(spec: BoxSpec, decoration: object =
None) Bosl2Solid[source]¶ Return the sliding plate with a bump that clicks into the body’s dimple.
- lid_rounded_edges(spec: BoxSpec) list[Anchor][source]¶
Return only the end that finishes outside the box.
Its top edge and the two vertical corners there. The rest of the plate lives in the channel.