OpenScad Puzzle Peice Cutter

by feilen, published

OpenScad Puzzle Peice Cutter by feilen Mar 22, 2011

Thing Info

3715Views 464Downloads
Report Thing


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.

Thing Info

3715Views 464Downloads
Report Thing

Liked By

View All

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

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!!