pyboxbuilder.box.features.FingernailCatch

class pyboxbuilder.box.features.FingernailCatch(centre: tuple[float, float], radius: float, depth: float, axis: str = 'x')[source]

Bases: object

A sliding lid’s fingernail dish: where it is, and how big.

axis : str = 'x'

The axis the lid slides along, which the flat wall stands square to.

centre : tuple[float, float]

Where the dish sits on the lid, in the box’s frame.

The centre of the whole sphere the dish is half of, so it is also where the flat wall stands — see fingernail_dish().

depth : float

How far it sinks below the lid’s top face.

property keepout_radius : float

Radius a pattern must stay clear of, dish plus its margin.

radius : float

The opening’s radius — what a nail sees on the surface.