cad-recode / train /batch_27 /270035.py
filapro's picture
1st commit
5e6439e
import cadquery as cq
w0=cq.Workplane('YZ',origin=(14,0,0))
r=w0.workplane(offset=-38/2).moveTo(34,24).cylinder(38,16).union(w0.workplane(offset=10/2).moveTo(-41.5,6.5).box(17,35,10)).union(w0.sketch().segment((-16,-40),(-4,-40)).segment((-4,-6)).segment((9,-6)).segment((11,-7)).segment((12,-6)).segment((22,-6)).segment((22,1)).segment((3,1)).segment((1,2)).segment((1,1)).segment((-4,1)).segment((-4,2)).segment((-16,2)).close().assemble().finalize().extrude(10))