by zignig, published

Box-o-tron by zignig Mar 23, 2009

Thing Info

7023Views 1627Downloads
Report Thing


The box-o-tron is a python script that generates a dxf file of a laser cuttable box.

Now new and improved with standard slot and tab and "Cupcake" style bolt able T joins.

included GPL.txt licence. Need to create command line interface


Edit Box Variables
Run script
Edit DXF file
Laser cut

Thing Info

7023Views 1627Downloads
Report Thing

Liked By

View All


Box-o-tron by zignig is licensed under the GNU - GPL license.

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag. Print Thing Tag

oops, nevermind about that diff above, I found the boxotron-1.0, which includes the type option: http://www.thingiverse.com/thing:404http://www.thingiverse.com/thi...

Box-o-tron 1.0
by zignig

I notice there's an unused "type" parameter that can be used to specify "tabs-only" (type=0) vs "tabs+bolts" (type=1). Below is the diff to have a global "type" parameter. Should be pretty easy to add a "bolts-only" type in there too.


+type = 1
thickness = 3.0
height = 100.0
width = 100.0
@@ -112,7 +113,7 @@
class face:

faces are generated anticlockwise from bottom left

def __init__(self,name,x,y):
  • self.type = type
    +# self.type = type
    http://self.nameself.name = name
    self.sx = 0
    http://self.syself.sy = 0
    @@ -121,7 +122,7 @@
    self.extra = []
    self.edges = []
    self.inset = []
  • self.set_type(1)
  • self.set_type( type )

    def set_type(self,type):
    if type == 0:


I would love to try the script if it works on a PC. Sorry could not render the file. Could you please upload an uncompressed file or a zip file.
Thank you

Yes. I like such scripts too! Kudos! I know how much trouble it is to make it in Sketchup (first box took me 30 minutes). If you want a different size or material width you'll have to start all over and it takes another 20 minutes. When run without arguments it could ask for them (readline?). Everything is in mm, right? Oh and just a formal hint: You should add the GPL licence to the file too.

this is very cool! i'd love to see the ability to add t-slots like we use on the cupcake CNC. that way, you can easily bolt it together/take it apart.

updates added , now does T joins.

you sir are a hero.