painter12's picture
Duplicate from filapro/cad-recode-v1.5
6b078bb
Raw
History Blame Contribute Delete
232 Bytes
import cadquery as cq
w0=cq.Workplane('YZ',origin=(53,0,0))
r=w0.workplane(offset=-106/2).moveTo(-45,-37).cylinder(106,55).union(w0.sketch().push([(54,37.5)]).rect(92,109).push([(54,37)]).circle(35,mode='s').finalize().extrude(-87))