I created a 2d surface that I can perform a linear extrusion on, however the result it obviously a hard edge on the extrusion. I would love to be able to add a bezel - either rounded or at 45 degrees. Is there an easy way?

  • azdle@news.idlestate.org
    link
    fedilink
    English
    arrow-up
    0
    arrow-down
    1
    ·
    1 year ago

    For rounding, you can do the extrusion, but with it a bit smaller in every dimension, then minkowski with a sphere (or a different shape if you don’t want all the edges rounded), but it’s tricky to get right:

    module shape() {
        square(80, center = true);
    }
    
    
    minkowski() {
        linear_extrude(80)
        shape();
    
        sphere(r = 20);
    }