File size: 335 Bytes
5e6439e
 
 
 
1
2
3
4
import cadquery as cq
w0=cq.Workplane('XY',origin=(0,0,23))
w1=cq.Workplane('ZX',origin=(0,-15,0))
r=w0.workplane(offset=-73/2).box(22,50,73).union(w0.sketch().rect(32,16).push([(15,-7)]).circle(1,mode='s').finalize().extrude(4)).union(w1.sketch().push([(28.5,0)]).rect(43,50).push([(22,15)]).circle(6,mode='s').finalize().extrude(22))