Line 8... |
Line 8... |
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 |
|
- |
|
14 |
|
- |
|
- |
|
13 |
barva_krytu = "yellow"; |
15 |
barva_rotor1 = "cyan"; |
14 |
barva_rotor1 = "cyan"; |
16 |
barva_rotor2 = "red"; |
15 |
barva_rotor2 = "green"; |
17 |
barva_rotor3 = "green"; |
16 |
barva_rotor3 = "green"; |
18 |
barva_rotor4 = "yellow"; |
17 |
barva_rotor4 = "yellow"; |
19 |
|
- |
|
- |
|
18 |
barva_stator1 = "cyan"; |
- |
|
19 |
barva_stator2 = "red"; |
20 |
posunuti_dilu=10; //posunuti dilu od sebe |
20 |
barva_stator3 = "green"; |
21 |
|
- |
|
22 |
|
- |
|
23 |
translate([0,0,posunuti_dilu*4+(vyska_rotoru1-hloubka_prekryti)/2+vyska_uchytu+tolerance_uchytu+vyska_rotoru2]) |
21 |
barva_stator4 = "yellow"; |
24 |
kryt_rotoru(prumer_rotoru1,sila_materialu,prumer_sroubu,vyska_rotoru1); |
22 |
barva_lopatky = "yellow"; |
25 |
|
23 |
|
26 |
|
24 |
|
- |
|
25 |
posunuti_dilu=10; //posunuti dilu od sebe |
27 |
|
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,vyska_rotoru1); |
- |
|
33 |
|
- |
|
34 |
//ROTOR1 |
- |
|
35 |
//------------------------------------------------------------- |
- |
|
36 |
//------------------------------------------------------------- |
28 |
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]) |
- |
|
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); |
29 |
|
40 |
|
- |
|
41 |
//ROTOR2 |
30 |
translate([0,0,posunuti_dilu*3+(vyska_rotoru1-hloubka_prekryti)/2+vyska_uchytu+tolerance_uchytu+vyska_rotoru2/2]) |
42 |
//------------------------------------------------------------- |
31 |
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); |
43 |
//------------------------------------------------------------- |
32 |
|
- |
|
33 |
|
- |
|
34 |
color(barva_rotor2) |
44 |
color(barva_rotor2) |
35 |
translate([0,0,0]) |
- |
|
36 |
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); |
45 |
translate([0,0,0]) |
37 |
|
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); |
38 |
|
47 |
|
- |
|
48 |
//ROTOR3 |
- |
|
49 |
//------------------------------------------------------------- |
- |
|
50 |
//------------------------------------------------------------- |
39 |
color(barva_rotor3) |
51 |
color(barva_rotor3) |
40 |
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)]) |
41 |
|
- |
|
42 |
|
- |
|
43 |
rotor3 (sila_pod_loziskem,delka_hridele,lozisko_prumer_vnitrni,lozisko_prekryv); |
53 |
rotor3 (sila_pod_loziskem,delka_hridele,lozisko_prumer_vnitrni,lozisko_prekryv); |
44 |
|
54 |
|
- |
|
55 |
//ROTOR4 |
- |
|
56 |
//------------------------------------------------------------- |
- |
|
57 |
//------------------------------------------------------------- |
45 |
color(barva_rotor4) |
58 |
color(barva_rotor4) |
46 |
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)]) |
47 |
rotate(a = [0, 180, 0]) |
60 |
rotate(a = [0, 180, 0]) |
48 |
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); |
49 |
|
- |
|
50 |
|
- |
|
51 |
|
- |
|
52 |
|
- |
|
53 |
|
- |
|
54 |
|
62 |
|
55 |
|
63 |
//STATOR1 |
- |
|
64 |
//------------------------------------------------------------- |
- |
|
65 |
//------------------------------------------------------------- |
56 |
color(barva_rotor3) |
66 |
color(barva_stator1) |
57 |
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)]) |
58 |
|
68 |
|
59 |
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); |
60 |
|
70 |
|
61 |
|
- |
|
62 |
|
- |
|
63 |
//stator2 |
71 |
//STATOR2 |
- |
|
72 |
//------------------------------------------------------------- |
- |
|
73 |
//------------------------------------------------------------- |
64 |
color(barva_rotor3) |
74 |
color(barva_stator2) |
65 |
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)]) |
66 |
|
- |
|
67 |
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, |
68 |
prumer_sroubu, |
77 |
prumer_sroubu, |
69 |
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); |
70 |
|
79 |
|
71 |
|
80 |
//STATOR3 |
- |
|
81 |
//------------------------------------------------------------- |
- |
|
82 |
//------------------------------------------------------------- |
72 |
color(barva_rotor3) |
83 |
color(barva_stator3) |
73 |
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)]) |
74 |
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, |
75 |
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); |
76 |
|
- |
|
77 |
//stator4 |
- |
|
78 |
|
- |
|
79 |
translate([0,0,-posunuti_dilu*7-(vyska_rotoru2/2+vyska_matky+vzdalenost_rot_stat+stator1_sila+stator3_vyska+vyska_stator4/2)]) |
- |
|
80 |
rotate(a = [180, 0, 0]) |
- |
|
81 |
stator4 (roztec_sroubu,uchyt_prumer_sroubu,vyska_stator4,sila_materialu,uchyt_vyska_matky,uchyt_prumer_orechu,kabel_prumer); |
- |
|
82 |
|
- |
|
83 |
|
- |
|
84 |
//lopatky |
- |
|
85 |
|
- |
|
86 |
//lopatka 1 |
- |
|
87 |
rotate(a = [0, 0, 90]) |
- |
|
88 |
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]) |
- |
|
89 |
|
- |
|
90 |
lopatka(hloubka_uchytu,sila_uchytu,vyska_uchytu,tolerance_uchytu,prumer_lopatky,sila_materialu_lopatky,delka_uchytu_lopatky,hrana_uchytu_lopatky,prumer_rotoru1,prumer_sroubu); |
- |
|
91 |
|
- |
|
92 |
//lopatka 2 |
- |
|
93 |
rotate(a = [0, 0, 210]) |
- |
|
94 |
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]) |
- |
|
95 |
|
- |
|
96 |
lopatka(hloubka_uchytu,sila_uchytu,vyska_uchytu,tolerance_uchytu,prumer_lopatky,sila_materialu_lopatky,delka_uchytu_lopatky,hrana_uchytu_lopatky,prumer_rotoru1,prumer_sroubu); |
- |
|
97 |
|
- |
|
98 |
//lopatka 3 |
- |
|
99 |
rotate(a = [0, 0, 330]) |
- |
|
100 |
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]) |
- |
|
101 |
|
- |
|
102 |
lopatka(hloubka_uchytu,sila_uchytu,vyska_uchytu,tolerance_uchytu,prumer_lopatky,sila_materialu_lopatky,delka_uchytu_lopatky,hrana_uchytu_lopatky,prumer_rotoru1,prumer_sroubu); |
- |
|
103 |
|
- |
|
104 |
|
87 |
|
105 |
|
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); |
106 |
|
119 |
|
107 |
|
120 |
|
108 |
//SLOUPKY |
- |
|
109 |
//------------------------------------------------------------ |
- |
|
110 |
//sloupek 1 |
- |
|