Line 1... |
Line 1... |
1 |
$fn=40; // model faces resolution. |
1 |
$fn=40; // model faces resolution. |
2 |
include <../configuration.scad> |
2 |
include <../configuration.scad> |
3 |
include <polyScrewThread_r1.scad> |
3 |
include <polyScrewThread_r1.scad> |
4 |
|
4 |
|
5 |
|
5 |
|
6 |
//AWSCREEN01A_D03(D03_vyska_zavitu,D03_tolerance_zavitu,D03_material_za_zavitem,D03_polomer_zavitu,D03_polomer_stitu,D03_tloustka_materialu,D03_vyska_stitu,D03_pocet_vyztuh,screen_bevel); |
6 |
AWSCREEN01A_D03(D03_vyska_zavitu,D03_tolerance_zavitu,D03_material_za_zavitem,D03_polomer_zavitu,D03_polomer_stitu,D03_tloustka_materialu,D03_vyska_stitu,D03_pocet_vyztuh,screen_bevel); |
7 |
|
7 |
|
8 |
|
8 |
|
9 |
|
9 |
|
10 |
|
10 |
|
11 |
|
11 |
|
Line 20... |
Line 20... |
20 |
// screen upper rim |
20 |
// screen upper rim |
21 |
difference () { |
21 |
difference () { |
22 |
screw_thread((D03_polomer_zavitu-D03_tolerance_zavitu)*2,4,55,D03_vyska_zavitu,PI/2,2); |
22 |
screw_thread((D03_polomer_zavitu-D03_tolerance_zavitu)*2,4,55,D03_vyska_zavitu,PI/2,2); |
23 |
|
23 |
|
24 |
translate ([0,0,-0.01]) |
24 |
translate ([0,0,-0.01]) |
25 |
cylinder (h=D03_vyska_zavitu+0.02 ,r= D03_polomer_zavitu - 2*D03_material_za_zavitem ,$fn=100); |
25 |
cylinder (h=D03_vyska_zavitu+0.02 ,r= D03_polomer_zavitu -D03_tolerance_zavitu- 2*D03_material_za_zavitem ,$fn=100); |
26 |
} |
26 |
} |
27 |
|
27 |
|
28 |
|
28 |
|
29 |
|
29 |
|
30 |
//screen |
30 |
//screen |
31 |
|
31 |
|
32 |
difference () { |
32 |
difference () { |
33 |
cylinder (h=D03_vyska_stitu,r1=D03_polomer_stitu ,r2=D03_polomer_zavitu,$fn=100); |
33 |
cylinder (h=D03_vyska_stitu,r1=D03_polomer_stitu-D03_tolerance_zavitu ,r2=D03_polomer_zavitu,$fn=100); |
34 |
translate ([0,0,-0.01/2]) |
34 |
translate ([0,0,-0.01/2]) |
35 |
cylinder (h=D03_vyska_stitu+0.01,r1=D03_polomer_stitu-D03_tloustka_materialu ,r2=(D03_polomer_zavitu-D03_tloustka_materialu),$fn=100); |
35 |
cylinder (h=D03_vyska_stitu+0.01,r1=D03_polomer_stitu-D03_tloustka_materialu ,r2=D03_polomer_zavitu -D03_tolerance_zavitu- 2*D03_material_za_zavitem,$fn=100); |
36 |
|
36 |
|
37 |
translate ([0,0,D03_vyska_stitu/2]) |
37 |
|
38 |
cylinder (h=D03_vyska_stitu ,r= D03_polomer_zavitu - D03_material_za_zavitem ,$fn=100); |
- |
|
39 |
} |
38 |
} |
40 |
|
39 |
|
41 |
|
40 |
|
42 |
//inner ring |
41 |
//inner ring |
43 |
|
42 |
|
Line 52... |
Line 51... |
52 |
// center ribs |
51 |
// center ribs |
53 |
for (i = [0 : (D03_pocet_vyztuh-1)]) { |
52 |
for (i = [0 : (D03_pocet_vyztuh-1)]) { |
54 |
rotate ([90,0,angle_sep* i]) |
53 |
rotate ([90,0,angle_sep* i]) |
55 |
translate ([0,0,-D03_tloustka_materialu/2]) |
54 |
translate ([0,0,-D03_tloustka_materialu/2]) |
56 |
linear_extrude (height = D03_tloustka_materialu, convexity = 10) |
55 |
linear_extrude (height = D03_tloustka_materialu, convexity = 10) |
57 |
polygon(points=[[D03_polomer_zavitu + D03_tloustka_materialu, D03_vyska_zavitu],[D03_polomer_zavitu + D03_tloustka_materialu - 0.01, 0],[D03_polomer_stitu - D03_tloustka_materialu,0],[D03_polomer_stitu - D03_polomer_zavitu,D03_vyska_stitu]]); |
56 |
polygon(points=[[D03_polomer_zavitu, D03_vyska_zavitu],[D03_polomer_zavitu, 0],[D03_polomer_stitu - D03_tloustka_materialu,0],[D03_polomer_zavitu,D03_vyska_stitu]]); |
58 |
|
57 |
|
59 |
} |
58 |
} |
60 |
} |
- |
|
61 |
|
59 |
} |
- |
|
60 |
|