How it's made
Each part is a program. Running it builds the part, measures it, and refuses to write files that fail.
From script to print
A script
Every part is a FreeCAD script,
build.pyor one per family, run headless byfreecadcmd. Its numbers are named parameters at the top, each beside its reason: measured, scaled from a photo, or estimated, and from where.Checks
The script probes what it built: one valid solid of the right size, its standard's profiles (for Gridfinity, the feet and stacking lip at several heights), wall thicknesses, the magnet holes' grip, nothing flat printed over air, and stand-ins of what the part holds seated without touching it. It writes every check to a report, and exits with an error if one fails, so
makestops there.Files
Only then does it write the STL, for any slicer, and the STEP, for any CAD program. Each STEP header's date is pinned, so a rebuild of the same shape writes the same bytes and git shows only real changes.
A plate
Bambu Studio's command line slices the STL for the X2D and saves a project that keeps our settings: that is where each page's print time and grams come from.
A coupon, then the part
When a failed print would waste something, a small coupon tests the fit first: one pocket, one comb, a strip of slots. A bin that comes out loose still works, so a bin needs none.
This website
It is built, not written. One file, site/catalog.toml, holds the words: each collection and family, each design, what it is for, its sizes, files, coupons and credits. site/build.py turns it into these pages with nothing but Python's standard library, and takes every number from the parts themselves:
- outside sizes and volumes from each STL's mesh;
- print times, grams and filament from each Bambu Studio project's slice information;
- the checks, capacities and where the stand-ins sit from the builds' own reports, which
makegathers intosite/reports.jsonafter every build; - the standards page from
STANDARDS.md.
The pictures and the 3D models come from one Blender script, site/render.py, which lays out each part and its stand-ins once and both photographs it and exports it, so the pictures and the 3D view can't disagree. Every picture has the same camera rules, light and ground. The 3D view is three.js, served from this site with the rest.
A test builds the site and fails if a link or file is missing, a model has no page, a page has no picture, a number disagrees with its STL, or a model file the site serves isn't on some page. Those files are build outputs, kept out of git: each is a release's asset, pinned by its hash. It runs with every other check, and again before the site is published.
Colours
Printed parts are grey , and stand-ins for what they hold, which you don't print, are blue . The pair stays apart for red-green colour blindness, and nothing on the site relies on red against green.
Take part
The repository has everything: the scripts, the files, the standards and this site. Ideas, fixes and new parts are welcome as issues or pull requests; make check runs every build with its checks, and the site's test.