cad-recode / train /batch_39 /390029.py
filapro's picture
1st commit
5e6439e
import cadquery as cq
w0=cq.Workplane('YZ',origin=(5,0,0))
r=w0.workplane(offset=-20/2).moveTo(19,12).cylinder(20,2).union(w0.sketch().push([(-22,25)]).circle(18).reset().face(w0.sketch().segment((-38,-49),(-30,-50)).segment((-30,-49)).segment((-31,-47)).segment((-30,-46)).segment((-29,-47)).segment((-26,-18)).segment((-35,-17)).close().assemble()).push([(-35,-45)]).circle(3,mode='s').push([(22,32)]).circle(18).finalize().extrude(9))