Way to round edges of objects opensCAD

Matthias Adriaens picture Matthias Adriaens · Oct 15, 2015 · Viewed 18.1k times · Source

Is there an easy way/function to round edges for an openscad object?

e.g. round the edges of the cylinders

Answer

Scott Leslie picture Scott Leslie · Oct 22, 2015

minkowski() is your friend for rounding over all edges of a geometry. minkowski() is also incredibly slow and should only be used for final rendering. You can also implement primitives which have rounded edges more efficiently with other constructs.

$fn=60;

module drawLedgeRing()
{
    difference()
    {
        cylinder(4,10,10);

        translate([0,0,-1])
        cylinder(4,6,6);

        translate([0,0,2])
        cylinder(4,8,8);
    }
}

minkowski()
{
    drawLedgeRing();
    sphere(.25);
}

//drawLedgeRing();