Make something
Email yourself a 10% off coupon
Send
Coupon sent! Check your email
This will be 3D printed near you and delivered to your door by May 03
Loading

I wrote a script to generate lasercut boxes. The script reads a config file with the box dimensions and generates a DXF file and an OpenSCAD model. We use the script for all types of cases here at metalab. The example file attached is the case of our electronic door lock system.The script can be found here: http://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: http://www.clifford.at/spl/Create A *.box file with the box dimensionps:w = 180 l = 180 h = 100 t = 5 door = 1E.g. this file is called "mycase.box". Call "boxgen.spl" with "mycase" as argument:splrun boxgen.spl mycaseThis 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.

Parametric Box Generator
Please wait while we prepare the order
$ 0.00 + free delivery
Sorry we had trouble getting the 3D files. Download them yourself and upload them here to place an order.
View files
  • 0 inches x 0 inches x 0 inches
  • this product is 3D printed
  • 16 available colors
  • material is a strong plastic
  • free delivery by May 03
  • 0 parts
Delivery address
This field is required.
This field is required.
Please enter a valid email.
This field is required.
This field is required.
This field is required.
This field is required.
This field is required.
Pay with credit card or debit card
or pay with
Place order
Order summary
Parametric Box Generator
Color:
Quantity:
Subtotal
$
Delivery (May 02 - May 04)
Free
Total
$