r/3DPrintingTools • u/Parra1307 • 3h ago
New Tool I made an open-source rugged box generator that sizes the box around your stuff and works from 20 mm to 380 mm (MIT, now in English)
Update: it's now in English. The interface is available in English and Spanish, it follows your browser language, and you can switch it from the top bar. Adding more languages is a single file, so if you want yours, open an issue.
Most parametric boxes I found are OpenSCAD or CAD files with a customizer. You change a number, wait for the render, export, open the slicer, and then find out the lid doesn't fit on your bed or the hinge is too tight for your printer. I wanted something that handles that for me, so I wrote a generator.
What's different from other parametric box generators
Live 3D preview. It updates while you drag a slider (about 0.1 s). You get assembled, exploded and print-plate views, an opening animation and a cross-section.
The box is sized around what you store. Drop in SVG outlines of your items (1:1, in mm) and it packs them into the smallest space, then cuts pockets and finger notches into an insert.
It decides how each part prints. Flat if it fits, diagonal with easy-to-snap-off anti-warp ears if it doesn't, or tilted with a contact bevel, support fins and supports already built into the STL.
A clearance test for your printer. It prints small test pieces for each joint in the orientation it really prints in, and saves the result as a profile for your printer and material.
Compartments with hinged lids, in the base, in the lid, or both, with a snap-fit or magnetic latch. You enter your magnet size, it suggests how many to use (or you pick), and it makes press-fit pockets with crush ribs.
Every export comes with a README for that specific box: slicer settings, assembly steps, and what to buy or cut (magnets, gasket length, filament for the pins).
It works across sizes. The hinges, latches and walls change design depending on the box size, so a 20 mm box and a 380 mm box both work. A lot of the other models I tried only behave inside a narrow size range.
The license. Many of the boxes I found have restrictive licenses (non-commercial, no derivatives). This one is MIT: use it, sell what you print, fork it, change it.
The usual stuff too
Self-locking hinges and latches, no screws or hardware
Printed TPU gasket, a groove for 1.75 mm TPU filament (nothing to print), double labyrinth, or simple tongue and groove
Stackable, Gridfinity, octagonal corners, lid patterns, your own SVG logo
Material saver mode with a ribbed wall that keeps the stiffness
Undo/redo, dark mode, everything prints without supports
Nothing to install and nothing gets uploaded. It runs in your browser, or you can download a single HTML file and use it offline.
Try it: https://parra0713.github.io/parametric-rugged-box/
Code (MIT): https://github.com/Parra0713/parametric-rugged-box
The newest features (magnetic latches, compartments in the base) aren't fully printed and tested yet. If you try them, I'd like to hear what breaks. Feedback and bug reports are welcome.
