cad-recode / train /batch_14 /140007.py
filapro's picture
1st commit
5e6439e
import cadquery as cq
w0=cq.Workplane('YZ',origin=(21,0,0))
w1=cq.Workplane('YZ',origin=(12,0,0))
r=w0.sketch().segment((44,-3),(45,-7)).segment((50,-6)).arc((49,-4),(49,-2)).close().assemble().finalize().extrude(-43).union(w0.workplane(offset=-38/2).moveTo(-3,0).cylinder(38,26)).union(w1.sketch().push([(-33.5,7)]).rect(33,24).push([(-32.5,6.5)]).rect(1,13,mode='s').finalize().extrude(-32))