/Modules/Mechanical/WINDGAUGE01A/CAD/rotor1.scad
File deleted
\ No newline at end of file
/Modules/Mechanical/WINDGAUGE01A/CAD/rotor2.scad
File deleted
\ No newline at end of file
/Modules/Mechanical/WINDGAUGE01A/CAD/rotor3.scad
File deleted
/Modules/Mechanical/WINDGAUGE01A/CAD/stator1.scad
File deleted
/Modules/Mechanical/WINDGAUGE01A/CAD/stator2.scad
File deleted
/Modules/Mechanical/WINDGAUGE01A/CAD/stator3.scad
File deleted
/Modules/Mechanical/WINDGAUGE01A/CAD/assembly.scad
0,0 → 1,71
use <configuration/rotor1.scad>
use <configuration/rotor2.scad>
use <configuration/rotor3.scad>
use <configuration/stator1.scad>
use <configuration/stator2.scad>
use <configuration/stator3.scad>
 
include <configuration.scad>
 
 
 
barva_rotor1 = "cyan";
barva_rotor2 = "red";
barva_rotor3 = "green";
barva_rotor4 = "yellow";
 
posunuti_dilu=10; //posunuti dilu od sebe
 
 
color(barva_rotor1)
 
translate([0,0,posunuti_dilu+(vyska_rotoru1-hloubka_prekryti)/2+vyska_uchytu+tolerance_uchytu+vyska_rotoru2/2])
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);
 
 
color(barva_rotor2)
translate([0,0,0])
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);
 
 
color(barva_rotor3)
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)])
 
 
rotor3 (sila_pod_loziskem,delka_hridele,lozisko_prumer_vnitrni,lozisko_prekryv);
 
color(barva_rotor4)
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)])
rotate(a = [0, 180, 0])
rotor4 (vyska_pod_magnetem,magnet_zapusteni,magnet_prumer,vyska_hlavy_sroubu,prumer_hlavy_sroubu,prumer_sroubu);
 
 
 
 
 
 
 
color(barva_rotor3)
translate([0,0,-posunuti_dilu-(vyska_rotoru2/2+vyska_matky+vzdalenost_rot_stat+stator1_sila/2)])
 
stator1(stator1_sila,lozisko_prumer_vnejsi,sirka_matky,lozisko_prumer_vnitrni,lozisko_prekryv,prumer_sroubu);
 
 
 
//stator2
color(barva_rotor3)
translate([0,0,-posunuti_dilu*2-(vyska_rotoru2/2+vyska_matky+vzdalenost_rot_stat+stator1_sila+(lozisko_vyska+sila_pod_loziskem)/2)])
 
