Commit | Line | Data |
---|---|---|
9b78022c TM |
1 | $fn=8; |
2 | ||
3 | diameter = 30; | |
4 | height = 20; | |
5 | ||
6 | difference() { | |
7 | cylinder(h=height, d=7, $fn=32); | |
8 | cylinder(h=height, d=4, $fn=32); | |
9 | } | |
10 | //cylinder(h=1 , d=10, $fn=32); | |
11 | ||
12 | difference() { | |
13 | cylinder(h=height, d=diameter+8); | |
14 | cylinder(h=height, d=diameter+0); | |
15 | } | |
16 | ||
17 | difference() { | |
18 | for (h = [0 : 1 : height-2]) { | |
19 | for (i = [0 : 4 : 180]) { | |
20 | translate([0,0,1+h]) rotate([90,0,i+(h*3)]) cube([0.2,0.2,diameter+3], center=true); | |
21 | } | |
22 | } | |
23 | cylinder(h=height, d=4, $fn=32); | |
24 | } |