Line 16... |
Line 16... |
16 |
{ |
16 |
{ |
17 |
angle_sep = 360/D03_pocet_vyztuh; |
17 |
angle_sep = 360/D03_pocet_vyztuh; |
18 |
|
18 |
|
19 |
//spodní kruh |
19 |
//spodní kruh |
20 |
difference () { |
20 |
difference () { |
- |
|
21 |
|
- |
|
22 |
|
21 |
cylinder (h=3*D03_tloustka_materialu,r = D03_polomer_stitu,$fn=100); |
23 |
cylinder (h=3*D03_tloustka_materialu,r = D03_polomer_stitu,$fn=100); |
22 |
translate ([0,0,-0.005]) |
24 |
translate ([0,0,-0.005]) |
23 |
cylinder (h=3*D03_tloustka_materialu+0.01,r = D03_polomer_stitu-D03_tloustka_materialu,$fn=100); |
25 |
cylinder (h=3*D03_tloustka_materialu+0.01,r = D03_polomer_stitu-D03_tloustka_materialu,$fn=100); |
24 |
|
26 |
|
25 |
} |
27 |
} |
Line 54... |
Line 56... |
54 |
} |
56 |
} |
55 |
|
57 |
|
56 |
|
58 |
|
57 |
//inner ring |
59 |
//inner ring |
58 |
|
60 |
|
59 |
|
- |
|
- |
|
61 |
//spodní závit |
60 |
difference () { |
62 |
difference () { |
61 |
cylinder (h=D03_vyska_zavitu,r = D03_polomer_zavitu + D03_material_za_zavitem/2,$fn=100); |
- |
|
62 |
translate([0,0,-1]) |
- |
|
63 |
screw_thread(D03_polomer_zavitu*2,4,55,D03_vyska_zavitu+2,PI/2,2); |
- |
|
64 |
} |
- |
|
65 |
|
63 |
|
- |
|
64 |
union(){ |
- |
|
65 |
cylinder (h=D03_vyska_zavitu,r = D03_polomer_zavitu + D03_material_za_zavitem/2,$fn=100); |
66 |
|
66 |
|
- |
|
67 |
//výztuhy |
67 |
// center ribs |
68 |
// center ribs |
68 |
for (i = [0 : (D03_pocet_vyztuh-1)]) { |
69 |
for (i = [0 : (D03_pocet_vyztuh-1)]) { |
69 |
rotate ([90,0,angle_sep* i]) |
70 |
rotate ([90,0,angle_sep* i]) |
70 |
translate ([0,0,-D03_tloustka_materialu/2]) |
71 |
translate ([0,0,-D03_tloustka_materialu/2]) |
71 |
linear_extrude (height = D03_tloustka_materialu, convexity = 10) |
72 |
linear_extrude (height = D03_tloustka_materialu, convexity = 10) |
72 |
polygon(points=[[D03_polomer_zavitu- D03_material_za_zavitem-D03_tolerance_zavitu,D03_vyska_stitu],[D03_polomer_zavitu, 0],[D03_polomer_stitu - D03_tloustka_materialu,0],[D03_polomer_stitu- D03_tloustka_materialu,3*D03_tloustka_materialu]]); |
73 |
polygon(points=[[D03_polomer_zavitu- D03_material_za_zavitem-D03_tolerance_zavitu,D03_vyska_stitu],[D03_polomer_zavitu, 0],[D03_polomer_stitu - D03_tloustka_materialu,0],[D03_polomer_stitu- D03_tloustka_materialu,3*D03_tloustka_materialu]]); |
73 |
|
74 |
|
74 |
} |
75 |
} |
- |
|
76 |
|
- |
|
77 |
|
- |
|
78 |
} |
- |
|
79 |
translate([0,0,-1]) |
- |
|
80 |
screw_thread(D03_polomer_zavitu*2,4,55,D03_vyska_zavitu+2,PI/2,2); |
- |
|
81 |
} |
- |
|
82 |
|
- |
|
83 |
|
- |
|
84 |
|
75 |
} |
85 |
} |