Parametric Box for everything

A fully parametric and 99.9% printable box with a magnetic lid.


Creative Commons Attribution Share Alike

Commercial use is allowed, you must attribute the creator, you may remix this work and the remixed work should be made available under this license.

Learn more or download attribution tags


# Moved over from Takerbot's Thingiverse...

For pencils, glasses, tools, pills, toys, milling bits, phones,
components, insects, USB-sticks, Tesa, sewing cotton, batteries, dust,
TEK 7000 plugins, eggs, nerf darts, butter cookies, drills, motors,
transistors, toy cars, cables, in-ear phones, plugs, brains, bass
strings, knobs, spoons, small vise collections, watches, chewing gum,
lenses, tapes, magnets, fingers, and, and, and...

Open the provided "PencilBox_Vxy.scad" file with OpenSCAD and set the first four parameters like this: 

PRINTBOT =       1;                // 0/1 turn bottom part off/on 
PRINTTOP =       1;                // 0/1 turn top part (lid) off/on 
PRINTPOS =       0;                // 0/1 move lid in printing position 
SHOWOFFPOS =     1;                // 0/1 nice looking off/on; 

This will show the box with the lid open. 

Tune all parameters until the box matches your needs. 


- If the lid suddenly "leaves" the box, check "hiHeight". 
- "hiDia" is the diameter of the hinge hole. 
  Make sure it is a little larger than your filament diameter. 
- Make sure to enter the right magnet size settings. 
- Pay attention to the grip parameters too. 
  These are not absolute values but relative scaling factors. 

If you are happy with the results, set 

PRINTBOT =       1;                // 0/1 turn bottom part off/on 
PRINTTOP =       0;                // 0/1 turn top part (lid) off/on 
PRINTPOS =       1;                // 0/1 move lid in printing position 
SHOWOFFPOS =     0;                // 0/1 nice looking off/on; 

export the bottom part. 
To save the lid, set 

PRINTBOT =       0;                // 0/1 turn bottom part off/on 
PRINTTOP =       1;                // 0/1 turn top part (lid) off/on 

Print warp-free ;-) 

You will need: 

- both printed parts, bottom and top (lid) 
- 2 x a bit of filament as hinge pins 
- 4 x magnet 

Put a little glue into the four magnet slots and check the orientation of the magnets. 
Then, check the orientation of the magnets. 
Then, check the orientation of the magnets. 
Then, check the orientation of the magnets. 
After checking the magnet orientation a fifth time, press them into 
the slots and wait until the glue has dried. 

Align the bottom and top part and insert a bit of filament into the hinge holes on each side. 
Cut away the excess filament down to ~0.5mm and use a soldering iron to fix the hinge pin. 

- Pack all your stuff in the box. 
- Move the box to another place. 
- Flip the box over. 
- Open it. 
- Blame it on your children. 


- V1.2: added missing grip size modifiers 



Issues are used to track todos, bugs or requests. To get started, you could create an issue.


