/* https://github.com/BelfrySCAD/BOSL2 */ include width = 16; height = 20; depth = 24; thickness = 4; rounding = 2; $fn = 150; linear_extrude(height) difference() { translate([0,0]) rect([width+thickness,depth+2*thickness], rounding=rounding*[0,0,1,1]); translate([thickness/2,0]) rect([width,depth], rounding=rounding*[0,1,1,0]); }