3D Printable Cookie Cutters With Inkscape and OpenSCAD

7,645

38

5

Introduction: 3D Printable Cookie Cutters With Inkscape and OpenSCAD

I wanted to print some Pokemon cookie cutters as a Christmas present for our four-year-old, but I didn't like any of the Pikachu cookie cutters on Thingiverse.

So I wrote an Inkscape extension that takes a specially drawn SVG path file, and generates a customizable OpenSCAD file with a cookie cutter design made from the SVG file. You can then use OpenSCAD to generate an STL file that you can send to the printer.

The Inkscape extension supports:

  • connections for features that would otherwise fall off
  • flange and customizable thickness for inside and outside walls
  • shorter walls for inside detail.

If you just want to print the Pikachu cookie cutter, you can get it from Thingiverse. I also made some other Pokemon ones with the same extension.

Step 1: Install Software

Install:

  1. OpenSCAD
  2. Inkscape

Download my cookie cutter export extension zip file for Inkscape. Copy the contents of the ZIP file into your Inkscape/share/extensions directory (on my Windows system, c:\Program Files\Inkscape\share\extensions).

Step 2: Create SVG File

The cookie cutter extension expects an SVG file satisfying these conditions:

  • everything converted to paths
  • use red outline on outside walls
  • use green outline on any inside walls (holes)
  • use black outline on inside detail (this generates a wall that doesn't reach all the way through, so it marks the cookie but doesn't cut it)
  • use red or green fill on areas you want filled in at full wall height
  • use black fill on areas you want filled at inside detail height (walls that don't reach all the way through)
  • use blue or cyan on inside connection polygons which keep inside detail and inside walls connected to the outside walls.

I started with a lovely pre-made Pikachu SVG file which I downloaded from the Internet (the creator asked me that I not give them credit so I am not linking back). However, that file had too much detail.

Load file into Inkscape. Then:

  1. Select all. (Ctrl-A)
  2. Path | Object to Path.
  3. Object | Ungroup.
  4. Remove all fill. (Click on X in color palette in lower-left corner of Inkscape screen)
  5. Turn on all outlines to black. (Shift-click on black square in color palette.)
  6. Delete duplicate lines, remove fine detail that won't work well in a cookie.
  7. Turn outside outline red. This should be a single polygon.
  8. Turn outline of any inside walls (holes) green.
  9. If there are any details or inside walls not connected to the outside wall, add filled-in polygons connecting the details to the outside wall. I did this by duplicating the outside walls, so I could re-use parts of their paths.

Step 3: Generate 3D Files

  1. In Inkscape, go to File | Save As... and choose "OpenSCAD cookie cutter file". Save the file. Make sure you give it a .scad extension.
  2. Load file into OpenSCAD.
  3. Adjust parameters at the top of the file to taste. The size parameter is the size of the cookie cutter in millimeters. Adjusting this will resize the cookie cutter without changing wall thickness, which is handy.
  4. Press the cube+hourglass icon at the top of the code to generate mesh.
  5. When done, press the STL button to generate an STL file.
  6. Print! I recommend ABS, with 0.2mm layer size.

Homemade Gifts Contest 2016

Participated in the
Homemade Gifts Contest 2016

Design Now: 3D Design Contest 2016

Participated in the
Design Now: 3D Design Contest 2016

Be the First to Share

    Recommendations

    • Make it Fly Challenge

      Make it Fly Challenge
    • Fruit and Veggies Speed Challenge

      Fruit and Veggies Speed Challenge
    • Summer Fun: Student Design Challenge

      Summer Fun: Student Design Challenge

    5 Comments

    0
    cephuo
    cephuo

    Question 5 months ago

    Great work! Works very stable and as expected! Just one question. Is there a way to make the "flare" generate inside the cookie cutter instead of outside? This would slightly increase the max dimensions of the cut form when printed on the whole printable bed area.

    0
    viktor.s.poor
    viktor.s.poor

    7 months ago

    Since family and friends started to recognise that I own a 3D printer, I started to get request to make cookie cutters.
    This plugin is an invaluable tool for making custom versions.

    0
    JosteinS1
    JosteinS1

    8 months ago

    Great work on the plugin! This is amazing!

    0
    Ahmagahz
    Ahmagahz

    Question 1 year ago

    Had a nice evening playing with the plugin, can I ask is there a way to have the black details not have the cutting-edge? I really want to have a thin cutting edge on my red frame but a blunt edge for my detail markers. I can't quite see where I would make those changes in the code.

    0
    klettervirus
    klettervirus

    4 years ago

    Awesome, just what I was looking for! Thank you so much...