/* https://github.com/BelfrySCAD/BOSL2 */ include cube_h = 40; cube_w = 40; cube_d = 40; cutout_d = 20; rounding = 2; $fn=150; difference() { cuboid([cube_w,cube_w,cube_h], rounding=rounding); cyl(h=cube_h, d=cutout_d, chamfer=-rounding/2); }