from build123d import * with BuildPart() as p: Box(40, 30, 20) with Locations((40, 50)): Box(20, 30, 20) export_step(p.part, "/home/pali112/Build123d/debug.step") show_object(p)