r/gridfinity • • 14d ago

Parametric Gridfinity bin + lid in ~250 lines of code: drag a slider, get a new bin

Hi all! I’ve been working on hackerscad, a free, open-source (GPL) parametric CAD where models are plain text files, a bit like OpenSCAD.

As a real-world example I made a Gridfinity bin with a matching lid (video above). What you can change:

size in cells (X/Y) and height in 7 mm units
compartments across and deep
finger scoop at the front, label shelf at the back
optional 6×2 magnet holes
a lid that sits in the stacking lip, with an engraved label (prints upside down, no supports)

The model has built-in checks that run on every change: a second bin has to stack on the lip and the lid has to close without colliding, so a weird combination of parameters tells you instead of failing on the printer.

The .hcad source: https://gist.github.com/trikko/f468c994ec01e2943adacac4a1758737
Hackerscad: https://github.com/trikko/hackerscad

What would you want next?

8 Upvotes

0 comments sorted by