1 2 3 4 5 6 7 8 9 10 11
// cube height height = 20; // cube width width = 10; cylinder_height = width / 2; union(){ cube([width,width / 2,height],center = true); translate([0,0,height / 2]){ cylinder(cylinder_height, r = 5); } }