17 lines
276 B
OpenSCAD
17 lines
276 B
OpenSCAD
/* https://github.com/BelfrySCAD/BOSL2 */
|
|
include <BOSL2/std.scad>
|
|
|
|
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);
|
|
}
|