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