OpenScad Puzzle Peice Cutter

by feilen, published

OpenScad Puzzle Peice Cutter by feilen Mar 22, 2011


Use This Project

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

Thing Statistics

3982Views 555Downloads


Puzzle.scad allows you to cut up an object into several puzzle peices
in order to more easily print them on smaller build platforms.

Also thingiverse gets rid of vanilla greaterthan and lessthan signs, for basic HTML.


import ≤puzzle.scad≥

partX = 0; //Which puzzle X to grab
partY = 0; //Which puzzle Y to grab
platform = 100; //Size of platform

intersection() {
puzzle(platform, partX, partY);

Then just change it to the X and Y part you want.
Also, to allow batch export of files, create a .bat file (makefiles may be
easier) with entries such as:

"C:/Program Files/OpenSCAD/openscad.exe" -s obj0_0.stl -D 'partX = 0' -D 'partY = 0' obj.scad
"C:/Program Files/OpenSCAD/openscad.exe" -s obj0_1.stl -D 'partX = 0' -D 'partY = 1' obj.scad

There actually is a guide on openscad's user manuel on how to use makefiles, but for quick projects this is sufficient.

All Apps

Upgrade this Thing with Thingiverse Apps

No results.

Any chance somebody could post a bit more instructions how how this works?
Could you point at an actual STL file?
I must be missing something simple, but I can't seem to get it to work at all.

Did this already...


Should've made it more easily end-user accesible, obviously!

Dado Box (for use with openscad CSG ops)

Mhmm, makerblock just asked for my script.

Awesome!! Thanks for sharing your script!!