cad-recode / train /batch_11 /110006.py
filapro's picture
1st commit
5e6439e
import cadquery as cq
w0=cq.Workplane('YZ',origin=(-1,0,0))
w1=cq.Workplane('YZ',origin=(-16,0,0))
r=w0.workplane(offset=-24/2).moveTo(25,36.5).box(14,11,24).union(w0.sketch().arc((-35,19),(-24,15),(-12,19)).close().assemble().reset().face(w0.sketch().segment((-35,46),(-12,46)).arc((-24,50),(-35,46)).assemble()).finalize().extrude(-10)).union(w0.workplane(offset=27/2).moveTo(10,-6).cylinder(27,16)).union(w1.sketch().segment((-2,-22),(13,-22)).segment((13,-50)).segment((35,-50)).segment((35,-22)).segment((22,-22)).segment((22,9)).segment((-2,9)).close().assemble().finalize().extrude(27))