painter12's picture
Duplicate from filapro/cad-recode-v1.5
6b078bb
Raw
History Blame Contribute Delete
316 Bytes
import cadquery as cq
w0=cq.Workplane('YZ',origin=(-5,0,0))
r=w0.workplane(offset=-83/2).moveTo(-47,26).cylinder(83,53).union(w0.sketch().push([(-1,30)]).circle(62).circle(43,mode='s').finalize().extrude(42)).union(w0.sketch().push([(97,-77.5)]).rect(6,29).push([(97,-78)]).circle(2,mode='s').finalize().extrude(93))