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> |
3 |
use <SRC/WINDGAUGE02A_L01.scad> |
4 |
use <configuration/stator1.scad> |
4 |
use <SRC/WINDGAUGE02A_R01.scad> |
5 |
use <configuration/stator2.scad> |
5 |
use <SRC/WINDGAUGE02A_R02.scad> |
6 |
use <configuration/stator3.scad> |
6 |
use <SRC/WINDGAUGE02A_R03.scad> |
7 |
use <configuration/stator4.scad> |
7 |
use <SRC/WINDGAUGE02A_S01.scad> |
8 |
use <configuration/lopatky.scad> |
8 |
use <SRC/WINDGAUGE02A_S02.scad> |
9 |
use <configuration/kryt_rotoru.scad> |
9 |
use <SRC/WINDGAUGE02A_S03.scad> |
10 |
|
10 |
|
11 |
include <configuration.scad> |
11 |
include <configuration.scad> |
12 |
|
12 |
|
13 |
barva_krytu = "yellow"; |
13 |
barva_D01 = "yellow"; |
14 |
barva_rotor1 = "cyan"; |
14 |
barva_D02 = "cyan"; |
15 |
barva_rotor2 = "green"; |
15 |
barva_L01 = "green"; |
16 |
barva_rotor3 = "green"; |
16 |
barva_R01 = "green"; |
17 |
barva_rotor4 = "yellow"; |
17 |
barva_R02 = "yellow"; |
18 |
barva_stator1 = "cyan"; |
18 |
barva_R03 = "cyan"; |
19 |
barva_stator2 = "red"; |
19 |
barva_S01 = "red"; |
20 |
barva_stator3 = "green"; |
20 |
barva_S02 = "green"; |
21 |
barva_stator4 = "yellow"; |
- |
|
22 |
barva_lopatky = "yellow"; |
21 |
barva_S03 = "yellow"; |
23 |
|
22 |
|
24 |
|
23 |
|
25 |
posunuti_dilu=10; //posunuti dilu od sebe |
- |
|
26 |
|
24 |
|
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); |
25 |
posunuti_dilu=10; //posunuti dilu od sebe |
33 |
|
- |
|
34 |
//ROTOR1 |
- |
|
35 |
//------------------------------------------------------------- |
- |
|
36 |
//------------------------------------------------------------- |
- |
|
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 |
|
26 |
|
41 |
//ROTOR2 |
27 |
//WINDGAUGE02A_D01 DRŽÁK |
42 |
//------------------------------------------------------------- |
28 |
//------------------------------------------------------------- |
43 |
//------------------------------------------------------------- |
29 |
//------------------------------------------------------------- |
44 |
color(barva_rotor2) |
30 |
color(barva_D01) |
45 |
translate([0,0,0]) |
31 |
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); |
32 |
|
47 |
|
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); |
- |
|
34 |
|
48 |
//ROTOR3 |
35 |
|
- |
|
36 |
//WINDGAUGE02A_D02 DRŽÁK druhy dil |
49 |
//------------------------------------------------------------- |
37 |
//------------------------------------------------------------- |
50 |
//------------------------------------------------------------- |
38 |
//------------------------------------------------------------- |
51 |
color(barva_rotor3) |
39 |
color(barva_D02) |
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)]) |
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 |
|
53 |
rotor3 (sila_pod_loziskem,delka_hridele,lozisko_prumer_vnitrni,lozisko_prekryv); |
43 |
WINDGAUGE02A_D02(D02_sila_materialu,D02_vyska_uchytky,D02_prumer_obruby,D02_delka_celeho_uchytu,D02_dotahova_vzdalenost,D02_prumer_uchytneho_sroubu); |
54 |
|
- |
|
55 |
//ROTOR4 |
44 |
|
- |
|
45 |
//WINDGAUGE02A_S01 stator velky dil |
56 |
//------------------------------------------------------------- |
46 |
//------------------------------------------------------------- |
57 |
//------------------------------------------------------------- |
47 |
//------------------------------------------------------------- |
- |
|
48 |
/* |
58 |
color(barva_rotor4) |
49 |
color(barva_S01) |
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)]) |
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]) |
60 |
rotate(a = [0, 180, 0]) |
51 |
|
61 |
rotor4 (vyska_pod_magnetem,magnet_zapusteni,magnet_prumer,vyska_hlavy_sroubu,prumer_hlavy_sroubu,prumer_sroubu); |
- |
|
62 |
|
52 |
|
63 |
//STATOR1 |
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 |
64 |
//------------------------------------------------------------- |
57 |
//------------------------------------------------------------- |
65 |
//------------------------------------------------------------- |
58 |
//------------------------------------------------------------- |
66 |
color(barva_stator1) |
59 |
color(barva_S02) |
67 |
translate([0,0,-posunuti_dilu-(vyska_rotoru2/2+vyska_matky+vzdalenost_rot_stat+stator1_sila/2)]) |
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]) |
68 |
|
62 |
|
69 |
stator1(stator1_sila,lozisko_prumer_vnejsi,sirka_matky,lozisko_prumer_vnitrni,lozisko_prekryv,prumer_sroubu); |
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); |
70 |
|
64 |
|
71 |
//STATOR2 |
65 |
//WINDGAUGE02A_S03 |
72 |
//------------------------------------------------------------- |
66 |
//------------------------------------------------------------- |
73 |
//------------------------------------------------------------- |
67 |
//------------------------------------------------------------- |
74 |
color(barva_stator2) |
68 |
color(barva_S03) |
75 |
translate([0,0,-posunuti_dilu*2-(vyska_rotoru2/2+vyska_matky+vzdalenost_rot_stat+stator1_sila+(lozisko_vyska+sila_pod_loziskem)/2)]) |
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]) |
76 |
stator2(lozisko_vyska,sila_pod_loziskem,prumer_rotoru1,sila_materialu,vule1,stator3_sila_steny,lozisko_prumer_vnejsi,lozisko_prumer_vnitrni,lozisko_prekryv, |
70 |
rotate(a=[180,0,0]) |
77 |
prumer_sroubu, |
71 |
|
78 |
lozisko_vyska,vzdalenost_der_x,vzdalenost_der_y,vyska_hlavy_sroubu,prumer_hlavy_sroubu,prumer_rotoru1,stator3_vzdalenost_od_steny); |
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); |
79 |
|
- |
|
80 |
//STATOR3 |
73 |
|
- |
|
74 |
//WINDGAUGE02A_R01 rotor 1 vrchní díl |
81 |
//------------------------------------------------------------- |
75 |
//------------------------------------------------------------- |
82 |
//------------------------------------------------------------- |
76 |
//------------------------------------------------------------- |
83 |
color(barva_stator3) |
77 |
color(barva_R01) |
84 |
translate([0,0,-posunuti_dilu*6-(vyska_rotoru2/2+vyska_matky+vzdalenost_rot_stat+stator1_sila+stator3_vyska/2)]) |
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)]) |
85 |
stator3(stator3_vyska,prumer_rotoru1,lozisko_vyska,sila_pod_loziskem,sila_materialu,vule1,stator3_sila_steny, |
79 |
rotate(a=[180,0,0]) |
- |
|
80 |
|
86 |
stator3_vyska_prekryti,prumer_hlavy_sroubu,stator3_vzdalenost_od_steny,lozisko_vyska,prumer_sroubu,roztec_sroubu,uchyt_prumer_sroubu,vyska_stator4,kabel_prumer); |
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); |
87 |
|
82 |
|
88 |
|
83 |
|
89 |
//STATOR4 |
84 |
//WINDGAUGE02A_R02 rotor 2 spodní díl |
90 |
//------------------------------------------------------------- |
85 |
//------------------------------------------------------------- |
91 |
//------------------------------------------------------------- |
86 |
//------------------------------------------------------------- |
92 |
color(barva_stator4) |
87 |
color(barva_R02) |
93 |
translate([0,0,-posunuti_dilu*7-(vyska_rotoru2/2+vyska_matky+vzdalenost_rot_stat+stator1_sila+stator3_vyska+vyska_stator4/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]) |
94 |
rotate(a = [180, 0, 0]) |
89 |
rotate(a=[0,0,0]) |
- |
|
90 |
|
95 |
stator4 (roztec_sroubu,uchyt_prumer_sroubu,vyska_stator4,sila_materialu,uchyt_vyska_matky,uchyt_prumer_orechu,kabel_prumer); |
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); |
96 |
|
- |
|
97 |
|
92 |
|
98 |
//LOPATKY |
93 |
|
- |
|
94 |
//WINDGAUGE02A_L01 lopatka 1 |
99 |
//------------------------------------------------------------- |
95 |
//------------------------------------------------------------- |
100 |
//------------------------------------------------------------- |
96 |
//------------------------------------------------------------- |
- |
|
97 |
color(barva_L01) |
101 |
|
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]) |
102 |
//LOPATKA1 |
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 |
- |
|
105 |
//------------------------------------------------------------- |
- |
|
106 |
//------------------------------------------------------------- |
103 |
color(barva_lopatky) |
107 |
color(barva_L01) |
104 |
rotate(a = [0, 0, 90]) |
108 |
rotate(a=[0,0,120]) |
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]) |
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 |
|
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); |
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); |
107 |
|
113 |
|
108 |
//LOPATKA2 |
114 |
//WINDGAUGE02A_L01 lopatka 3 |
- |
|
115 |
//------------------------------------------------------------- |
- |
|
116 |
//------------------------------------------------------------- |
109 |
color(barva_lopatky) |
117 |
color(barva_L01) |
110 |
rotate(a = [0, 0, 210]) |
118 |
rotate(a=[0,0,240]) |
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]) |
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 |
|
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); |
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); |
113 |
|
123 |
|
114 |
//LOPATKA2 |
124 |
|
- |
|
125 |
//WINDGAUGE02A_R03 kryt |
- |
|
126 |
//------------------------------------------------------------- |
- |
|
127 |
//------------------------------------------------------------- |
115 |
color(barva_lopatky) |
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)]) |
116 |
rotate(a = [0, 0, 330]) |
130 |
rotate(a=[0,0,0]) |
- |
|
131 |
|
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]) |
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, |
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); |
133 |
R02_sila_mateiralu_pod_lopatkami,S01_sila_materialu); |
119 |
|
- |
|
120 |
|
- |
|
121 |
|
134 |
|