Laser Cut Box Generator Script
by bvesperman, published
I have found other simple box generators, http://boxmaker.rahulbotics.com/ but found I wanted something more. My script has logic for screw assembly and for advanced users, gives you the ability to cut holes and modify the box,
Download the OpenSCAD file and change the following variable at the top of the script:
width - box width
length - box length
depth - box depth
tablength - the length of the tabs, can also be thought of as material thickness
tabwidth - the width of the tab
tablengthperiod - the number of tabs along the length dimentions of the box
tabwidthperiod - the number of tabs along the width dimentions of the box
tabdepthperiod - the number of tabs along the depth dimentions of the box
screwLength - the length of the fasening screw
screwDiameter - the diameter of the fasening screw
hexWidth - the width of the fasening hex nut
screwhexThickness - this is more of the length of the hex nut, not sure why i called it thickness
exploded - when set to true, will render the plates ready to be cut out, when false you can see the box assembled
explodedplateseperation - the seperation beween the plates when rendered in the exploded view
The values I have in the script work well for plywood that is 6 mm thick. I got the plywood from home depot. And I used 16mm long 3M screws.
There are sub function in the script (BottomPanel, TopPanel, etc) that represent each plate. In side each function is a basic Panel function, if you want to cut a circle or square out of plate just perform a difference method. The transformations are well setup so you can just use magic numbers in the BottomPanel function and it will translate well between exploded and assembled views.
Liked ByView All
Give a Shout Out
Laser Cut Box Generator Script by bvesperman is licensed under the Creative Commons - Attribution license.
What does this mean?
- You must attribute (give credit) to the creator of this Thing.
- Remixing or Changing this Thing is allowed.
- Commercial use is allowed.
We're sure bvesperman would love to see what you've printed. Please document your print and share a Make with the community.
To post a Make simply visit this Thing again and click I Made One to start uploading your photo. It’s even easier to post a Make via the Thingiverse Mobile app (available via Google Play and Apple App Store).