Pi Cookie cutter - and cookie cutter script

by mrbenbritton Aug 20, 2012
Download All Files

Thing Apps Enabled

Please Login to Comment

Thanks for this one. Was excellent not just because it made cool looking cookies. Should have seen my friends faces when they came over after I said I was making pie for them all. I laughed, they swore, I laughed some more :-)

Since i got a complain in the latest OpenSCAD version about usage of a deprecated function (never used OpenSCAD before, but being a programmer i don't like using deprecated methods. ;)) and to be future proof.
i found that the line:

linear_extrude(file = "pi.dxf", height=H);

should be replaced with these lines:
linear_extrude(height = H)
import(file = "pi.dxf");

(note the missing ; in the linear_extrude line. thats correct! or else you get a solid object and not a cookie cutter. :) )

Thanks for the feedback. Yes, I use the import function in my more recent scripts. This one is old and unsupported.

These days I use Inkscape and a "paths to cookies" extension by Dan Newman - I can't find a link to it right now.

Totally new to openscad....I exported a dxf from illustrator, but when I run the script it's giving me some errors about an unsupported entity SPLINE, and not having any top level geometry to render?

Is there a specific object type that I have to have use in the file when I export? I assumed it would want a spline, but that seems to be wrong?

Hi. OpenSCAD can only handle straight lines in the DXF. In Inkscape I subdivide the curve into short segments then convert them to straight paths as the last step before I export the DXF. I don't know how to do that in illustrator.

Hope you can get it working.

Thanks Ben. Trying this again I'm following the instructions and the blogger post to a T and I'm still getting errors. Your pi dxf file is rendering in my openscad just fine, so thank you for including that, it's really helped troubleshooting. The errors for things I draw are different now...not sure if that's an improvement. I'm getting something about intersecting lines that I cannot figure out, and on the blog post comments it looks like several people had those issues and couldn't figure it out.

I'm literally going as simple as drawing a circle in inkscape, converting object to a path(so it becomes a square), selecting the edit paths by nodes tool, selecting the whole object, make selected segments lines, and exporting to dxf with LWPOLYLINE as type of line output. I'm pretty sure I'm missing something basic. Anything jump out as the wrong thing?

Any chance you would be willing to write out what your exact steps would be from drawing circle to exporting so I can try that? Google just keeps suggesting new extensions of this program or that.

Turns out it was just out of sight. It's really hard to get OpenScad to focus on what it rendered if the original image wasn't in the lower left hand corner of inkscape. Wow do I feel silly this morning!

Love it, going to make a text/font version of this. using the text feature from the spanshot release of openscad

Was looking for a design to cover my pies with. ....FOUND IT!

Hey did you write the openscad file yourself? It seems like the walls of the cutter are tapered as the last few layers of my prints have come out really thin. I tried increasing the wall thickness to 4 as a test, but the last few top layers printed out super thin.
Do I need to change the cutterMinimum parameter? it appears that default is 0.4.. I'm thinking of changing it to 1.0 to see what happens.

Otherwise thanks for sharing!

Yes I did. Yes, the cutter is tapered. Yes the cutterMinimum is supposed to be the width at the top of the blade. I found that 0.4 gave me a single wall thickness that worked well for cutting the cookie dough. I was expecting it to be a variable that other people would need to fiddle with. Upping it to 1.0 should give you a different result, hopefully better.

Glad you like the script.

My cookies came out GREAT for my Pi Day Party!! Thanks for the cookie cutter! A bunch of my guests were astonished by how thin and strong the cookie cutter was! Almost melted it when i went to wash the dough off the cookie cutter, next time I will soak in much cooler water for longer. Instead of hot in less time. :)

Yay for Pi Day! Glad it worked.

I find that PLA softens at too low a temperature to be great for cooking implements. If you have any ABS laying around it is much more heat tolerant and can even handle the dishwasher. The first PLA cookie cutters I tried in the dish washer came out like a Dali clock.

I have a rep 2 and can't seem to fix the gaps I keep getting in my cookie cutters! I've tried changing all sorts of variables (number of shells,wallThick, cutterMinimum, the svg file line thickness, etc), but have not made much progress in remedying the issue. Any suggestions?

When you say gaps I assume you mean that the cutter blade is two verticals with a gap between that cookie dough gets stuck in.

This has always been a problem for me on my Thing-o-matic. It is a hardware adjustment problem and I still haven't been able to fix it (something to do with an overconstrained X axis). It is related to the inability to print a circle. This thread may be relevant to you: http://support.makerbot.com/entries/21677685-Circles-not-roundhttp://support.makerbot.com/en...

You could also try adjusting the thickness of the blade to one line width. The cutter will be very flimsy.

"It's pi."
"No, it's a cookie."
"But it's pi."