Rev 4440 Rev 4472
1 use <SRC/WINDGAUGE02A_D01.scad> 1 use <SRC/WINDGAUGE02A_D01.scad>
2 use <SRC/WINDGAUGE02A_D02.scad> 2 use <SRC/WINDGAUGE02A_D02.scad>
3 use <SRC/WINDGAUGE02A_L01.scad> 3 use <SRC/WINDGAUGE02A_L01.scad>
4 use <SRC/WINDGAUGE02A_R01.scad> 4 use <SRC/WINDGAUGE02A_R01.scad>
5 use <SRC/WINDGAUGE02A_R02.scad> 5 use <SRC/WINDGAUGE02A_R02.scad>
6 use <SRC/WINDGAUGE02A_R03.scad> 6 use <SRC/WINDGAUGE02A_R03.scad>
7 use <SRC/WINDGAUGE02A_S01.scad> 7 use <SRC/WINDGAUGE02A_S01.scad>
8 use <SRC/WINDGAUGE02A_S02.scad> 8 use <SRC/WINDGAUGE02A_S02.scad>
9 use <SRC/WINDGAUGE02A_S03.scad> 9 use <SRC/WINDGAUGE02A_S03.scad>
10   10  
11 include <configuration.scad> 11 include <configuration.scad>
12   12  
13 barva_D01 = "yellow"; 13 barva_D01 = "yellow";
14 barva_D02 = "cyan"; 14 barva_D02 = "cyan";
15 barva_L01 = "green"; 15 barva_L01 = "green";
16 barva_R01 = "green"; 16 barva_R01 = "green";
17 barva_R02 = "yellow"; 17 barva_R02 = "yellow";
18 barva_R03 = "cyan"; 18 barva_R03 = "cyan";
19 barva_S01 = "red"; 19 barva_S01 = "red";
20 barva_S02 = "green"; 20 barva_S02 = "green";
21 barva_S03 = "yellow"; 21 barva_S03 = "yellow";
22   22  
23   23  
24   24  
25 posunuti_dilu=10; //posunuti dilu od sebe 25 posunuti_dilu=10; //posunuti dilu od sebe
26   26  
27 //WINDGAUGE02A_D01 DRŽÁK 27 //WINDGAUGE02A_D01 DRŽÁK
28 //------------------------------------------------------------- 28 //-------------------------------------------------------------
29 //------------------------------------------------------------- 29 //-------------------------------------------------------------
30 color(barva_D01) 30 color(barva_D01)
31 translate([0,0,0]) 31 translate([0,0,0])
32 32
33 WINDGAUGE02A_D01(S01_vyska_komponentu_na_lozisko,S01_prumer_zavitu,D01_material_pod_zavitem,D01_material_za_zavitem,D01_material_pred_zavitem,D01_delka_tyce,D01_sirka_tyce,D02_sila_materialu,D02_vyska_uchytky,D02_prumer_obruby,D02_delka_celeho_uchytu,D02_dotahova_vzdalenost,D02_prumer_uchytneho_sroubu); 33 WINDGAUGE02A_D01(S01_vyska_komponentu_na_lozisko,S01_prumer_zavitu,D01_material_pod_zavitem,D01_material_za_zavitem,D01_material_pred_zavitem,D01_delka_tyce,D01_sirka_tyce,D02_sila_materialu,D02_vyska_uchytky,D02_prumer_obruby,D02_delka_celeho_uchytu,D02_dotahova_vzdalenost,D02_prumer_uchytneho_sroubu,S01_tolerance_zavit);
34 34
35 35
36 //WINDGAUGE02A_D02 DRŽÁK druhy dil 36 //WINDGAUGE02A_D02 DRŽÁK druhy dil
37 //------------------------------------------------------------- 37 //-------------------------------------------------------------
38 //------------------------------------------------------------- 38 //-------------------------------------------------------------
39 color(barva_D02) 39 color(barva_D02)
40 translate([0,S01_prumer_zavitu/2+D01_material_pred_zavitem+D01_delka_tyce+D02_prumer_obruby/2+D02_sila_materialu+10,D02_vyska_uchytky/2]) 40 translate([0,S01_prumer_zavitu/2+D01_material_pred_zavitem+D01_delka_tyce+D02_prumer_obruby/2+D02_sila_materialu+10,D02_vyska_uchytky/2])
41 rotate(a=[0,0,90]) 41 rotate(a=[0,0,90])
42 42
43 WINDGAUGE02A_D02(D02_sila_materialu,D02_vyska_uchytky,D02_prumer_obruby,D02_delka_celeho_uchytu,D02_dotahova_vzdalenost,D02_prumer_uchytneho_sroubu); 43 WINDGAUGE02A_D02(D02_sila_materialu,D02_vyska_uchytky,D02_prumer_obruby,D02_delka_celeho_uchytu,D02_dotahova_vzdalenost,D02_prumer_uchytneho_sroubu);
44 44
45 //WINDGAUGE02A_S01 stator velky dil 45 //WINDGAUGE02A_S01 stator velky dil
46 //------------------------------------------------------------- 46 //-------------------------------------------------------------
47 //------------------------------------------------------------- 47 //-------------------------------------------------------------
48 /* 48 /*
49 color(barva_S01) 49 color(barva_S01)
50 translate([0,0,(S01_vyska_na_elektroniku+S01_vyska_zavitu_na_nasroubovani_drzaku+2*S01_vyska_komponentu_na_lozisko)/2+D01_material_pod_zavitem]) 50 translate([0,0,(S01_vyska_na_elektroniku+S01_vyska_zavitu_na_nasroubovani_drzaku+2*S01_vyska_komponentu_na_lozisko)/2+D01_material_pod_zavitem])
51 51
52 52
53 WINDGAUGE02A_S01(R02_vzdalenost_mezi_uchyty_lopatek,L01_sila_zapusteni_drzaku,L01_hloubka_zapusteni,S01_vyska_zuzene_casti,S01_vyska_na_elektroniku,S01_vyska_zavitu_na_nasroubovani_drzaku,S01_vyska_prechodu,vule_mezi_statorem_rotorem,S01_vyska_zavitu_na_nasroubovani_drzaku); 53 WINDGAUGE02A_S01(R02_vzdalenost_mezi_uchyty_lopatek,L01_sila_zapusteni_drzaku,L01_hloubka_zapusteni,S01_vyska_zuzene_casti,S01_vyska_na_elektroniku,S01_vyska_zavitu_na_nasroubovani_drzaku,S01_vyska_prechodu,vule_mezi_statorem_rotorem,S01_vyska_zavitu_na_nasroubovani_drzaku);
54 */ 54 */
55 55
56 //WINDGAUGE02A_S02 56 //WINDGAUGE02A_S02
57 //------------------------------------------------------------- 57 //-------------------------------------------------------------
58 //------------------------------------------------------------- 58 //-------------------------------------------------------------
59 color(barva_S02) 59 color(barva_S02)
60 translate([0,0,(S01_vyska_na_elektroniku+S01_vyska_zavitu_na_nasroubovani_drzaku+2*S01_vyska_komponentu_na_lozisko)+D01_material_pod_zavitem-2*S01_vyska_komponentu_na_lozisko]) 60 translate([0,0,(S01_vyska_na_elektroniku+S01_vyska_zavitu_na_nasroubovani_drzaku+2*S01_vyska_komponentu_na_lozisko)+D01_material_pod_zavitem-2*S01_vyska_komponentu_na_lozisko])
61 rotate(a=[0,0,0]) 61 rotate(a=[0,0,0])
62 62
63 WINDGAUGE02A_S02(S01_sila_materialu,S01_vyska_komponentu_na_lozisko,S01_prumer_zavitu,lozisko_vyska,lozisko_prumer_vnejsi,lozisko_prumer_vnitrni,lozisko_prekryv,vyska_matky,prumer_orechu,prumer_sroubu,senzor_delka,senzor_sirka); 63 WINDGAUGE02A_S02(S01_sila_materialu,S01_vyska_komponentu_na_lozisko,S01_prumer_zavitu,lozisko_vyska,lozisko_prumer_vnejsi,lozisko_prumer_vnitrni,lozisko_prekryv,vyska_matky,prumer_orechu,prumer_sroubu,senzor_delka,senzor_sirka);
64   64  
65 //WINDGAUGE02A_S03 65 //WINDGAUGE02A_S03
66 //------------------------------------------------------------- 66 //-------------------------------------------------------------
67 //------------------------------------------------------------- 67 //-------------------------------------------------------------
68 color(barva_S03) 68 color(barva_S03)
69 translate([0,0,(S01_vyska_na_elektroniku+S01_vyska_zavitu_na_nasroubovani_drzaku+2*S01_vyska_komponentu_na_lozisko)+D01_material_pod_zavitem-2*S01_vyska_komponentu_na_lozisko]) 69 translate([0,0,(S01_vyska_na_elektroniku+S01_vyska_zavitu_na_nasroubovani_drzaku+2*S01_vyska_komponentu_na_lozisko)+D01_material_pod_zavitem-2*S01_vyska_komponentu_na_lozisko])
70 rotate(a=[180,0,0]) 70 rotate(a=[180,0,0])
71 71
72 WINDGAUGE02A_S03(S01_sila_materialu,S01_vyska_komponentu_na_lozisko,S01_prumer_zavitu,lozisko_vyska,lozisko_prumer_vnejsi,lozisko_prumer_vnitrni,lozisko_prekryv,vyska_matky,prumer_orechu,prumer_sroubu,vyska_hlavy_sroubu,prumer_hlavy_sroubu); 72 WINDGAUGE02A_S03(S01_sila_materialu,S01_vyska_komponentu_na_lozisko,S01_prumer_zavitu,lozisko_vyska,lozisko_prumer_vnejsi,lozisko_prumer_vnitrni,lozisko_prekryv,vyska_matky,prumer_orechu,prumer_sroubu,vyska_hlavy_sroubu,prumer_hlavy_sroubu);
73 73
74 //WINDGAUGE02A_R01 rotor 1 vrchní díl 74 //WINDGAUGE02A_R01 rotor 1 vrchní díl
75 //------------------------------------------------------------- 75 //-------------------------------------------------------------
76 //------------------------------------------------------------- 76 //-------------------------------------------------------------
77 color(barva_R01) 77 color(barva_R01)
78 translate([0,0,(S01_vyska_na_elektroniku+S01_vyska_zavitu_na_nasroubovani_drzaku+2*S01_vyska_komponentu_na_lozisko)+D01_material_pod_zavitem+S01_vyska_zuzene_casti+S01_vyska_prechodu+(R02_sila_mateiralu_pod_lopatkami+L01_hloubka_zapusteni_drzaku)]) 78 translate([0,0,(S01_vyska_na_elektroniku+S01_vyska_zavitu_na_nasroubovani_drzaku+2*S01_vyska_komponentu_na_lozisko)+D01_material_pod_zavitem+S01_vyska_zuzene_casti+S01_vyska_prechodu+(R02_sila_mateiralu_pod_lopatkami+L01_hloubka_zapusteni_drzaku)])
79 rotate(a=[180,0,0]) 79 rotate(a=[180,0,0])
80 80
81 WINDGAUGE02A_R01(R02_sila_mateiralu_pod_lopatkami,L01_hloubka_zapusteni_drzaku,R02_vzdalenost_mezi_uchyty_lopatek,L01_sila_zapusteni_drzaku,L01_hloubka_zapusteni,prumer_pomocne_trubicky,zapusteni_pomocne_trubicky,vule_mezi_statorem_rotorem,R01_vyska_preryti_statoru,R01_sila_materialu_pro_prekriti,S01_sila_materialu); 81 WINDGAUGE02A_R01(R02_sila_mateiralu_pod_lopatkami,L01_hloubka_zapusteni_drzaku,R02_vzdalenost_mezi_uchyty_lopatek,L01_sila_zapusteni_drzaku,L01_hloubka_zapusteni,prumer_pomocne_trubicky,zapusteni_pomocne_trubicky,vule_mezi_statorem_rotorem,R01_vyska_preryti_statoru,R01_sila_materialu_pro_prekriti,S01_sila_materialu);
82 82
83   83  
84 //WINDGAUGE02A_R02 rotor 2 spodní díl 84 //WINDGAUGE02A_R02 rotor 2 spodní díl
85 //------------------------------------------------------------- 85 //-------------------------------------------------------------
86 //------------------------------------------------------------- 86 //-------------------------------------------------------------
87 color(barva_R02) 87 color(barva_R02)
88 translate([0,0,(S01_vyska_na_elektroniku+S01_vyska_zavitu_na_nasroubovani_drzaku+2*S01_vyska_komponentu_na_lozisko)+D01_material_pod_zavitem+S01_vyska_zuzene_casti+S01_vyska_prechodu-(R02_sila_mateiralu_pod_lopatkami+L01_hloubka_zapusteni_drzaku)/2]) 88 translate([0,0,(S01_vyska_na_elektroniku+S01_vyska_zavitu_na_nasroubovani_drzaku+2*S01_vyska_komponentu_na_lozisko)+D01_material_pod_zavitem+S01_vyska_zuzene_casti+S01_vyska_prechodu-(R02_sila_mateiralu_pod_lopatkami+L01_hloubka_zapusteni_drzaku)/2])
89 rotate(a=[0,0,0]) 89 rotate(a=[0,0,0])
90 90
91 WINDGAUGE02A_R02(R02_sila_mateiralu_pod_lopatkami,L01_hloubka_zapusteni_drzaku,R02_vzdalenost_mezi_uchyty_lopatek,L01_sila_zapusteni_drzaku,L01_hloubka_zapusteni,prumer_pomocne_trubicky,zapusteni_pomocne_trubicky); 91 WINDGAUGE02A_R02(R02_sila_mateiralu_pod_lopatkami,L01_hloubka_zapusteni_drzaku,R02_vzdalenost_mezi_uchyty_lopatek,L01_sila_zapusteni_drzaku,L01_hloubka_zapusteni,prumer_pomocne_trubicky,zapusteni_pomocne_trubicky);
92 92
93 93
94 //WINDGAUGE02A_L01 lopatka 1 94 //WINDGAUGE02A_L01 lopatka 1
95 //------------------------------------------------------------- 95 //-------------------------------------------------------------
96 //------------------------------------------------------------- 96 //-------------------------------------------------------------
97 color(barva_L01) 97 color(barva_L01)
98 translate([L01_prumer_lopatky/2+L01_delka_uchytu+L01_hloubka_zapusteni/2+(R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku)/2,L01_hrana_drzaku_a/2,(S01_vyska_na_elektroniku+S01_vyska_zavitu_na_nasroubovani_drzaku+2*S01_vyska_komponentu_na_lozisko)+D01_material_pod_zavitem+S01_vyska_zuzene_casti+S01_vyska_prechodu+L01_hrana_drzaku_b/2]) 98 translate([L01_prumer_lopatky/2+L01_delka_uchytu+L01_hloubka_zapusteni/2+(R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku)/2,L01_hrana_drzaku_a/2,(S01_vyska_na_elektroniku+S01_vyska_zavitu_na_nasroubovani_drzaku+2*S01_vyska_komponentu_na_lozisko)+D01_material_pod_zavitem+S01_vyska_zuzene_casti+S01_vyska_prechodu+L01_hrana_drzaku_b/2])
99 rotate(a=[0,0,90]) 99 rotate(a=[0,0,90])
100 100
101 WINDGAUGE02A_L01(L01_hloubka_zapusteni,L01_hloubka_zapusteni_drzaku,L01_sila_zapusteni_drzaku,L01_hrana_drzaku_a,L01_hrana_drzaku_b,L01_tolerance_drzaku,L01_delka_uchytu,L01_prumer_lopatky,L01_sila_materialu_lopatky); 101 WINDGAUGE02A_L01(L01_hloubka_zapusteni,L01_hloubka_zapusteni_drzaku,L01_sila_zapusteni_drzaku,L01_hrana_drzaku_a,L01_hrana_drzaku_b,L01_tolerance_drzaku,L01_delka_uchytu,L01_prumer_lopatky,L01_sila_materialu_lopatky);
102 102
103 103
104 //WINDGAUGE02A_L01 lopatka 2 104 //WINDGAUGE02A_L01 lopatka 2
105 //------------------------------------------------------------- 105 //-------------------------------------------------------------
106 //------------------------------------------------------------- 106 //-------------------------------------------------------------
107 color(barva_L01) 107 color(barva_L01)
108 rotate(a=[0,0,120]) 108 rotate(a=[0,0,120])
109 translate([L01_prumer_lopatky/2+L01_delka_uchytu+L01_hloubka_zapusteni/2+(R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku)/2,L01_hrana_drzaku_a/2,(S01_vyska_na_elektroniku+S01_vyska_zavitu_na_nasroubovani_drzaku+2*S01_vyska_komponentu_na_lozisko)+D01_material_pod_zavitem+S01_vyska_zuzene_casti+S01_vyska_prechodu+L01_hrana_drzaku_b/2]) 109 translate([L01_prumer_lopatky/2+L01_delka_uchytu+L01_hloubka_zapusteni/2+(R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku)/2,L01_hrana_drzaku_a/2,(S01_vyska_na_elektroniku+S01_vyska_zavitu_na_nasroubovani_drzaku+2*S01_vyska_komponentu_na_lozisko)+D01_material_pod_zavitem+S01_vyska_zuzene_casti+S01_vyska_prechodu+L01_hrana_drzaku_b/2])
110 rotate(a=[0,0,90]) 110 rotate(a=[0,0,90])
111 111
112 WINDGAUGE02A_L01(L01_hloubka_zapusteni,L01_hloubka_zapusteni_drzaku,L01_sila_zapusteni_drzaku,L01_hrana_drzaku_a,L01_hrana_drzaku_b,L01_tolerance_drzaku,L01_delka_uchytu,L01_prumer_lopatky,L01_sila_materialu_lopatky); 112 WINDGAUGE02A_L01(L01_hloubka_zapusteni,L01_hloubka_zapusteni_drzaku,L01_sila_zapusteni_drzaku,L01_hrana_drzaku_a,L01_hrana_drzaku_b,L01_tolerance_drzaku,L01_delka_uchytu,L01_prumer_lopatky,L01_sila_materialu_lopatky);
113 113
114 //WINDGAUGE02A_L01 lopatka 3 114 //WINDGAUGE02A_L01 lopatka 3
115 //------------------------------------------------------------- 115 //-------------------------------------------------------------
116 //------------------------------------------------------------- 116 //-------------------------------------------------------------
117 color(barva_L01) 117 color(barva_L01)
118 rotate(a=[0,0,240]) 118 rotate(a=[0,0,240])
119 translate([L01_prumer_lopatky/2+L01_delka_uchytu+L01_hloubka_zapusteni/2+(R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku)/2,L01_hrana_drzaku_a/2,(S01_vyska_na_elektroniku+S01_vyska_zavitu_na_nasroubovani_drzaku+2*S01_vyska_komponentu_na_lozisko)+D01_material_pod_zavitem+S01_vyska_zuzene_casti+S01_vyska_prechodu+L01_hrana_drzaku_b/2]) 119 translate([L01_prumer_lopatky/2+L01_delka_uchytu+L01_hloubka_zapusteni/2+(R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku)/2,L01_hrana_drzaku_a/2,(S01_vyska_na_elektroniku+S01_vyska_zavitu_na_nasroubovani_drzaku+2*S01_vyska_komponentu_na_lozisko)+D01_material_pod_zavitem+S01_vyska_zuzene_casti+S01_vyska_prechodu+L01_hrana_drzaku_b/2])
120 rotate(a=[0,0,90]) 120 rotate(a=[0,0,90])
121 121
122 WINDGAUGE02A_L01(L01_hloubka_zapusteni,L01_hloubka_zapusteni_drzaku,L01_sila_zapusteni_drzaku,L01_hrana_drzaku_a,L01_hrana_drzaku_b,L01_tolerance_drzaku,L01_delka_uchytu,L01_prumer_lopatky,L01_sila_materialu_lopatky); 122 WINDGAUGE02A_L01(L01_hloubka_zapusteni,L01_hloubka_zapusteni_drzaku,L01_sila_zapusteni_drzaku,L01_hrana_drzaku_a,L01_hrana_drzaku_b,L01_tolerance_drzaku,L01_delka_uchytu,L01_prumer_lopatky,L01_sila_materialu_lopatky);
123 123
124 124
125 //WINDGAUGE02A_R03 kryt 125 //WINDGAUGE02A_R03 kryt
126 //------------------------------------------------------------- 126 //-------------------------------------------------------------
127 //------------------------------------------------------------- 127 //-------------------------------------------------------------
128 color(barva_R03) 128 color(barva_R03)
129 translate([0,0,(S01_vyska_na_elektroniku+S01_vyska_zavitu_na_nasroubovani_drzaku+2*S01_vyska_komponentu_na_lozisko)+D01_material_pod_zavitem+S01_vyska_zuzene_casti+S01_vyska_prechodu+(R02_sila_mateiralu_pod_lopatkami+L01_hloubka_zapusteni_drzaku)]) 129 translate([0,0,(S01_vyska_na_elektroniku+S01_vyska_zavitu_na_nasroubovani_drzaku+2*S01_vyska_komponentu_na_lozisko)+D01_material_pod_zavitem+S01_vyska_zuzene_casti+S01_vyska_prechodu+(R02_sila_mateiralu_pod_lopatkami+L01_hloubka_zapusteni_drzaku)])
130 rotate(a=[0,0,0]) 130 rotate(a=[0,0,0])
131 131
132 WINDGAUGE02A_R03(R03_sila_materialu,R02_vzdalenost_mezi_uchyty_lopatek,L01_sila_zapusteni_drzaku,L01_hloubka_zapusteni,vule_mezi_statorem_rotorem,R01_sila_materialu_pro_prekriti, 132 WINDGAUGE02A_R03(R03_sila_materialu,R02_vzdalenost_mezi_uchyty_lopatek,L01_sila_zapusteni_drzaku,L01_hloubka_zapusteni,vule_mezi_statorem_rotorem,R01_sila_materialu_pro_prekriti,
133 R02_sila_mateiralu_pod_lopatkami,S01_sila_materialu); 133 R02_sila_mateiralu_pod_lopatkami,S01_sila_materialu);