-
Notifications
You must be signed in to change notification settings - Fork 0
/
hth.py
49 lines (46 loc) · 918 Bytes
/
hth.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import cadquery as cq
d1 = 8.2
d2 = 7
res = (cq.Workplane("XY")
.circle(d1/2)
.workplane(2)
.circle(d2/2)
.loft()
.faces(">Z")
.workplane()
.circle(d1/2)
.workplane(2)
.circle(d2/2)
.loft()
.faces(">Z")
.workplane()
.circle(d1/2)
.workplane(2)
.circle(d2/2)
.loft()
.faces(">Z")
.workplane()
.circle(d1/2)
.workplane(2)
.circle(d2/2)
.loft()
.faces(">Z")
.workplane()
.circle(d1/2)
.workplane(2)
.circle(d2/2)
.loft()
.faces(">Z")
.workplane()
.circle(d1/2)
.workplane(1)
.circle(d2/2)
.loft()
.circle(3/2)
.cutThruAll()
.faces(">Z")
.workplane()
.rect(1.5, 10)
.cutBlind(-8)
)
show_object(res)