Rev Author Line No. Line
4277 jacho 1 use <configuration/rotor1.scad>
2 use <configuration/rotor2.scad>
3 use <configuration/rotor3.scad>
4 use <configuration/stator1.scad>
5 use <configuration/stator2.scad>
6 use <configuration/stator3.scad>
4279 jacho 7 use <configuration/stator4.scad>
8 use <configuration/lopatky.scad>
9 use <configuration/kryt_rotoru.scad>
4277 jacho 10  
11 include <configuration.scad>
12  
4297 jacho 13 barva_krytu = "yellow";
4277 jacho 14 barva_rotor1 = "cyan";
4297 jacho 15 barva_rotor2 = "green";
4277 jacho 16 barva_rotor3 = "green";
17 barva_rotor4 = "yellow";
4297 jacho 18 barva_stator1 = "cyan";
19 barva_stator2 = "red";
20 barva_stator3 = "green";
21 barva_stator4 = "yellow";
22 barva_lopatky = "yellow";
4277 jacho 23  
4297 jacho 24  
4292 jacho 25 posunuti_dilu=10; //posunuti dilu od sebe
4277 jacho 26  
4297 jacho 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,vyska_rotoru1);
4277 jacho 33  
4297 jacho 34 //ROTOR1
35 //-------------------------------------------------------------
36 //-------------------------------------------------------------
4277 jacho 37 color(barva_rotor1)
4297 jacho 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);
4277 jacho 40  
4297 jacho 41 //ROTOR2
42 //-------------------------------------------------------------
43 //-------------------------------------------------------------
4277 jacho 44 color(barva_rotor2)
4297 jacho 45 translate([0,0,0])
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);
4277 jacho 47  
4297 jacho 48 //ROTOR3
49 //-------------------------------------------------------------
50 //-------------------------------------------------------------
4277 jacho 51 color(barva_rotor3)
4297 jacho 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);
4277 jacho 54  
4297 jacho 55 //ROTOR4
56 //-------------------------------------------------------------
57 //-------------------------------------------------------------
4277 jacho 58 color(barva_rotor4)
4297 jacho 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);
4277 jacho 62  
4297 jacho 63 //STATOR1
64 //-------------------------------------------------------------
65 //-------------------------------------------------------------
66 color(barva_stator1)
4277 jacho 67 translate([0,0,-posunuti_dilu-(vyska_rotoru2/2+vyska_matky+vzdalenost_rot_stat+stator1_sila/2)])
68  
69 stator1(stator1_sila,lozisko_prumer_vnejsi,sirka_matky,lozisko_prumer_vnitrni,lozisko_prekryv,prumer_sroubu);
70  
4297 jacho 71 //STATOR2
72 //-------------------------------------------------------------
73 //-------------------------------------------------------------
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,
4277 jacho 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  
4297 jacho 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)])
4288 jacho 85 stator3(stator3_vyska,prumer_rotoru1,lozisko_vyska,sila_pod_loziskem,sila_materialu,vule1,stator3_sila_steny,
4297 jacho 86 stator3_vyska_prekryti,prumer_hlavy_sroubu,stator3_vzdalenost_od_steny,lozisko_vyska,prumer_sroubu,roztec_sroubu,uchyt_prumer_sroubu,vyska_stator4,kabel_prumer);
4277 jacho 87  
4279 jacho 88  
4297 jacho 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);
4279 jacho 96  
97  
4297 jacho 98 //LOPATKY
99 //-------------------------------------------------------------
100 //-------------------------------------------------------------
4279 jacho 101  
4297 jacho 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);
4279 jacho 107  
4297 jacho 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);
4279 jacho 113  
4297 jacho 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);
4279 jacho 119  
120