stator2(lozisko_vyska,sila_pod_loziskem,prumer_rotoru1,sila_materialu,vule1,stator3_sila_steny,lozisko_prumer_vnejsi,lozisko_prumer_vnitrni,lozisko_prekryv,
prumer_sroubu,
lozisko_vyska,vzdalenost_der_x,vzdalenost_der_y,vyska_hlavy_sroubu,prumer_hlavy_sroubu,prumer_rotoru1,stator3_vzdalenost_od_steny);
 
 
color(barva_rotor3)
translate([0,0,-posunuti_dilu*6-(vyska_rotoru2/2+vyska_matky+vzdalenost_rot_stat+stator1_sila+stator3_vyska/2)])
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);
 
 
//SLOUPKY
//------------------------------------------------------------
//sloupek 1
/Modules/Mechanical/WINDGAUGE01A/CAD/configuration/lopatky.scad
--- Mechanical/WINDGAUGE01A/CAD/configuration/rotor1.scad (nonexistent)
+++ Mechanical/WINDGAUGE01A/CAD/configuration/rotor1.scad (revision 4277)
@@ -0,0 +1,88 @@
+$fn=40; // model faces resolution.
+//include <configuration.scad>
+
+module 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)
+ {
+ difference()
+ {
+ union ()
+ {
+
+ cylinder (h = vyska_rotoru1-hloubka_prekryti, r=prumer_rotoru1/2, center = true, $fn=100);
+
+
+ translate([0,0,vyska_rotoru1/2])
+ cylinder (h = hloubka_prekryti, r=(prumer_rotoru1/2) -sila_materialu-sila_materialu_vule, center = true, $fn=100);
+
+//otvory pro lopatky
+ translate([0,0,-(vyska_rotoru1-hloubka_prekryti)/2-(vyska_uchytu+tolerance_uchytu)/2])
+
+//otvory pro lopatky
+ difference ()
+ {
+ cylinder (h = vyska_uchytu+tolerance_uchytu, r=(prumer_rotoru1/2), center = true, $fn=100);
+
+ cylinder (h = vyska_uchytu+2*tolerance_uchytu, r=(prumer_rotoru1/2-hloubka_uchytu+5), center = true, $fn=100);
+
+ //dira pro prvni uchyt lopatky
+ translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,0])
+ cube([hloubka_uchytu,sila_uchytu+tolerance_uchytu,vyska_uchytu+2*tolerance_uchytu],true);
+
+ //dira pro druhy uchyt lopatky
+
+ rotate(a=[0,0,120])
+
+ translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,0])
+ cube([hloubka_uchytu,sila_uchytu+tolerance_uchytu,vyska_uchytu+2*tolerance_uchytu],true);
+
+ //dira pro treti uchyt lopatky
+
+ rotate(a=[0,0,240])
+
+ translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,0])
+ cube([hloubka_uchytu,sila_uchytu+tolerance_uchytu,vyska_uchytu+2*tolerance_uchytu],true);
+
+ }
+
+ }
+
+//otvory pro uchyceni krytky rotoru
+ translate([0,0,hloubka_prekryti/2])
+ cylinder (h = vyska_rotoru1+0.1, r=prumer_sroubu/2, center = true, $fn=100);
+
+ translate([0,0,-(vyska_rotoru1-hloubka_prekryti)/2+vyska_matky/2])
+ cylinder (h = vyska_matky+0.1, r=prumer_orechu/2, center = true, $fn=100);
+
+
+//otvor pro uchyceni prvni lopatky
+ translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,hloubka_prekryti/2])
+ cylinder (h = vyska_rotoru1+0.1, r=prumer_sroubu/2, center = true, $fn=100);
+
+ translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,-(vyska_rotoru1-hloubka_prekryti)/2+vyska_matky/2])
+ cylinder (h = vyska_matky+0.1, r=prumer_orechu/2, center = true, $fn=100);
+
+//otvor pro uchyceni druhe lopatky
+ rotate(a=[0,0,120])
+ translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,hloubka_prekryti/2])
+ cylinder (h = vyska_rotoru1+0.1, r=prumer_sroubu/2, center = true, $fn=100);
+
+ rotate(a=[0,0,120])
+ translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,-(vyska_rotoru1-hloubka_prekryti)/2+vyska_matky/2])
+ cylinder (h = vyska_matky+0.1, r=prumer_orechu/2, center = true, $fn=100);
+
+//otvor pro uchyceni treti lopatky
+ rotate(a=[0,0,240])
+ translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,hloubka_prekryti/2])
+ cylinder (h = vyska_rotoru1+0.1, r=prumer_sroubu/2, center = true, $fn=100);
+
+ rotate(a=[0,0,240])
+ translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,-(vyska_rotoru1-hloubka_prekryti)/2+vyska_matky/2])
+ cylinder (h = vyska_matky+0.1, r=prumer_orechu/2, center = true, $fn=100);
+
+}
+
+}
+
+
+
+
/Modules/Mechanical/WINDGAUGE01A/CAD/configuration/rotor2.scad
0,0 → 1,89
$fn=40; // model faces resolution.
//include <configuration.scad>
 
 
 
 
 
