]> www.fi.muni.cz Git - things.git/blob - flysky-i6-ring.scad
wing joint for carbon tube
[things.git] / flysky-i6-ring.scad
1 eps = 0.01;
2 infty = 100;
3
4 inner_d = 11.7;
5 outer_d = 16;
6 body_h = 1.5;
7 tip_h = 3;
8 tip_w1 = 5;
9 tip_w2 = 0.5;
10 tip_d = outer_d/2-0.5;
11
12 difference() {
13         union() {
14                 cylinder(r = outer_d/2, h = body_h);
15                 hull() {
16                         translate([0, -tip_w1/2, 0])
17                                 cube([tip_d, tip_w1, body_h]);
18                         translate([0, -tip_w2/2, tip_h - eps])
19                                 cube([tip_d, tip_w2, eps]);
20                 }
21         };
22         // inner hole
23         translate([0, 0, -eps])
24                 cylinder(r = inner_d/2, h = tip_h + 2*eps);
25         // rear side
26         translate([0, 0, -eps])
27                 rotate([0, 0, 135])
28                 cube(infty);
29 }
30