cad-recode / train /batch_32 /320000.py
filapro's picture
1st commit
5e6439e
import cadquery as cq
w0=cq.Workplane('YZ',origin=(-5,0,0))
r=w0.workplane(offset=-28/2).moveTo(23.5,18.5).box(5,3,28).union(w0.workplane(offset=-21/2).moveTo(-10,2).cylinder(21,11)).union(w0.sketch().push([(-14.5,-32)]).rect(41,36).reset().face(w0.sketch().segment((-22,27),(1,-7)).segment((35,16)).segment((13,50)).close().assemble()).finalize().extrude(39))