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 |
|
|
|
13 |
|
|
|
14 |
|
|
|
15 |
barva_rotor1 = "cyan"; |
|
|
16 |
barva_rotor2 = "red"; |
|
|
17 |
barva_rotor3 = "green"; |
|
|
18 |
barva_rotor4 = "yellow"; |
|
|
19 |
|
4279 |
jacho |
20 |
posunuti_dilu=0; //posunuti dilu od sebe |
4277 |
jacho |
21 |
|
|
|
22 |
|
4279 |
jacho |
23 |
translate([0,0,posunuti_dilu*4+(vyska_rotoru1-hloubka_prekryti)/2+vyska_uchytu+tolerance_uchytu+vyska_rotoru2]) |
|
|
24 |
kryt_rotoru(prumer_rotoru1,sila_materialu,prumer_sroubu); |
|
|
25 |
|
|
|
26 |
|
|
|
27 |
|
4277 |
jacho |
28 |
color(barva_rotor1) |
|
|
29 |
|
4279 |
jacho |
30 |
translate([0,0,posunuti_dilu*3+(vyska_rotoru1-hloubka_prekryti)/2+vyska_uchytu+tolerance_uchytu+vyska_rotoru2/2]) |
4277 |
jacho |
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); |
|
|
32 |
|
|
|
33 |
|
|
|
34 |
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); |
|
|
37 |
|
|
|
38 |
|
|
|
39 |
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)]) |
|
|
41 |
|
|
|
42 |
|
|
|
43 |
rotor3 (sila_pod_loziskem,delka_hridele,lozisko_prumer_vnitrni,lozisko_prekryv); |
|
|
44 |
|
|
|
45 |
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)]) |
|
|
47 |
rotate(a = [0, 180, 0]) |
|
|
48 |
rotor4 (vyska_pod_magnetem,magnet_zapusteni,magnet_prumer,vyska_hlavy_sroubu,prumer_hlavy_sroubu,prumer_sroubu); |
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
color(barva_rotor3) |
|
|
57 |
translate([0,0,-posunuti_dilu-(vyska_rotoru2/2+vyska_matky+vzdalenost_rot_stat+stator1_sila/2)]) |
|
|
58 |
|
|
|
59 |
stator1(stator1_sila,lozisko_prumer_vnejsi,sirka_matky,lozisko_prumer_vnitrni,lozisko_prekryv,prumer_sroubu); |
|
|
60 |
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
//stator2 |
|
|
64 |
color(barva_rotor3) |
|
|
65 |
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, |
|
|
68 |
prumer_sroubu, |
|
|
69 |
lozisko_vyska,vzdalenost_der_x,vzdalenost_der_y,vyska_hlavy_sroubu,prumer_hlavy_sroubu,prumer_rotoru1,stator3_vzdalenost_od_steny); |
|
|
70 |
|
|
|
71 |
|
|
|
72 |
color(barva_rotor3) |
|
|
73 |
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,stator3_vyska_prekryti,prumer_hlavy_sroubu,stator3_vzdalenost_od_steny,lozisko_vyska,prumer_sroubu,roztec_sroubu,uchyt_prumer_sroubu); |
|
|
75 |
|
|
|
76 |
|
4279 |
jacho |
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 |
|
|
|
105 |
|
|
|
106 |
|
|
|
107 |
|
4277 |
jacho |
108 |
//SLOUPKY |
|
|
109 |
//------------------------------------------------------------ |
|
|
110 |
//sloupek 1 |