cad-recode / train /batch_11 /110025.py
filapro's picture
1st commit
5e6439e
import cadquery as cq
w0=cq.Workplane('YZ',origin=(-28,0,0))
r=w0.sketch().segment((-24,-5),(27,-5)).segment((27,16)).segment((39,16)).segment((39,42)).segment((27,42)).segment((27,50)).segment((-24,50)).close().assemble().reset().face(w0.sketch().segment((-21,7),(16,-1)).segment((24,38)).segment((-13,46)).close().assemble(),mode='s').finalize().extrude(13).union(w0.workplane(offset=57/2).moveTo(-16,-27).cylinder(57,23))