Skip to content

Models

LockableBox

Warning

This model works on "small" sizes but needs to be improved on "big" sizes as they can be opened, even when locked (tested with a print of 50 x 100 x h150mm).

Check the full code reference for more.

Lockable boxes are simple boxes which can be locked with a padlock. There is an overlap between the body and the lid, which has to be long enough to prevent opening the box when it's locked.

All dimensions are the internal space available in the container.

Parameters:

Name Type Description Default
inner_width float

Inner width. This side will have the lock parts

required
inner_length float

Inner length

required
inner_height float

Inner height

required
inner_lid_height float | None

Optional inner lid height. Defaults to the minimum acceptable height when not specified.

None
thickness float

Optional walls thickness

1.5
clearance float

Optional assembly clearance. A good value is two times the diameter of the printing nozzle

0.4

Raises:

Type Description
BaseException

when provided arguments won't work to create valid solids

SpoolDryer

Check the full code reference for more.

Generates a box that fits in filament spool

Put some dessicant in it and keep the spools dry.

Parameters:

Name Type Description Default
clearance float

Optional assembly clearance. A good value is two times the diameter of the printing nozzle

0.1