painter12's picture
Duplicate from filapro/cad-recode-v1.5
6b078bb
Raw
History Blame Contribute Delete
230 Bytes
import cadquery as cq
w0=cq.Workplane('ZX',origin=(0,-2,0))
r=w0.workplane(offset=-6/2).moveTo(50,16).cylinder(6,50).union(w0.sketch().push([(-44,-10)]).circle(56).push([(-44.5,-10.5)]).rect(49,55,mode='s').finalize().extrude(10))