-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgt_baum_doppelroehre.scad
90 lines (70 loc) · 2.1 KB
/
gt_baum_doppelroehre.scad
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
inner_diameter = 14;
winkel_oberroehre = 4;
winkel_unterrroehre = 12;
wandstaerke = 2;
outer_diameter = inner_diameter + 2 * wandstaerke;
muffenweite = 3;
resolution = 120;
epsilon = .001;
oberlaenge = 124;
unterlaenge = 170;
delta_z = 18;
module muffe(){
rotate([0,90,0])
difference(){
cylinder(h=wandstaerke,d=outer_diameter+2*muffenweite,$fn=resolution);
translate([-epsilon,0,0])
cylinder(h=wandstaerke+2*epsilon,d=(outer_diameter+inner_diameter)/2,$fn=resolution);
}
}
module minimuffe(){
rotate([0,90,0])
difference(){
cylinder(h=wandstaerke,d=8,$fn=resolution);
translate([-epsilon,0,0])
cylinder(h=wandstaerke+2*epsilon,d=4,$fn=resolution);
}
}
rotate([0,-90,90])
{
rotate([0,90,0])
rotate([90,0,0])
difference(){
rotate_extrude(angle=180,$fn=resolution)
translate([11.2,0,0])
difference(){
circle(d=outer_diameter);
circle(d=inner_diameter);
translate([6,5])
circle(d=4.2,$fn=4);
translate([6,-5])
circle(d=4.2,$fn=4);
translate([-3,7])
circle(d=4.2,$fn=4);
translate([-3,-7])
circle(d=4.2,$fn=4);
translate([1,-8])
square([10,9],center=true);
translate([1,8])
square([10,9],center=true);
// translate([3,9])
// square([10,12]);
}
// translate([4.5,0,-14])
// cylinder(d=16,h=30);
}
translate([wandstaerke/2,0,0])
cube([wandstaerke,16,6],center=true);
translate([0,10,0])
minimuffe();
translate([0,-10,0])
minimuffe(); ;
translate([0,0,12])
muffe();
translate([0,0,-12])
muffe();
translate([0,0,25])
minimuffe();
translate([0,0,-25])
minimuffe();
}