Library Cube with rounded edges OpenSCAD
copy and paste rounded_edge.scad to the library-dir from OpenSCAD
Add at top of document: include <rounded_edge.scad>
Create a cube with rounded edges: roundedcube(width=220,depth=220,height=40,fn=100);
Library-Cube-with-rounded-edges-OpenSCAD by Sven Reddemann is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Based on a work at https://github.com/k37z3r/Library-Cube-with-rounded-edges-OpenSCAD.