module 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)
{
 
difference()
{
union ()
{
cylinder (h = vyska_rotoru2, r=prumer_rotoru1/2, center = true, $fn=100);
 
 
//kryci kroužek
translate([0,0,-(vyska_rotoru2)/2-(vyska_kryti)/2])
difference ()
{
cylinder (h = vyska_kryti, r=(prumer_rotoru1/2), center = true, $fn=100);
cylinder (h = vyska_kryti+0.1, r=(prumer_rotoru1/2-sila_materialu), center = true, $fn=100);
}
//doraz na lozisko
translate([0,0,-(vyska_rotoru2+stator1_sila+vyska_matky+vzdalenost_rot_stat)/2])
cylinder (h = stator1_sila+vyska_matky+vzdalenost_rot_stat, r=(lozisko_prumer_vnitrni+2*lozisko_prekryv)/2, center = true, $fn=100);
 
//hridel
translate([0,0,-(vyska_rotoru2+stator1_sila+vyska_matky+vzdalenost_rot_stat+lozisko_vyska+sila_pod_loziskem+delka_hridele)/2])
cylinder (h = stator1_sila+vyska_matky+vzdalenost_rot_stat+lozisko_vyska+sila_pod_loziskem+delka_hridele, r=(lozisko_prumer_vnitrni/2), center = true, $fn=100);
}
//otvor v hřídeli
translate([0,0,-(stator1_sila+vyska_matky+vzdalenost_rot_stat+lozisko_vyska+sila_pod_loziskem+delka_hridele)/2])
cylinder (h = vyska_rotoru2+stator1_sila+vyska_matky+vzdalenost_rot_stat+lozisko_vyska+sila_pod_loziskem+delka_hridele+0.1, r=(prumer_sroubu/2), center = true, $fn=100);
//otvor pro matku
translate([0,0,(vyska_rotoru2-vyska_matky)/2])
cylinder (h = vyska_matky+0.1, r= (sirka_matky+sirka_matky_tol)/2, center = true,$fn=6);
 
//otvor pro uchyceni prvni lopatky
translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,0])
cylinder (h = vyska_rotoru1+0.1, r=prumer_sroubu/2, center = true, $fn=100);
 
translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,-(vyska_rotoru2)/2+vyska_matky/2])
cylinder (h = vyska_matky+0.1, r=prumer_orechu/2, center = true, $fn=100);
//otvor pro uchyceni druhe lopatky
rotate(a=[0,0,120])
translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,0])
cylinder (h = vyska_rotoru1+0.1, r=prumer_sroubu/2, center = true, $fn=100);
 
rotate(a=[0,0,120])
translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,-(vyska_rotoru2)/2+vyska_matky/2])
cylinder (h = vyska_matky+0.1, r=prumer_orechu/2, center = true, $fn=100);
 
//otvor pro uchyceni treti lopatky
rotate(a=[0,0,240])
translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,0])
cylinder (h = vyska_rotoru1+0.1, r=prumer_sroubu/2, center = true, $fn=100);
 
rotate(a=[0,0,240])
translate([hloubka_uchytu/2+(prumer_rotoru1/2-hloubka_uchytu),0,-(vyska_rotoru2)/2+vyska_matky/2])
cylinder (h = vyska_matky+0.1, r=prumer_orechu/2, center = true, $fn=100);
}
}
 
/Modules/Mechanical/WINDGAUGE01A/CAD/configuration/rotor3.scad
0,0 → 1,49
$fn=40; // model faces resolution.
//include <configuration.scad>
 
 
 
 
 
