painter12's picture
Duplicate from filapro/cad-recode-v1.5
6b078bb
Raw
History Blame Contribute Delete
302 Bytes
import cadquery as cq
w0=cq.Workplane('YZ',origin=(22,0,0))
r=w0.workplane(offset=-72/2).moveTo(26,4).cylinder(72,6).union(w0.sketch().push([(-50,-29)]).circle(8).push([(29,71)]).circle(29).finalize().extrude(14)).union(w0.sketch().push([(18,-90)]).circle(10).circle(6,mode='s').finalize().extrude(27))