cad-recode / train /batch_29 /290019.py
filapro's picture
1st commit
5e6439e
import cadquery as cq
w0=cq.Workplane('YZ',origin=(-15,0,0))
w1=cq.Workplane('XY',origin=(0,0,7))
r=w0.workplane(offset=-35/2).moveTo(32,33).cylinder(35,11).union(w0.sketch().push([(-18.5,14)]).rect(49,20).push([(-19,14)]).circle(9,mode='s').finalize().extrude(65)).union(w1.sketch().segment((-18,14),(-6,14)).segment((-6,12)).segment((18,12)).segment((18,40)).segment((-6,40)).segment((-6,26)).segment((-18,26)).close().assemble().finalize().extrude(-51))