painter12's picture
Duplicate from filapro/cad-recode-v1.5
6b078bb
Raw
History Blame Contribute Delete
233 Bytes
import cadquery as cq
w0=cq.Workplane('YZ',origin=(-23,0,0))
r=w0.workplane(offset=-77/2).moveTo(5,-95).box(20,8,77).union(w0.sketch().push([(0,57)]).circle(42).circle(30,mode='s').push([(5,-34)]).rect(14,24).finalize().extrude(123))