$fn=40; difference(){ cube([10,10,10]); #cavity(); } module cavity(){ translate([5, 5, 2]){ #cylinder(h=6.5, r=6.5/2); } }