Rev 4344 Rev 4536
Line 1... Line 1...
1 use <configuration/rotor1.scad> 1 use <SRC/WINDGAUGE02A_D01.scad>
2 use <configuration/rotor2.scad> 2 use <SRC/WINDGAUGE02A_D02.scad>
3 use <configuration/rotor3.scad> -  
4 use <configuration/stator1.scad> 3 use <SRC/WINDGAUGE02A_R01.scad>
5 use <configuration/stator2.scad> 4 use <SRC/WINDGAUGE02A_R02.scad>
6 use <configuration/stator3.scad> 5 use <SRC/WINDGAUGE02A_R03.scad>
7 use <configuration/stator4.scad> 6 use <SRC/WINDGAUGE02A_S01.scad>
8 use <configuration/lopatky.scad> 7 use <SRC/WINDGAUGE02A_S02.scad>
9 use <configuration/kryt_rotoru.scad> 8 use <SRC/WINDGAUGE02A_S03.scad>
10   9  
11 include <configuration.scad> 10 include <configuration.scad>
12   11  
13 barva_krytu = "yellow"; 12 barva_D01 = "yellow";
14 barva_rotor1 = "cyan"; 13 barva_D02 = "cyan";
15 barva_rotor2 = "green"; 14 barva_L01 = "green";
16 barva_rotor3 = "green"; 15 barva_R01 = "green";
17 barva_rotor4 = "yellow"; 16 barva_R02 = "yellow";
18 barva_stator1 = "cyan"; 17 barva_R03 = "cyan";
19 barva_stator2 = "red"; 18 barva_S01 = "red";
20 barva_stator3 = "green"; 19 barva_S02 = "green";
21 barva_stator4 = "yellow"; -  
22 barva_lopatky = "yellow"; 20 barva_S03 = "yellow";
23   21  
24   22  
25 posunuti_dilu=10; //posunuti dilu od sebe -  
26   -  
27 //KRYT ROTORU -  
28 //------------------------------------------------------------- -  
29 //------------------------------------------------------------- -  
30 color(barva_krytu) -  
31 translate([0,0,posunuti_dilu*4+(vyska_rotoru1-hloubka_prekryti)/2+vyska_uchytu+tolerance_uchytu+vyska_rotoru2]) -  
32 kryt_rotoru(prumer_rotoru1,sila_materialu_krytu,vyska_rotoru1); -  
33   23  
-   24 posunuti_dilu=10; //posunuti dilu od sebe
-   25 difference()
-   26 {
34 //ROTOR1 27 union()
-   28 {
-   29 //WINDGAUGE02A_D01 DRŽÁK
35 //------------------------------------------------------------- 30 //-------------------------------------------------------------
36 //------------------------------------------------------------- 31 //-------------------------------------------------------------
37 color(barva_rotor1) -  
38 translate([0,0,posunuti_dilu*3+(vyska_rotoru1-hloubka_prekryti)/2+vyska_uchytu+tolerance_uchytu+vyska_rotoru2/2]) -  
39 rotor1(prumer_rotoru1,vyska_rotoru1,prumer_sroubu,vyska_matky,prumer_orechu,sila_materialu,sila_materialu_vule,hloubka_prekryti,hloubka_uchytu,sila_uchytu,vyska_uchytu,tolerance_uchytu); -  
40   32  
41 //ROTOR2 33 /*
42 //------------------------------------------------------------- -  
43 //------------------------------------------------------------- -  
44 color(barva_rotor2) 34 color(barva_D01)
45 translate([0,0,0]) 35 translate([0,0,0])
-   36
46 rotor2 (vyska_rotoru2,prumer_rotoru1,vyska_kryti,sila_materialu,stator1_sila,vyska_matky,vzdalenost_rot_stat,lozisko_prumer_vnitrni,lozisko_prekryv,sila_pod_loziskem,delka_hridele,lozisko_vyska,sirka_matky_tol,sirka_matky,hloubka_uchytu,vyska_rotoru1,prumer_sroubu,vyska_matky,prumer_orechu,vzdalenost_rot_stat2,sirka_matky_tol); 37 WINDGAUGE02A_D01();
47   38 */
48 //ROTOR3 39
-   40 //WINDGAUGE02A_D02 DRŽÁK druhy dil
49 //------------------------------------------------------------- 41 //-------------------------------------------------------------
50 //------------------------------------------------------------- 42 //-------------------------------------------------------------
51 color(barva_rotor3) -  
52 translate([0,0,-posunuti_dilu*3-(vyska_rotoru2/2+vyska_matky+vzdalenost_rot_stat+stator1_sila+(lozisko_vyska+sila_pod_loziskem)+((sila_pod_loziskem+delka_hridele+2)/2)-sila_pod_loziskem)]) -  
53 rotor3 (sila_pod_loziskem,delka_hridele,lozisko_prumer_vnitrni,lozisko_prekryv); -  
54   43  
55 //ROTOR4 -  
56 //------------------------------------------------------------- -  
57 //------------------------------------------------------------- -  
58 color(barva_rotor4) -  
59 translate([0,0,-posunuti_dilu*4-(vyska_rotoru2/2+vyska_matky+vzdalenost_rot_stat+stator1_sila+(lozisko_vyska+sila_pod_loziskem)+((sila_pod_loziskem+delka_hridele+2))-sila_pod_loziskem+(vyska_pod_magnetem+magnet_zapusteni)/2)]) -  
60 rotate(a = [0, 180, 0]) -  
61 rotor4 (vyska_pod_magnetem,magnet_zapusteni,magnet_prumer,vyska_hlavy_sroubu,prumer_hlavy_sroubu,prumer_sroubu); -  
62   44  
63 //STATOR1 45
64 //------------------------------------------------------------- -  
65 //------------------------------------------------------------- -  
66 color(barva_stator1) -  
67 translate([0,0,-posunuti_dilu-(vyska_rotoru2/2+vyska_matky+vzdalenost_rot_stat+stator1_sila/2)]) -  
68   46  
69 stator1(stator1_sila,lozisko_prumer_vnejsi,sirka_matky,lozisko_prumer_vnitrni,lozisko_prekryv,prumer_sroubu); -  
70   47
71 //STATOR2 48 //WINDGAUGE02A_S01 stator velky dil
72 //------------------------------------------------------------- 49 //-------------------------------------------------------------
73 //------------------------------------------------------------- 50 //-------------------------------------------------------------
74 color(barva_stator2) -  
75 translate([0,0,-posunuti_dilu*2-(vyska_rotoru2/2+vyska_matky+vzdalenost_rot_stat+stator1_sila+(lozisko_vyska+sila_pod_loziskem)/2)]) -  
76 stator2(lozisko_vyska,sila_pod_loziskem,prumer_rotoru1,sila_materialu,vule1,stator3_sila_steny,lozisko_prumer_vnejsi,lozisko_prumer_vnitrni,lozisko_prekryv, -  
77 prumer_sroubu, -  
78 lozisko_vyska,vzdalenost_der_x,vzdalenost_der_y,vyska_hlavy_sroubu,prumer_hlavy_sroubu,prumer_rotoru1,stator3_vzdalenost_od_steny); -  
79   -  
80 //STATOR3 -  
81 //------------------------------------------------------------- -  
82 //------------------------------------------------------------- -  
83 color(barva_stator3) -  
84 translate([0,0,-posunuti_dilu*6-(vyska_rotoru2/2+vyska_matky+vzdalenost_rot_stat+stator1_sila+stator3_vyska/2)]) -  
85 stator3(stator3_vyska,prumer_rotoru1,lozisko_vyska,sila_pod_loziskem,sila_materialu,vule1,stator3_sila_steny, -  
86 stator3_vyska_prekryti,prumer_hlavy_sroubu,stator3_vzdalenost_od_steny,lozisko_vyska,prumer_sroubu,roztec_sroubu,uchyt_prumer_sroubu,vyska_stator4,kabel_prumer); -  
87   -  
88   -  
89 //STATOR4 -  
90 //------------------------------------------------------------- -  
91 //------------------------------------------------------------- -  
92 color(barva_stator4) -  
93 translate([0,0,-posunuti_dilu*7-(vyska_rotoru2/2+vyska_matky+vzdalenost_rot_stat+stator1_sila+stator3_vyska+vyska_stator4/2)]) -  
94 rotate(a = [180, 0, 0]) -  
95 stator4 (roztec_sroubu,uchyt_prumer_sroubu,vyska_stator4,sila_materialu,uchyt_vyska_matky,uchyt_prumer_orechu,kabel_prumer); -  
96   -  
97   -  
98 //LOPATKY -  
99 //------------------------------------------------------------- -  
100 //------------------------------------------------------------- -  
101   -  
102 //LOPATKA1 -  
103 color(barva_lopatky) -  
104 rotate(a = [0, 0, 90]) -  
105 translate([sila_uchytu/2,-prumer_lopatky/2-delka_uchytu_lopatky-hloubka_uchytu-prumer_rotoru1/2+hloubka_uchytu,posunuti_dilu+vyska_rotoru2/2+vyska_uchytu/2]) -  
106 lopatka(hloubka_uchytu,sila_uchytu,vyska_uchytu,tolerance_uchytu,prumer_lopatky,sila_materialu_lopatky,delka_uchytu_lopatky,hrana_uchytu_lopatky,prumer_rotoru1,prumer_sroubu); -  
107   -  
108 //LOPATKA2 -  
109 color(barva_lopatky) -  
110 rotate(a = [0, 0, 210]) -  
111 translate([sila_uchytu/2,-prumer_lopatky/2-delka_uchytu_lopatky-hloubka_uchytu-prumer_rotoru1/2+hloubka_uchytu,posunuti_dilu+vyska_rotoru2/2+vyska_uchytu/2]) -  
112 lopatka(hloubka_uchytu,sila_uchytu,vyska_uchytu,tolerance_uchytu,prumer_lopatky,sila_materialu_lopatky,delka_uchytu_lopatky,hrana_uchytu_lopatky,prumer_rotoru1,prumer_sroubu); -  
113   -  
114 //LOPATKA2 -  
115 color(barva_lopatky) -  
116 rotate(a = [0, 0, 330]) -  
117 translate([sila_uchytu/2,-prumer_lopatky/2-delka_uchytu_lopatky-hloubka_uchytu-prumer_rotoru1/2+hloubka_uchytu,posunuti_dilu+vyska_rotoru2/2+vyska_uchytu/2]) -  
118 lopatka(hloubka_uchytu,sila_uchytu,vyska_uchytu,tolerance_uchytu,prumer_lopatky,sila_materialu_lopatky,delka_uchytu_lopatky,hrana_uchytu_lopatky,prumer_rotoru1,prumer_sroubu); -  
119   -  
120   51  
-   52 color(barva_S01)
-   53 translate([0,0,0])
-   54
-   55
-   56 WINDGAUGE02A_S01();
-   57
-   58 WINDGAUGE02A_S02();
-   59
-   60 //WINDGAUGE02A_L01 lopatka 1
-   61 //-------------------------------------------------------------
-   62 //-------------------------------------------------------------
-   63 /*
-   64 color(barva_L01)
-   65 translate([0,0,10])
-   66 rotate(a=[0,0,0])
-   67
-   68 WINDGAUGE02A_L01();
-   69
-   70 */
-   71
-   72 }
-   73 cube(300); // cut to show internal relief
-   74 }
-   75
-   76