| import cadquery as cq | |
| w0=cq.Workplane('YZ',origin=(-30,0,0)) | |
| r=w0.workplane(offset=32/2).moveTo(16,-20).cylinder(32,30).union(w0.sketch().segment((-46,49),(-45,49)).segment((-45,48)).arc((-44,50),(-46,49)).assemble().finalize().extrude(61)) |
| import cadquery as cq | |
| w0=cq.Workplane('YZ',origin=(-30,0,0)) | |
| r=w0.workplane(offset=32/2).moveTo(16,-20).cylinder(32,30).union(w0.sketch().segment((-46,49),(-45,49)).segment((-45,48)).arc((-44,50),(-46,49)).assemble().finalize().extrude(61)) |