Not terrain

Extras

Small Python scripts that sit beside dharmatiles and are not part of it: a paint organizer for your hobby desk, its stand, and two helpers for looking at STL files. They need Python 3 with numpy, trimesh and manifold3d (stone_audit.py also needs scipy, stl_render.py needs Pillow).

Paint organizer

A honeycomb of open hexagonal cups for paint bottles, 4 columns of 3 by default, with the lotus on it. Disc magnets press into pockets on the outside faces, so several organizers clip together.

python3 extras/dharmatiles-paint-organizer.py              # → out/extras/dharmatiles-paint-organizer.stl
python3 extras/dharmatiles-paint-organizer.py --cols 3 --rows 2 --height 50
OptionDefaultWhat it does
--cols, --rows4, 3Cups across and down.
--height60 mmCup height.
--tolerance0.3 mmClearance added to each bore.
--magnet-clearance0.1 mmExtra radius on each magnet pocket, for a press fit.
--magnet-bevel0.4 mmA 45° chamfer at each pocket's mouth; 0 for none.
--no-magnet-pushoutLeave out the 1 mm hole behind each pocket for pushing a magnet out.
--side-cutout-width0.8A window in each hex face, as a share of the face; 0 for none.
--quietNo progress output.

The script checks the result is watertight and prints its volume.

Stand

A stand shaped to the top of the organizer, with two matching magnet pockets in its 4 mm floor. It takes the same options as the organizer; give it the same ones so the two match.

python3 extras/dharmatiles-paint-organizer-stand.py        # → out/extras/dharmatiles-paint-organizer-stand.stl

STL helpers

stl_render.py
Renders any STL to a PNG without a display: python3 extras/stl_render.py in.stl out.png. For meshes from outside dharmatiles; for tiles, use dharmatiles build --png or the preview.
stone_audit.py
Finds folded and doubled-skin faults in rock meshes that a watertight check cannot see: python3 extras/stone_audit.py tile.stl.