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> |
|
|
7 |
|
|
|
8 |
include <configuration.scad> |
|
|
9 |
|
|
|
10 |
|
|
|
11 |
|
|
|
12 |
barva_rotor1 = "cyan"; |
|
|
13 |
barva_rotor2 = "red"; |
|
|
14 |
barva_rotor3 = "green"; |
|
|
15 |
barva_rotor4 = "yellow"; |
|
|
16 |
|
|
|
17 |
posunuti_dilu=10; //posunuti dilu od sebe |
|
|
18 |
|
|
|
19 |
|
|
|
20 |
color(barva_rotor1) |
|
|
21 |
|
|
|
22 |
translate([0,0,posunuti_dilu+(vyska_rotoru1-hloubka_prekryti)/2+vyska_uchytu+tolerance_uchytu+vyska_rotoru2/2]) |
|
|
23 |
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); |
|
|
24 |
|
|
|
25 |
|
|
|
26 |
color(barva_rotor2) |
|
|
27 |
translate([0,0,0]) |
|
|
28 |
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); |
|
|
29 |
|
|
|
30 |
|
|
|
31 |
color(barva_rotor3) |
|
|
32 |
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)]) |
|
|
33 |
|
|
|
34 |
|
|
|
35 |
rotor3 (sila_pod_loziskem,delka_hridele,lozisko_prumer_vnitrni,lozisko_prekryv); |
|
|
36 |
|
|
|
37 |
color(barva_rotor4) |
|
|
38 |
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)]) |
|
|
39 |
rotate(a = [0, 180, 0]) |
|
|
40 |
rotor4 (vyska_pod_magnetem,magnet_zapusteni,magnet_prumer,vyska_hlavy_sroubu,prumer_hlavy_sroubu,prumer_sroubu); |
|
|
41 |
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
color(barva_rotor3) |
|
|
49 |
translate([0,0,-posunuti_dilu-(vyska_rotoru2/2+vyska_matky+vzdalenost_rot_stat+stator1_sila/2)]) |
|
|
50 |
|
|
|
51 |
stator1(stator1_sila,lozisko_prumer_vnejsi,sirka_matky,lozisko_prumer_vnitrni,lozisko_prekryv,prumer_sroubu); |
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
//stator2 |
|
|
56 |
color(barva_rotor3) |
|
|
57 |
translate([0,0,-posunuti_dilu*2-(vyska_rotoru2/2+vyska_matky+vzdalenost_rot_stat+stator1_sila+(lozisko_vyska+sila_pod_loziskem)/2)]) |
|
|
58 |
|
|
|
59 |
stator2(lozisko_vyska,sila_pod_loziskem,prumer_rotoru1,sila_materialu,vule1,stator3_sila_steny,lozisko_prumer_vnejsi,lozisko_prumer_vnitrni,lozisko_prekryv, |
|
|
60 |
prumer_sroubu, |
|
|
61 |
lozisko_vyska,vzdalenost_der_x,vzdalenost_der_y,vyska_hlavy_sroubu,prumer_hlavy_sroubu,prumer_rotoru1,stator3_vzdalenost_od_steny); |
|
|
62 |
|
|
|
63 |
|
|
|
64 |
color(barva_rotor3) |
|
|
65 |
translate([0,0,-posunuti_dilu*6-(vyska_rotoru2/2+vyska_matky+vzdalenost_rot_stat+stator1_sila+stator3_vyska/2)]) |
|
|
66 |
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); |
|
|
67 |
|
|
|
68 |
|
|
|
69 |
//SLOUPKY |
|
|
70 |
//------------------------------------------------------------ |
|
|
71 |
//sloupek 1 |