painter12's picture
Duplicate from filapro/cad-recode-v1.5
6b078bb
Raw
History Blame Contribute Delete
227 Bytes
import cadquery as cq
w0=cq.Workplane('XY',origin=(0,0,-31))
r=w0.workplane(offset=58/2).moveTo(-16,-71).cylinder(58,29).union(w0.sketch().push([(38,59.5)]).rect(14,81).push([(40,23)]).circle(3,mode='s').finalize().extrude(63))