//dutinka pro upevneni rotoru
module rotor3 (sila_pod_loziskem,delka_hridele,lozisko_prumer_vnitrni,lozisko_prekryv)
{
difference()
{
 
 
//dotahovací kroužek
translate([0,0,0])
cylinder (h = sila_pod_loziskem+delka_hridele+2, r=(lozisko_prumer_vnitrni+2*lozisko_prekryv)/2, center = true, $fn=100);
cylinder (h = sila_pod_loziskem+delka_hridele+2+0.1, r=((lozisko_prumer_vnitrni+0.2)/2), center = true, $fn=100);
}
}
 
 
module rotor4 (vyska_pod_magnetem,magnet_zapusteni,magnet_prumer,vyska_hlavy_sroubu,prumer_hlavy_sroubu,prumer_sroubu)
{
difference()
{
 
 
//segment pro sroub a magnet
translate([0,0,0])
cylinder (h = vyska_pod_magnetem+magnet_zapusteni, r=(magnet_prumer+2)/2, center = true, $fn=100);
//otvor pro magnet
translate([0,0,vyska_pod_magnetem/2+0.1])
cylinder (h = magnet_zapusteni, r=((magnet_prumer+0.2)/2), center = true, $fn=100);
//zapusteni uchytného sroubu
translate([0,0,(vyska_pod_magnetem-vyska_hlavy_sroubu-1)/2+0.1])
cylinder (h = vyska_hlavy_sroubu+1, r=((prumer_hlavy_sroubu+0.2)/2), center = true, $fn=100);
 
//otvor pro sroub
cylinder (h = vyska_pod_magnetem+magnet_zapusteni+0.1, r=(prumer_sroubu)/2, center = true, $fn=100);
}
}
 
 
/Modules/Mechanical/WINDGAUGE01A/CAD/configuration/stator1.scad
0,0 → 1,45
$fn=40; // model faces resolution.
//include <configuration.scad>
 
 
module stator1(stator1_sila,lozisko_prumer_vnejsi,sirka_matky,lozisko_prumer_vnitrni,lozisko_prekryv,prumer_sroubu)
{
difference()
{
cylinder (h = stator1_sila, r=(lozisko_prumer_vnejsi+10+sirka_matky)/2, center = true, $fn=100);
 
//otvor pro hridel rotoru
translate([0,0,0])
cylinder (h = stator1_sila+0.1, r=(lozisko_prumer_vnitrni+2*lozisko_prekryv+2)/2, center = true, $fn=100);
//otvor pro sroub 1
translate([(lozisko_prumer_vnejsi+prumer_sroubu+5)/2,0,0])
cylinder (h = stator1_sila+0.1, r=prumer_sroubu/2, center = true, $fn=100);
 
//otvor pro sroub 2
rotate(a=[0,0,120])
translate([(lozisko_prumer_vnejsi+prumer_sroubu+5)/2,0,0])
 
cylinder (h = stator1_sila+0.1, r=prumer_sroubu/2, center = true, $fn=100);
//otvor pro sroub 3
rotate(a=[0,0,240])
translate([(lozisko_prumer_vnejsi+prumer_sroubu+5)/2,0,0])
 
cylinder (h = stator1_sila+0.1, r=prumer_sroubu/2, center = true, $fn=100);
 
 
 
}
}
 
 
 
 
 
 
/Modules/Mechanical/WINDGAUGE01A/CAD/configuration/stator2.scad
0,0 → 1,114
$fn=40; // model faces resolution.
//include <configuration.scad>
 
 
module stator2(lozisko_vyska,sila_pod_loziskem,prumer_rotoru1,sila_materialu,vule1,stator3_sila_steny,lozisko_prumer_vnejsi,lozisko_prumer_vnitrni,lozisko_prekryv,
prumer_sroubu,
lozisko_vyska,vzdalenost_der_x,vzdalenost_der_y,vyska_hlavy_sroubu,prumer_hlavy_sroubu,prumer_rotoru1,stator3_vzdalenost_od_steny)
 
 
{
difference()
{
cylinder (h = lozisko_vyska+sila_pod_loziskem, r=(prumer_rotoru1-2*sila_materialu-2*vule1-stator3_sila_steny)/2, center = true, $fn=100);
 
//otvor pro lozisko
translate([0,0,sila_pod_loziskem])
cylinder (h = lozisko_vyska+0.1, r=(lozisko_prumer_vnejsi+0.1)/2, center = true, $fn=100);
//otvor pro hridel rotoru
translate([0,0,0])
cylinder (h = lozisko_vyska+sila_pod_loziskem+0.1, r=(lozisko_prumer_vnitrni+2*lozisko_prekryv+2)/2, center = true, $fn=100);
//otvor pro sroub 1
translate([(lozisko_prumer_vnejsi+prumer_sroubu+5)/2,0,0])
cylinder (h = lozisko_vyska+sila_pod_loziskem+0.1, r=prumer_sroubu/2, center = true, $fn=100);
 
//otvor pro sroub 2
rotate(a=[0,0,120])
translate([(lozisko_prumer_vnejsi+prumer_sroubu+5)/2,0,0])
 
cylinder (h = lozisko_vyska+sila_pod_loziskem+0.1, r=prumer_sroubu/2, center = true, $fn=100);
//otvor pro sroub 3
rotate(a=[0,0,240])
translate([(lozisko_prumer_vnejsi+prumer_sroubu+5)/2,0,0])
 
cylinder (h = lozisko_vyska+sila_pod_loziskem+0.1, r=prumer_sroubu/2, center = true, $fn=100);
//otvory pro uchyceni senzoru
//otvor pro sroub 1
translate([(vzdalenost_der_x/2),-vzdalenost_der_y/2,0])
 
cylinder (h = lozisko_vyska+sila_pod_loziskem+0.1, r=prumer_sroubu/2, center = true, $fn=100);
 
translate([(vzdalenost_der_x/2),-vzdalenost_der_y/2,(lozisko_vyska+sila_pod_loziskem-vyska_hlavy_sroubu)/2])
 
cylinder (h = vyska_hlavy_sroubu+0.1, r=prumer_hlavy_sroubu/2, center = true, $fn=100);
 
 
 
//otvor pro sroub 2
rotate(a=[0,0,0])
translate([(-vzdalenost_der_x/2),-vzdalenost_der_y/2,0])
 
cylinder (h = lozisko_vyska+sila_pod_loziskem+0.1, r=prumer_sroubu/2, center = true, $fn=100);
 
translate([(-vzdalenost_der_x/2),-vzdalenost_der_y/2,(lozisko_vyska+sila_pod_loziskem-vyska_hlavy_sroubu)/2])
 
cylinder (h = vyska_hlavy_sroubu+0.1, r=prumer_hlavy_sroubu/2, center = true, $fn=100);
 
 
 
 
//otvor pro sroub 1
rotate(a=[0,0,0])
translate([(vzdalenost_der_x/2),vzdalenost_der_y/2,0])
 
cylinder (h = lozisko_vyska+sila_pod_loziskem+0.1, r=prumer_sroubu/2, center = true, $fn=100);
 
translate([(vzdalenost_der_x/2),vzdalenost_der_y/2,(lozisko_vyska+sila_pod_loziskem-vyska_hlavy_sroubu)/2])
 
cylinder (h = vyska_hlavy_sroubu+0.1, r=prumer_hlavy_sroubu/2, center = true, $fn=100);
 
 
//otvor pro sroub 1
rotate(a=[0,0,0])
translate([(-vzdalenost_der_x/2),vzdalenost_der_y/2,0])
 
cylinder (h = lozisko_vyska+sila_pod_loziskem+0.1, r=prumer_sroubu/2, center = true, $fn=100);
 
translate([(-vzdalenost_der_x/2),vzdalenost_der_y/2,(lozisko_vyska+sila_pod_loziskem-vyska_hlavy_sroubu)/2])
 
cylinder (h = vyska_hlavy_sroubu+0.1, r=prumer_hlavy_sroubu/2, center = true, $fn=100);
 
 
 
 
 
 
//otvory pro uchyceni stator 3
//otvor pro sroub 1
translate([0,(prumer_rotoru1-2*sila_materialu-2*vule1-2*stator3_sila_steny-prumer_hlavy_sroubu-2*stator3_vzdalenost_od_steny)/2,0])
cylinder (h = lozisko_vyska+sila_pod_loziskem+0.1, r=prumer_sroubu/2, center = true, $fn=100);
 
translate([0,(prumer_rotoru1-2*sila_materialu-2*vule1-2*stator3_sila_steny-prumer_hlavy_sroubu-2*stator3_vzdalenost_od_steny)/2,2])
cylinder (h = lozisko_vyska+sila_pod_loziskem+0.1, r=prumer_hlavy_sroubu/2, center = true, $fn=100);
 
//otvor pro sroub 2
translate([0,-(prumer_rotoru1-2*sila_materialu-2*vule1-2*stator3_sila_steny-prumer_hlavy_sroubu-2*stator3_vzdalenost_od_steny)/2,0])
cylinder (h = lozisko_vyska+sila_pod_loziskem+0.1, r=prumer_sroubu/2, center = true, $fn=100);
 
translate([0,-(prumer_rotoru1-2*sila_materialu-2*vule1-2*stator3_sila_steny-prumer_hlavy_sroubu-2*stator3_vzdalenost_od_steny)/2,2])
cylinder (h = lozisko_vyska+sila_pod_loziskem+0.1, r=prumer_hlavy_sroubu/2, center = true, $fn=100);
 
 
}
 
}
 
 
 
 
/Modules/Mechanical/WINDGAUGE01A/CAD/configuration/stator3.scad
0,0 → 1,96
$fn=40; // model faces resolution.
//include <configuration.scad>
 
 
module 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)
{
difference()
{
cylinder (h = stator3_vyska, r=(prumer_rotoru1)/2, center = true, $fn=100);
translate([0,0,(stator3_vyska-lozisko_vyska-sila_pod_loziskem)/2])
cylinder (h = lozisko_vyska+sila_pod_loziskem+0.1, r=(prumer_rotoru1-2*sila_materialu-2*vule1-stator3_sila_steny)/2, center = true, $fn=100);
 
cylinder (h = stator3_vyska+0.1, r=(prumer_rotoru1-2*sila_materialu-2*vule1-2*stator3_sila_steny)/2, center = true, $fn=100);
translate([0,0,(stator3_vyska-stator3_vyska_prekryti)/2])
difference()
{
cylinder (h = stator3_vyska_prekryti+0.1, r=(prumer_rotoru1+0.1)/2, center = true, $fn=100);
cylinder (h = stator3_vyska_prekryti+0.1, r=(prumer_rotoru1-2*sila_materialu-2*vule1)/2, center = true, $fn=100);
}
 
 
 
 
 
 
//otvory pro uchyceni stator 3
//otvor pro sroub 1
translate([0,(prumer_rotoru1-2*sila_materialu-2*vule1-2*stator3_sila_steny-prumer_hlavy_sroubu-2*stator3_vzdalenost_od_steny)/2,0])
cylinder (h = lozisko_vyska+sila_pod_loziskem+0.1, r=prumer_sroubu/2, center = true, $fn=100);
 
translate([0,(prumer_rotoru1-2*sila_materialu-2*vule1-2*stator3_sila_steny-prumer_hlavy_sroubu-2*stator3_vzdalenost_od_steny)/2,2])
cylinder (h = lozisko_vyska+sila_pod_loziskem+0.1, r=prumer_hlavy_sroubu/2, center = true, $fn=100);
 
//otvor pro sroub 2
translate([0,-(prumer_rotoru1-2*sila_materialu-2*vule1-2*stator3_sila_steny-prumer_hlavy_sroubu-2*stator3_vzdalenost_od_steny)/2,0])
cylinder (h = lozisko_vyska+sila_pod_loziskem+0.1, r=prumer_sroubu/2, center = true, $fn=100);
 
translate([0,-(prumer_rotoru1-2*sila_materialu-2*vule1-2*stator3_sila_steny-prumer_hlavy_sroubu-2*stator3_vzdalenost_od_steny)/2,2])
cylinder (h = lozisko_vyska+sila_pod_loziskem+0.1, r=prumer_hlavy_sroubu/2, center = true, $fn=100);
 
 
}
 
 
//dno stator3
 
translate([0,0,-(stator3_vyska-stator3_sila_steny)/2])
 
difference()
{
cylinder (h = stator3_sila_steny, r=(prumer_rotoru1)/2, center = true, $fn=100);
//otvory pro uchyceni stator 3
//otvor pro sroub 1
translate([0,(prumer_rotoru1-2*sila_materialu-2*vule1-2*stator3_sila_steny-prumer_hlavy_sroubu-2*stator3_vzdalenost_od_steny)/2,0])
cylinder (h = stator3_sila_steny+0.1, r=prumer_sroubu/2, center = true, $fn=100);
 
 
//otvor pro sroub 2
translate([0,-(prumer_rotoru1-2*sila_materialu-2*vule1-2*stator3_sila_steny-prumer_hlavy_sroubu-2*stator3_vzdalenost_od_steny)/2,0])
cylinder (h = stator3_sila_steny+0.1, r=prumer_sroubu/2, center = true, $fn=100);
//srouby pro uchycení anemometru
translate([roztec_sroubu/2,roztec_sroubu/2,0])
cylinder (h = stator3_sila_steny+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100);
translate([-roztec_sroubu/2,roztec_sroubu/2,0])
cylinder (h = stator3_sila_steny+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100);
 
translate([roztec_sroubu/2,-roztec_sroubu/2,0])
cylinder (h = stator3_sila_steny+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100);
translate([-roztec_sroubu/2,-roztec_sroubu/2,0])
cylinder (h = stator3_sila_steny+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100);
}
}
/Modules/Mechanical/WINDGAUGE01A/CAD/configuration.scad
0,0 → 1,93
$fn=40; // model faces resolution.
 
