pyboxbuilder.box.baseΒΆ

BoxTypeBase β€” what every box type implementation inherits.

The hooks below used to be discovered with getattr(box, "wall_tops", None), which is a protocol nobody can read off the code and a typo nobody can catch. They are ordinary methods with ordinary defaults now: a type overrides the ones it has an opinion about and inherits the rest.

Interior is re-exported here because the types import it alongside this module; it is defined once, in interior.py.

Classes

BoxTypeBase

Base for every box type implementation.