painter12's picture
Duplicate from filapro/cad-recode-v1.5
6b078bb
Raw
History Blame Contribute Delete
281 Bytes
import cadquery as cq
w0=cq.Workplane('XY',origin=(0,0,2))
r=w0.workplane(offset=-41/2).moveTo(-78,49).cylinder(41,16).union(w0.workplane(offset=-15/2).moveTo(-57,-65).cylinder(15,35)).union(w0.sketch().push([(41,75)]).circle(25).push([(64,-16)]).circle(30).finalize().extrude(37))