prumer_rotoru1=60;
vyska_rotoru1=5;
vyska_rotoru2=5;
prumer_sroubu=3.2;
prumer_hlavy_sroubu=6;
vyska_hlavy_sroubu=4;
vyska_matky=3;
sirka_matky=6.6;
sirka_matky_tol=0.175;
prumer_orechu=10;
sila_materialu=2;
sila_materialu_vule=0.2;
hloubka_prekryti=2;
 
//lozisko
lozisko_prumer_vnitrni=5;
lozisko_prumer_vnejsi=16;
lozisko_vyska=5;
lozisko_prekryv=1.5;
 
//stator1
stator1_sila=2;
 
//stator2
sila_pod_loziskem=1;
 
//stator3
stator3_sila_steny=2;
stator3_vzdalenost_od_steny=1; //definuje vzdalenost hlavy sroubu od steny statrou 4
stator3_vyska=60;
stator3_vyska_prekryti=5;
 
//uchyt pro anemometr
uchyt_prumer_sroubu=3.2;
roztec_sroubu=10.16;
 
 
//nastevní rotoru2
 
vzdalenost_rot_stat=2; //vzdálenost mezi statorem a rotorem uvnitř(osa Z)
vzdalenost_rot_stat2=1.5;//vzdálenost mezi statorem a rotorem (osa Z)
 
 
 
 
//nastevní rotoru2
vyska_kryti=5;
 
