import cadquery as cq w0=cq.Workplane('XY',origin=(0,0,18)) r=w0.workplane(offset=-37/2).cylinder(37,50)