painter12's picture
Duplicate from filapro/cad-recode-v1.5
6b078bb
Raw
History Blame Contribute Delete
226 Bytes
import cadquery as cq
w0=cq.Workplane('ZX',origin=(0,4,0))
r=w0.workplane(offset=-104/2).moveTo(-30,27).cylinder(104,8).union(w0.sketch().push([(30,-30)]).rect(16,10).push([(28,-31)]).circle(2,mode='s').finalize().extrude(96))