Loading

Box-o-tron

by zignig, published

Box-o-tron by zignig Mar 23, 2009

Description

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

Recent Comments

view all

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

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.

<
pre
>

+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
self.name = name
self.sx = 0
self.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:

<
/pre
>

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

Liked By

view all

License

GNU - GPL
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

Instructions

Edit Box Variables
Run script
Edit DXF file
Laser cut
Build
BOX!

Comments

You must be logged in to post a comment.

todbot on Aug 26, 2009 said:

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

todbot on Aug 26, 2009 said:

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.

<
pre
>

+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
self.name = name
self.sx = 0
self.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:

<
/pre
>

Anonymous on May 20, 2009 said:

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

Anonymous on Mar 24, 2009 said:

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.

Anonymous on Mar 23, 2009 said:

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.

Anonymous on Mar 24, 2009 said:

updates added , now does T joins.

Top