Rev Author Line No. Line
4440 jacho 1 use <SRC/WINDGAUGE02A_D01.scad>
2 use <SRC/WINDGAUGE02A_D02.scad>
3 use <SRC/WINDGAUGE02A_L01.scad>
4 use <SRC/WINDGAUGE02A_R01.scad>
5 use <SRC/WINDGAUGE02A_R02.scad>
6 use <SRC/WINDGAUGE02A_R03.scad>
7 use <SRC/WINDGAUGE02A_S01.scad>
8 use <SRC/WINDGAUGE02A_S02.scad>
9 use <SRC/WINDGAUGE02A_S03.scad>
4429 jacho 10  
11 include <configuration.scad>
12  
4440 jacho 13 barva_D01 = "yellow";
14 barva_D02 = "cyan";
15 barva_L01 = "green";
16 barva_R01 = "green";
17 barva_R02 = "yellow";
18 barva_R03 = "cyan";
19 barva_S01 = "red";
20 barva_S02 = "green";
21 barva_S03 = "yellow";
4429 jacho 22  
23  
4440 jacho 24  
4429 jacho 25 posunuti_dilu=10; //posunuti dilu od sebe
26  
4440 jacho 27 //WINDGAUGE02A_D01 DRŽÁK
4429 jacho 28 //-------------------------------------------------------------
29 //-------------------------------------------------------------
4440 jacho 30 color(barva_D01)
31 translate([0,0,0])
32  
4472 jacho 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);
4440 jacho 34  
35  
36 //WINDGAUGE02A_D02 DRŽÁK druhy dil
4429 jacho 37 //-------------------------------------------------------------
38 //-------------------------------------------------------------
4440 jacho 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])
41 rotate(a=[0,0,90])
42  
43 WINDGAUGE02A_D02(D02_sila_materialu,D02_vyska_uchytky,D02_prumer_obruby,D02_delka_celeho_uchytu,D02_dotahova_vzdalenost,D02_prumer_uchytneho_sroubu);
44  
45 //WINDGAUGE02A_S01 stator velky dil
4429 jacho 46 //-------------------------------------------------------------
47 //-------------------------------------------------------------
4440 jacho 48 /*
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])
51  
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);
54 */
55  
56 //WINDGAUGE02A_S02
4429 jacho 57 //-------------------------------------------------------------
58 //-------------------------------------------------------------
4440 jacho 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])
61 rotate(a=[0,0,0])
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);
4429 jacho 64  
4440 jacho 65 //WINDGAUGE02A_S03
4429 jacho 66 //-------------------------------------------------------------
67 //-------------------------------------------------------------
4440 jacho 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])
70 rotate(a=[180,0,0])
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);
73  
74 //WINDGAUGE02A_R01 rotor 1 vrchní díl
4429 jacho 75 //-------------------------------------------------------------
76 //-------------------------------------------------------------
4440 jacho 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)])
79 rotate(a=[180,0,0])
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);
82  
4429 jacho 83  
4440 jacho 84 //WINDGAUGE02A_R02 rotor 2 spodní díl
4429 jacho 85 //-------------------------------------------------------------
86 //-------------------------------------------------------------
4440 jacho 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])
89 rotate(a=[0,0,0])
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);
92  
93  
94 //WINDGAUGE02A_L01 lopatka 1
4429 jacho 95 //-------------------------------------------------------------
96 //-------------------------------------------------------------
4440 jacho 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])
99 rotate(a=[0,0,90])
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);
102  
103  
104 //WINDGAUGE02A_L01 lopatka 2
4429 jacho 105 //-------------------------------------------------------------
106 //-------------------------------------------------------------
4440 jacho 107 color(barva_L01)
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])
110 rotate(a=[0,0,90])
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);
113  
114 //WINDGAUGE02A_L01 lopatka 3
4429 jacho 115 //-------------------------------------------------------------
116 //-------------------------------------------------------------
4440 jacho 117 color(barva_L01)
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])
120 rotate(a=[0,0,90])
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);
123  
124  
125 //WINDGAUGE02A_R03 kryt
126 //-------------------------------------------------------------
127 //-------------------------------------------------------------
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)])
130 rotate(a=[0,0,0])
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,
133 R02_sila_mateiralu_pod_lopatkami,S01_sila_materialu);