import cadquery as cq result = ( cq.Workplane("XY") .circle(20).extrude(35) .faces(">Z").hole(18) )