//lopatka
hloubka_uchytu=20;
sila_uchytu=12;
vyska_uchytu=10;
tolerance_uchytu=0.1;
 
//parametry uchytu senzoru
roztec_der=10.16;
vzdalenost_der_x=2*roztec_der;
vzdalenost_der_y=1*roztec_der;
 
//magnet
magnet_prumer=8;
magnet_vyska=6;
magnet_zapusteni=2;
vyska_pod_magnetem=5;
 
//rotor2
delka_hridele=5; //delka hridele koukající ve statoru
 
//rotor2
vyska_kryti=stator1_sila+vyska_matky+vzdalenost_rot_stat+stator3_vyska_prekryti-vzdalenost_rot_stat2; //udává výšku krycího prstence
 
 
vule1=1.5; //vůle mezi statorem a rotorem ze vnitř (z boku)
 
 
 
//parametry uchytu senzoru
roztec_der=10.16;
vzdalenost_der_x=2*roztec_der;
vzdalenost_der_y=1*roztec_der;
 
 
//stator3
stator3_sila_steny=2;
stator3_vzdalenost_od_steny=1; //definuje vzdalenost hlavy sroubu od steny statrou 4
stator3_vyska=60;
stator3_vyska_prekryti=5;
 
//uchyt pro anemometr
uchyt_prumer_sroubu=3.2;
roztec_sroubu=10.16;
/Modules/Mechanical/WINDGAUGE01A/CAD/print_data/WINDGAUGE01A_rotor1.scad
0,0 → 1,17
use <../configuration/rotor1.scad>
 
 
include <../configuration.scad>
 
 
 
