Instructions
Create A *.box file with the box dimensionps:
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.
You must be logged in to post a comment.
Glad you liked it. Would you like to share?
Add New Comment
Showing 8 comments