1 |
use <configuration/rotor1.scad> |
1 |
use <configuration/rotor1.scad> |
2 |
use <configuration/rotor2.scad> |
2 |
use <configuration/rotor2.scad> |
3 |
use <configuration/rotor3.scad> |
3 |
use <configuration/rotor3.scad> |
4 |
use <configuration/stator1.scad> |
4 |
use <configuration/stator1.scad> |
5 |
use <configuration/stator2.scad> |
5 |
use <configuration/stator2.scad> |
6 |
use <configuration/stator3.scad> |
6 |
use <configuration/stator3.scad> |
7 |
use <configuration/stator4.scad> |
7 |
use <configuration/stator4.scad> |
8 |
use <configuration/lopatky.scad> |
8 |
use <configuration/lopatky.scad> |
9 |
use <configuration/kryt_rotoru.scad> |
9 |
use <configuration/kryt_rotoru.scad> |
10 |
|
10 |
|
11 |
include <configuration.scad> |
11 |
include <configuration.scad> |
12 |
|
12 |
|
13 |
barva_krytu = "yellow"; |
13 |
barva_krytu = "yellow"; |
14 |
barva_rotor1 = "cyan"; |
14 |
barva_rotor1 = "cyan"; |
15 |
barva_rotor2 = "green"; |
15 |
barva_rotor2 = "green"; |
16 |
barva_rotor3 = "green"; |
16 |
barva_rotor3 = "green"; |
17 |
barva_rotor4 = "yellow"; |
17 |
barva_rotor4 = "yellow"; |
18 |
barva_stator1 = "cyan"; |
18 |
barva_stator1 = "cyan"; |
19 |
barva_stator2 = "red"; |
19 |
barva_stator2 = "red"; |
20 |
barva_stator3 = "green"; |
20 |
barva_stator3 = "green"; |
21 |
barva_stator4 = "yellow"; |
21 |
barva_stator4 = "yellow"; |
22 |
barva_lopatky = "yellow"; |
22 |
barva_lopatky = "yellow"; |
23 |
|
23 |
|
24 |
|
24 |
|
25 |
posunuti_dilu=10; //posunuti dilu od sebe |
25 |
posunuti_dilu=10; //posunuti dilu od sebe |
26 |
|
26 |
|
27 |
//KRYT ROTORU |
27 |
//KRYT ROTORU |
28 |
//------------------------------------------------------------- |
28 |
//------------------------------------------------------------- |
29 |
//------------------------------------------------------------- |
29 |
//------------------------------------------------------------- |
30 |
color(barva_krytu) |
30 |
color(barva_krytu) |
31 |
translate([0,0,posunuti_dilu*4+(vyska_rotoru1-hloubka_prekryti)/2+vyska_uchytu+tolerance_uchytu+vyska_rotoru2]) |
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); |
32 |
kryt_rotoru(prumer_rotoru1,sila_materialu_krytu,vyska_rotoru1); |
33 |
|
33 |
|
34 |
//ROTOR1 |
34 |
//ROTOR1 |
35 |
//------------------------------------------------------------- |
35 |
//------------------------------------------------------------- |
36 |
//------------------------------------------------------------- |
36 |
//------------------------------------------------------------- |
37 |
color(barva_rotor1) |
37 |
color(barva_rotor1) |
38 |
translate([0,0,posunuti_dilu*3+(vyska_rotoru1-hloubka_prekryti)/2+vyska_uchytu+tolerance_uchytu+vyska_rotoru2/2]) |
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); |
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 |
|
40 |
|
41 |
//ROTOR2 |
41 |
//ROTOR2 |
42 |
//------------------------------------------------------------- |
42 |
//------------------------------------------------------------- |
43 |
//------------------------------------------------------------- |
43 |
//------------------------------------------------------------- |
44 |
color(barva_rotor2) |
44 |
color(barva_rotor2) |
45 |
translate([0,0,0]) |
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); |
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); |
47 |
|
47 |
|
48 |
//ROTOR3 |
48 |
//ROTOR3 |
49 |
//------------------------------------------------------------- |
49 |
//------------------------------------------------------------- |
50 |
//------------------------------------------------------------- |
50 |
//------------------------------------------------------------- |
51 |
color(barva_rotor3) |
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)]) |
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); |
53 |
rotor3 (sila_pod_loziskem,delka_hridele,lozisko_prumer_vnitrni,lozisko_prekryv); |
54 |
|
54 |
|
55 |
//ROTOR4 |
55 |
//ROTOR4 |
56 |
//------------------------------------------------------------- |
56 |
//------------------------------------------------------------- |
57 |
//------------------------------------------------------------- |
57 |
//------------------------------------------------------------- |
58 |
color(barva_rotor4) |
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)]) |
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]) |
60 |
rotate(a = [0, 180, 0]) |
61 |
rotor4 (vyska_pod_magnetem,magnet_zapusteni,magnet_prumer,vyska_hlavy_sroubu,prumer_hlavy_sroubu,prumer_sroubu); |
61 |
rotor4 (vyska_pod_magnetem,magnet_zapusteni,magnet_prumer,vyska_hlavy_sroubu,prumer_hlavy_sroubu,prumer_sroubu); |
62 |
|
62 |
|
63 |
//STATOR1 |
63 |
//STATOR1 |
64 |
//------------------------------------------------------------- |
64 |
//------------------------------------------------------------- |
65 |
//------------------------------------------------------------- |
65 |
//------------------------------------------------------------- |
66 |
color(barva_stator1) |
66 |
color(barva_stator1) |
67 |
translate([0,0,-posunuti_dilu-(vyska_rotoru2/2+vyska_matky+vzdalenost_rot_stat+stator1_sila/2)]) |
67 |
translate([0,0,-posunuti_dilu-(vyska_rotoru2/2+vyska_matky+vzdalenost_rot_stat+stator1_sila/2)]) |
68 |
|
68 |
|
69 |
stator1(stator1_sila,lozisko_prumer_vnejsi,sirka_matky,lozisko_prumer_vnitrni,lozisko_prekryv,prumer_sroubu); |
69 |
stator1(stator1_sila,lozisko_prumer_vnejsi,sirka_matky,lozisko_prumer_vnitrni,lozisko_prekryv,prumer_sroubu); |
70 |
|
70 |
|
71 |
//STATOR2 |
71 |
//STATOR2 |
72 |
//------------------------------------------------------------- |
72 |
//------------------------------------------------------------- |
73 |
//------------------------------------------------------------- |
73 |
//------------------------------------------------------------- |
74 |
color(barva_stator2) |
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)]) |
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, |
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, |
77 |
prumer_sroubu, |
78 |
lozisko_vyska,vzdalenost_der_x,vzdalenost_der_y,vyska_hlavy_sroubu,prumer_hlavy_sroubu,prumer_rotoru1,stator3_vzdalenost_od_steny); |
78 |
lozisko_vyska,vzdalenost_der_x,vzdalenost_der_y,vyska_hlavy_sroubu,prumer_hlavy_sroubu,prumer_rotoru1,stator3_vzdalenost_od_steny); |
79 |
|
79 |
|
80 |
//STATOR3 |
80 |
//STATOR3 |
81 |
//------------------------------------------------------------- |
81 |
//------------------------------------------------------------- |
82 |
//------------------------------------------------------------- |
82 |
//------------------------------------------------------------- |
83 |
color(barva_stator3) |
83 |
color(barva_stator3) |
84 |
translate([0,0,-posunuti_dilu*6-(vyska_rotoru2/2+vyska_matky+vzdalenost_rot_stat+stator1_sila+stator3_vyska/2)]) |
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, |
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); |
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 |
|
87 |
|
88 |
|
88 |
|
89 |
//STATOR4 |
89 |
//STATOR4 |
90 |
//------------------------------------------------------------- |
90 |
//------------------------------------------------------------- |
91 |
//------------------------------------------------------------- |
91 |
//------------------------------------------------------------- |
92 |
color(barva_stator4) |
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)]) |
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]) |
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); |
95 |
stator4 (roztec_sroubu,uchyt_prumer_sroubu,vyska_stator4,sila_materialu,uchyt_vyska_matky,uchyt_prumer_orechu,kabel_prumer); |
96 |
|
96 |
|
97 |
|
97 |
|
98 |
//LOPATKY |
98 |
//LOPATKY |
99 |
//------------------------------------------------------------- |
99 |
//------------------------------------------------------------- |
100 |
//------------------------------------------------------------- |
100 |
//------------------------------------------------------------- |
101 |
|
101 |
|
102 |
//LOPATKA1 |
102 |
//LOPATKA1 |
103 |
color(barva_lopatky) |
103 |
color(barva_lopatky) |
104 |
rotate(a = [0, 0, 90]) |
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]) |
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); |
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 |
|
107 |
|
108 |
//LOPATKA2 |
108 |
//LOPATKA2 |
109 |
color(barva_lopatky) |
109 |
color(barva_lopatky) |
110 |
rotate(a = [0, 0, 210]) |
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]) |
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); |
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 |
|
113 |
|
114 |
//LOPATKA2 |
114 |
//LOPATKA2 |
115 |
color(barva_lopatky) |
115 |
color(barva_lopatky) |
116 |
rotate(a = [0, 0, 330]) |
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]) |
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); |
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 |
|
119 |
|
120 |
|
120 |
|