OpenScad Puzzle Peice Cutter
by feilen, published
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.
partX = 0; //Which puzzle X to grab
partY = 0; //Which puzzle Y to grab
platform = 100; //Size of platform
â‰¤MODULE NAME HEREâ‰¥();
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.