A hollow rectangular box with outer dimensions 60mm × 50mm × 40mm, wall thickness 3mm on all sides, open on the top face.
import cadquery as cq result = cq.Workplane("XY").box(60, 50, 40).faces(">Z").shell(-3)