Faa10debbe18c75362be23d801805f08?default=blank&size=40Pablo San Juan added this to the Cool Stuff collection ago
Ee48131f400268b035b470558d6ddd65?default=blank&size=40Ckelmore added this to the Sandy collection ago
3063615ca0d1c94e83ffea72afe30666?default=blank&size=40stargazer added this to the Stuff to Make collection ago
7179d95a986fc0d1fafb5192759ce1fa?default=blank&size=40aciim added this to the Storage collection ago
7179d95a986fc0d1fafb5192759ce1fa?default=blank&size=40aciim added this to the Parametric collection ago
Df191a90c17fda0e3a7c103c809fb32f?default=blank&size=40Lynn Roth added this to the Containers collection ago
89f447790700884801d73ec002dad749?default=blank&size=40Wendyt0212 added this to the organization collection ago
02c0e4a45277fae90fd149455014b3d2?default=blank&size=40Saqhara added this to the Household Items collection ago
8f7a9de62a676f5b03d7641c291ded54?default=blank&size=40VeoNinja added this to the Boxes, Holders collection ago
31db7424043d30775ecff41aeccd2b9e?default=blank&size=40CobusG added this to the Collection 1 collection ago
D4b187242c9ae6b376e6f0df59c2103e?default=blank&size=40Silvain added this to the Utiles collection ago
519028b00400fb6fe4aefc2ad55c2470?default=blank&size=40madmedix added this to the workbench collection ago
6c5b86701f176247d98972cb6e433710?default=blank&size=40oivash added this to the Boxes collection ago
1ae36ad5c876e84c94b510a43268532d?default=blank&size=40Kitol added this to the tools collection ago
C3f154aa6c5363bc08411d003ff06ef6?default=blank&size=40jansol added this to the JCollection01 collection ago
B1e5d2d82881c6c179ef909349555ce2?default=blank&size=40chantling added this to the Enclosures collection ago
96f88603e1f66bf0b07c6689196dda3b?default=blank&size=40Christian added this to the Interessantes collection ago
089fe8d0ee7d6dd74250942a934055ca?default=blank&size=40bugfinder added this to the Aufbewahrung collection ago
E63ea23cd8fccb2567797bae37b39c58?default=blank&size=40chapelmagine added this to the mine collection ago
Mini dsc02181   kopiekonsdibons added this to the Stuff to Make collection ago
9db960c2e564f6493ec7e8f0c15a2f85?default=blank&size=40Artaroos added this to the Home collection ago
2f549f1e1e2b9e625ea6da52f9f07b9e?default=blank&size=40LastMuel added this to the Storage collection ago
D3dee1c000d796a9bbafed1875d2a22e?default=blank&size=40rabbit added this to the enclosures collection ago
E8d4cf0993b813487f03a1b6688679f2?default=blank&size=40Brandon Groves added this to the 2017 collection ago
8ef6c415732b0c366f1002b4d663cbb0?default=blank&size=40Oriol Borrell added this to the Objectes collection ago
Ee98c6115acf56acae35610af038de7d?default=blank&size=40Stephen Wood added this to the Tools collection ago
4fd08744d56e30ddcec28e96d5719412?default=blank&size=40ask4help added this to the General collection ago
F409bcf45b7ffd69e0beba45f9aea8f7?default=blank&size=40Melog added this to the To be done collection ago
4f7d8226f5abd3493278ffa94085df81?default=blank&size=40In2Print added this to the Make collection ago
57d48e9b8c25af050a3d7a6f298e821e?default=blank&size=40Joshua Allen added this to the Make Stuff collection ago
68c0e016ce3c4bbf00d47a64a94a6359?default=blank&size=40chmax added this to the MyPrintPlan-chmax collection ago
9a76bb2a993663377e307563bbea3023?default=blank&size=40makerme123 added this to the Household collection ago
E6fac12af2a03b880936e0f7f79cb85d?default=blank&size=40Noneus added this to the Organization collection ago
B3bddee9600d278b66d9c33911a02e42?default=blank&size=40pimar3D added this to the PM_Collection collection ago
Mini 3davatarPaulo Rodrigues added this to the Get Organized collection ago
825344250ab66cc79d3724c820a9621b?default=blank&size=40Technoplunk added this to the Organization collection ago
Mini title slideErin added this to the Useful Tools collection ago
4d3fab1519e6cafb99720c9a9e6f48b1?default=blank&size=40ymcc3d added this to the Future Useful collection ago
Ca5bb7493bc544603b59d41022cd498b?default=blank&size=40Blake Rain added this to the Useful collection ago
B4839cef53eefa3f12bc5d24d3b495ba?default=blank&size=40MavericksDesign added this to the Things to Make collection ago
3035ed9da24a6e26c264d5abbe5d7385?default=blank&size=40sungam94 added this to the stuff collection ago
77e328401f3394809e195299b01d1d8f?default=blank&size=40Random Chance added this to the useful collection ago
Mini transrayFMMT666 published this design ago