Parametric Box Generator
by clifford, published
Description
The script can be found here:
svn.clifford.at/handicraft/2009/boxgen/
You might need to install SPL (the scripting language I've used for the script) before you can use the script:
clifford.at/spl/
Recent Comments
view allHallo / hello boxmakers!
Not all people like to install software...
So you can try this online boxcreator to create different boxes:
http://www.frag-den-spatz.de/s...
!You need a modern Webbrowser (Firefox, Chrome, Opera...) !
Tags
Give a Shout Out
Instructions
w = 180
l = 180
h = 100
t = 5
door = 1
E.g. this file is called "mycase.box". Call "boxgen.spl" with "mycase" as argument:
splrun boxgen.spl mycase
This script then generates a "mycase.dxf" and "mycase.scad" file. Use a dxf editor (such as "qcad") to modify the box to fit your needs. Usually you want to add holes for cables, user interface elements and such.
Open "mycase.scad" in OpenSCAD to preview the box. You might want to use the "Thrown together" rendering mode (F12) to speed up things and avoid rendering glitches with the OpenCSG at the highly concave edges of the boxes.
Comments
You must be logged in to post a comment.
Hallo / hello boxmakers!
Not all people like to install software...
So you can try this online boxcreator to create different boxes:
http://www.frag-den-spatz.de/s...
!You need a modern Webbrowser (Firefox, Chrome, Opera...) !
Why does the box generator give measurements in "fingers"? How big is a finger?
wunderschoen!
i made my first box using the "Parametric Box Generator by clifford"
after SPL setup and file.box creation the output dxf file was ready to be imported and lasercutted!!
many many thanks @ clifford
Is there a Windows supported version of this I can buy somewhere? I have had mountains of trouble with Cygwin and MinGW!
I guess your problems is with building SPL on win32? SPL should build fine with MinGW + MSYS. Unfortunately installing MSYS is a nightmare atm because they don't seam to have a single install package anymore but expect users to install many separate packages..
I haven't looked into that for a while and don't even have a windows installation running that I could use to test it. So maybe the easiest solution would be to boot into a ubuntu linux live cd and install spl into the RAM disk (SPL is available as pre-build package in the ubuntu package repositor
y - so no need to build anything by hand).


Hi,
In the Scad file the door parameter is not working... it is possible?