OpenSCAD Club Cookies

@raster wanted to make cookie cutters.  This has been something of a solved problem for about 12 years now, through Thingiverse’s Cookie Cutter Customizer.  Except, it’s been totally non-functional for probably a decade now.  :(

My solution is basically to make a solid for the thin brim + tall cutting edge and then subtract the original SVG shape.  I tried it with each of @raster’s SVG’s for the teddy bear, cloud, hexagon, and pacman and they seem to work.  Anyhow, here’s the code I wrote instead of doing the work my employer pays me to do:

//  Settings
    $fn = pow(2,7);
    nozzleD = 0.4;
    th = nozzleD*pow(2,2);
//  Measurements
    cutterH = 15;
    cutterW = 10;


cutter() import("TeddyBear.svg");

module cutter()
    {
    difference()
        {
        union()
            {
            //  Thin, tall cutter wall
            linear_extrude(height=cutterH, center=false)
                offset(r=th)
                children();
            //  Wide, short cutter holder
            linear_extrude(height=th, center=false)
                offset(r=cutterW)
                children();
            }
        //  Cutting out the shape
        linear_extrude(height=cutterH*3, center=true)
            children();
        }
    }

Should we have a club motto?  I vote for “Vive la différence!”

#OpenSCADClub
  1. OpenSCAD 3D Printed Spring
  2. OpenSCADClub Week 2: Directional Pad
  3. OpenSCAD Render Times
  4. One Simple Trick Can Save You 30 Minutes…
  5. OpenSCAD Club Cookies