barva_rotor1 = "cyan";
 
 
 
color(barva_rotor1)
translate([0,0,(vyska_rotoru1-hloubka_prekryti)/2+hloubka_prekryti])
rotate(a = [180, 0, 0])
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);
 
 
/Modules/Mechanical/WINDGAUGE01A/CAD/print_data/WINDGAUGE01A_rotor2.scad
0,0 → 1,20
 
use <../configuration/rotor2.scad>
 
 
include <../configuration.scad>
 
 
 
barva_rotor2 = "red";
 
 
 
 
 
 
 
color(barva_rotor2)
translate([0,0,vyska_rotoru2/2])
rotate(a = [180, 0, 0])
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);
/Modules/Mechanical/WINDGAUGE01A/CAD/print_data/WINDGAUGE01A_rotor3.scad
0,0 → 1,17
 
use <../configuration/rotor3.scad>
 
 
include <../configuration.scad>
 
 
 
barva_rotor3 = "green";
 
 
color(barva_rotor3)
translate([0,0,(sila_pod_loziskem+delka_hridele+2)/2])
 
 
rotor3 (sila_pod_loziskem,delka_hridele,lozisko_prumer_vnitrni,lozisko_prekryv);
 
/Modules/Mechanical/WINDGAUGE01A/CAD/print_data/WINDGAUGE01A_rotor4.scad
0,0 → 1,18
 
