// A box with a cylindrical hole through it
param width: float = 30 [10:100] "Width (mm)"
param height: float = 20 [5:50] "Height (mm)"
param depth: float = 10 [2:30] "Depth (mm)"
param hole_radius: float = 4 [1:15] "Hole radius (mm)"
difference {
cube(width, height, depth)
translate(width / 2, height / 2, -1)
cylinder(h: depth + 2, r: hole_radius)
}