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