cad-recode / train /batch_43 /430033.py
filapro's picture
1st commit
5e6439e
import cadquery as cq
w0=cq.Workplane('ZX',origin=(0,-12,0))
w1=cq.Workplane('YZ',origin=(4,0,0))
r=w0.workplane(offset=-38/2).moveTo(-7,8).cylinder(38,27).union(w0.workplane(offset=3/2).moveTo(-44,-5).cylinder(3,3)).union(w0.sketch().push([(33,15)]).circle(14).push([(42.5,12.5)]).rect(5,7,mode='s').finalize().extrude(23)).union(w1.sketch().push([(35,-19)]).rect(30,32).circle(11,mode='s').finalize().extrude(-39))