use <../configuration/rotor3.scad>
 
include <../configuration.scad>
 
barva_rotor4 = "yellow";
 
 
 
 
 
color(barva_rotor4)
translate([0,0,(vyska_pod_magnetem+magnet_zapusteni)/2])
rotate(a = [0, 0, 0])
rotor4 (vyska_pod_magnetem,magnet_zapusteni,magnet_prumer,vyska_hlavy_sroubu,prumer_hlavy_sroubu,prumer_sroubu);
 
 
 
/Modules/Mechanical/WINDGAUGE01A/CAD/print_data/WINDGAUGE01A_stator1.scad
0,0 → 1,15
 
use <../configuration/stator1.scad>
 
 
include <../configuration.scad>
 
 
 
color("cyan")
translate([0,0,stator1_sila/2])
 
stator1(stator1_sila,lozisko_prumer_vnejsi,sirka_matky,lozisko_prumer_vnitrni,lozisko_prekryv,prumer_sroubu);
 
 
 
/Modules/Mechanical/WINDGAUGE01A/CAD/print_data/WINDGAUGE01A_stator2.scad
0,0 → 1,21
 
use <../configuration/stator2.scad>
 
 
include <../configuration.scad>
 
 
 
 
color("cyan")
 
 
 
//stator2
color(barva_rotor3)
translate([0,0,(lozisko_vyska+sila_pod_loziskem)/2])
 
stator2(lozisko_vyska,sila_pod_loziskem,prumer_rotoru1,sila_materialu,vule1,stator3_sila_steny,lozisko_prumer_vnejsi,lozisko_prumer_vnitrni,lozisko_prekryv,
prumer_sroubu,
lozisko_vyska,vzdalenost_der_x,vzdalenost_der_y,vyska_hlavy_sroubu,prumer_hlavy_sroubu,prumer_rotoru1,stator3_vzdalenost_od_steny);
 
/Modules/Mechanical/WINDGAUGE01A/CAD/print_data/WINDGAUGE01A_stator3.scad
0,0 → 1,19
 
use <../configuration/stator3.scad>
 
 
include <../configuration.scad>
 
 
 
 
 
 
 
 
color("yellow")
 
 
translate([0,0,stator3_vyska/2])
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);