cad-recode / train /batch_31 /310041.py
filapro's picture
1st commit
5e6439e
import cadquery as cq
w0=cq.Workplane('YZ',origin=(40,0,0))
w1=cq.Workplane('XY',origin=(0,0,19))
r=w0.sketch().push([(-27,2)]).rect(6,10).push([(47,2)]).rect(6,10).finalize().extrude(6).union(w1.sketch().push([(-42,-25.5)]).rect(8,49).push([(-42,-26)]).circle(2,mode='s').push([(-41,-30)]).circle(1,mode='s').finalize().extrude(-39))