import cadquery as cq w0=cq.Workplane('YZ',origin=(100,0,0)) r=w0.workplane(offset=-200/2).box(172,40,200)