OpenScad Puzzle Peice Cutter

217
Downloads
639
Views
Published on March 22, 2011

Description

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.

Instructions

import ≤puzzle.scad≥

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

intersection() {
≤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.
Tags
This Thing has no tags.
Report as inappropriate

You must be logged in to post a comment.

Did this already...

http://www.thingiverse.com/thi...

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

Mhmm, makerblock just asked for my script.

Awesome!! Thanks for sharing your script!!