Datasets:

ArXiv:
License:
filapro's picture
1st commit
5e6439e
raw
history blame contribute delete
364 Bytes
import cadquery as cq
w0=cq.Workplane('YZ',origin=(-2,0,0))
w1=cq.Workplane('ZX',origin=(0,15,0))
r=w0.workplane(offset=-40/2).moveTo(0,19).cylinder(40,23).union(w0.sketch().push([(3,-42)]).circle(8).push([(2.5,-42)]).rect(13,6,mode='s').finalize().extrude(42)).union(w1.sketch().arc((28,42),(23,15),(50,23)).arc((35,28),(28,42)).assemble().finalize().extrude(-8))