/Modules/Mechanical/WINDGAUGE01A/CAD/assembly.scad
10,101 → 10,111
 
include <configuration.scad>
 
 
 
barva_krytu = "yellow";
barva_rotor1 = "cyan";
barva_rotor2 = "red";
barva_rotor2 = "green";
barva_rotor3 = "green";
barva_rotor4 = "yellow";
barva_stator1 = "cyan";
barva_stator2 = "red";
barva_stator3 = "green";
barva_stator4 = "yellow";
barva_lopatky = "yellow";
 
 
posunuti_dilu=10; //posunuti dilu od sebe
 
//KRYT ROTORU
//-------------------------------------------------------------
//-------------------------------------------------------------
color(barva_krytu)
translate([0,0,posunuti_dilu*4+(vyska_rotoru1-hloubka_prekryti)/2+vyska_uchytu+tolerance_uchytu+vyska_rotoru2])
kryt_rotoru(prumer_rotoru1,sila_materialu,vyska_rotoru1);
 
translate([0,0,posunuti_dilu*4+(vyska_rotoru1-hloubka_prekryti)/2+vyska_uchytu+tolerance_uchytu+vyska_rotoru2])
kryt_rotoru(prumer_rotoru1,sila_materialu,prumer_sroubu,vyska_rotoru1);
 
 
 
//ROTOR1
//-------------------------------------------------------------
//-------------------------------------------------------------
color(barva_rotor1)
translate([0,0,posunuti_dilu*3+(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);
 
translate([0,0,posunuti_dilu*3+(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);
 
 
//ROTOR2
//-------------------------------------------------------------
//-------------------------------------------------------------
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);
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);
 
 
//ROTOR3
//-------------------------------------------------------------
//-------------------------------------------------------------
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)])
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);
 
 
rotor3 (sila_pod_loziskem,delka_hridele,lozisko_prumer_vnitrni,lozisko_prekryv);
 
//ROTOR4
//-------------------------------------------------------------
//-------------------------------------------------------------
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);
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)
//STATOR1
//-------------------------------------------------------------
//-------------------------------------------------------------
color(barva_stator1)
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,
//STATOR2
//-------------------------------------------------------------
//-------------------------------------------------------------
color(barva_stator2)
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
//-------------------------------------------------------------
//-------------------------------------------------------------
color(barva_stator3)
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,vyska_stator4,kabel_prumer);
stator3_vyska_prekryti,prumer_hlavy_sroubu,stator3_vzdalenost_od_steny,lozisko_vyska,prumer_sroubu,roztec_sroubu,uchyt_prumer_sroubu,vyska_stator4,kabel_prumer);
 
//stator4
 
translate([0,0,-posunuti_dilu*7-(vyska_rotoru2/2+vyska_matky+vzdalenost_rot_stat+stator1_sila+stator3_vyska+vyska_stator4/2)])
rotate(a = [180, 0, 0])
stator4 (roztec_sroubu,uchyt_prumer_sroubu,vyska_stator4,sila_materialu,uchyt_vyska_matky,uchyt_prumer_orechu,kabel_prumer);
//STATOR4
//-------------------------------------------------------------
//-------------------------------------------------------------
color(barva_stator4)
translate([0,0,-posunuti_dilu*7-(vyska_rotoru2/2+vyska_matky+vzdalenost_rot_stat+stator1_sila+stator3_vyska+vyska_stator4/2)])
rotate(a = [180, 0, 0])
stator4 (roztec_sroubu,uchyt_prumer_sroubu,vyska_stator4,sila_materialu,uchyt_vyska_matky,uchyt_prumer_orechu,kabel_prumer);
 
 
//lopatky
//LOPATKY
//-------------------------------------------------------------
//-------------------------------------------------------------
 
//lopatka 1
rotate(a = [0, 0, 90])
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])
//LOPATKA1
color(barva_lopatky)
rotate(a = [0, 0, 90])
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])
lopatka(hloubka_uchytu,sila_uchytu,vyska_uchytu,tolerance_uchytu,prumer_lopatky,sila_materialu_lopatky,delka_uchytu_lopatky,hrana_uchytu_lopatky,prumer_rotoru1,prumer_sroubu);
 
lopatka(hloubka_uchytu,sila_uchytu,vyska_uchytu,tolerance_uchytu,prumer_lopatky,sila_materialu_lopatky,delka_uchytu_lopatky,hrana_uchytu_lopatky,prumer_rotoru1,prumer_sroubu);
//LOPATKA2
color(barva_lopatky)
rotate(a = [0, 0, 210])
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])
lopatka(hloubka_uchytu,sila_uchytu,vyska_uchytu,tolerance_uchytu,prumer_lopatky,sila_materialu_lopatky,delka_uchytu_lopatky,hrana_uchytu_lopatky,prumer_rotoru1,prumer_sroubu);
 
//lopatka 2
rotate(a = [0, 0, 210])
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])
//LOPATKA2
color(barva_lopatky)
rotate(a = [0, 0, 330])
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])
lopatka(hloubka_uchytu,sila_uchytu,vyska_uchytu,tolerance_uchytu,prumer_lopatky,sila_materialu_lopatky,delka_uchytu_lopatky,hrana_uchytu_lopatky,prumer_rotoru1,prumer_sroubu);
 
lopatka(hloubka_uchytu,sila_uchytu,vyska_uchytu,tolerance_uchytu,prumer_lopatky,sila_materialu_lopatky,delka_uchytu_lopatky,hrana_uchytu_lopatky,prumer_rotoru1,prumer_sroubu);
 
//lopatka 3
rotate(a = [0, 0, 330])
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])
 
lopatka(hloubka_uchytu,sila_uchytu,vyska_uchytu,tolerance_uchytu,prumer_lopatky,sila_materialu_lopatky,delka_uchytu_lopatky,hrana_uchytu_lopatky,prumer_rotoru1,prumer_sroubu);
 
 
 
 
 
//SLOUPKY
//------------------------------------------------------------
//sloupek 1
/Modules/Mechanical/WINDGAUGE01A/CAD/configuration/kryt_rotoru.scad
1,9 → 1,17
$fn=40; // model faces resolution.
include <../configuration.scad>
//include <../configuration.scad>
 
kryt_rotoru(prumer_rotoru1,sila_materialu,prumer_sroubu,vyska_rotoru1);
//kryt_rotoru(prumer_rotoru1,sila_materialu,prumer_sroubu,vyska_rotoru1);
 
module kryt_rotoru(prumer_rotoru1,sila_materialu,prumer_sroubu,vyska_rotoru1)
/*
prumer_rotoru1 - urcuje vnitrni prumer krytu
sila_materialu - urcuje tloustku materialu krytu
prumer
vyska_rotoru1 - urcuje vysku, kterou prekryva kryt rotor 1
 
*/
 
module kryt_rotoru(prumer_rotoru1,sila_materialu,vyska_rotoru1)
{
//kopule
10,16 → 18,19
difference()
{
sphere(d = prumer_rotoru1+2*sila_materialu, $fn=100);
sphere(d = prumer_rotoru1+0.1, $fn=100);
translate([0,0,-(prumer_rotoru1+2*sila_materialu)/2])
cube(size = [prumer_rotoru1+2*sila_materialu, prumer_rotoru1+2*sila_materialu, prumer_rotoru1+2*sila_materialu], center = true);
}
}
//válcová část krytu
difference()
{
difference()
{
//zakladni valec
translate([0,0,-vyska_rotoru1/2])
cylinder (h = vyska_rotoru1, r=(prumer_rotoru1+2*sila_materialu)/2, center = true, $fn=100);
27,9 → 38,8
//válec pro vykrojení
translate([0,0,-vyska_rotoru1/2])
cylinder (h = vyska_rotoru1+0.05, r=(prumer_rotoru1+0.1)/2, center = true, $fn=100);
}
}
}
 
 
/Modules/Mechanical/WINDGAUGE01A/CAD/configuration/lopatky.scad
1,9 → 1,28
$fn=40; // model faces resolution.
//include <../configuration.scad>
//lopatka(hloubka_uchytu,sila_uchytu,vyska_uchytu,tolerance_uchytu,prumer_lopatky,sila_materialu_lopatky,delka_uchytu_lopatky,hrana_uchytu_lopatky,prumer_rotoru1,prumer_sroubu);
 
 
 
/*
hloubka_uchytu - fefinuje delku zapusteni uchytu lopatky do rotorové casti
sila_uchytu - sirka drzaku lopatky zapustene do rotoru
vyska_uchytu - definuje vysku drzaku lopatky zapustene do rotoru
tolerance_uchytu - mezera pro snadnějsi zasunuti do rotoru
 
prumer_lopatky - prumer lopatky vnejsi
sila_materialu_lopatky
delka_uchytu_lopaty - delky tycky mezi uchytem do rotoru a lopatkou
hrana_uchytu_lopatky - hrana ctvercoveho profilu tycky mezi uchytem do rotoru a lopatkou
 
prumer_rotoru1 -
prumer_sroubu - odava prumer sroubu pro uchyceni lopatky
 
 
*/
 
 
 
module lopatka(hloubka_uchytu,sila_uchytu,vyska_uchytu,tolerance_uchytu,prumer_lopatky,sila_materialu_lopatky,delka_uchytu_lopatky,hrana_uchytu_lopatky,prumer_rotoru1,prumer_sroubu)
{
10,75 → 29,68
union()
{
//prechod lopatka drzak
difference()
//prechod lopatka drzak
difference()
{
translate([-hrana_uchytu_lopatky/2,prumer_lopatky/4,0])
cube([hrana_uchytu_lopatky,(prumer_lopatky/2)+5,hrana_uchytu_lopatky],center=true);
sphere(d = prumer_lopatky, $fn=100);
cube([hrana_uchytu_lopatky,(prumer_lopatky/2)+5,hrana_uchytu_lopatky],center=true);
sphere(d = prumer_lopatky, $fn=100);
}
difference()
difference()
{
//lopatka
sphere(d = prumer_lopatky, $fn=100);
//lopatka
sphere(d = prumer_lopatky, $fn=100);
sphere(d = prumer_lopatky-2*sila_materialu_lopatky, $fn=100);
sphere(d = prumer_lopatky-2*sila_materialu_lopatky, $fn=100);
translate([0,-prumer_lopatky/2,-prumer_lopatky/2])
cube(size = prumer_lopatky);
translate([0,-prumer_lopatky/2,-prumer_lopatky/2])
cube(size = prumer_lopatky);
}
//uchyt_lopatky - tycka
//uchyt_lopatky - tycka
translate([-hrana_uchytu_lopatky/2,prumer_lopatky/2+delka_uchytu_lopatky/2,0])
cube([hrana_uchytu_lopatky,delka_uchytu_lopatky,hrana_uchytu_lopatky],center=true);
cube([hrana_uchytu_lopatky,delka_uchytu_lopatky,hrana_uchytu_lopatky],center=true);
//uchyt lopatky cast v rotoru
translate([-sila_uchytu/2,prumer_lopatky/2+delka_uchytu_lopatky+hloubka_uchytu/2,0])
difference()
{
cube([sila_uchytu,hloubka_uchytu,vyska_uchytu],center=true);
difference()
{
cube([sila_uchytu,hloubka_uchytu,vyska_uchytu],center=true);
//otvor pro sroub
translate([0,0,0])
cylinder(h=vyska_uchytu+1, r=prumer_sroubu/2, center=true, $fn=100);
//otvor pro sroub
translate([0,0,0])
cylinder(h=vyska_uchytu+1, r=prumer_sroubu/2, center=true, $fn=100);
//zaobleni
translate([0,+prumer_rotoru1/2-hloubka_uchytu/2,0])
difference()
{
cylinder(h=vyska_uchytu+1, r=prumer_rotoru1/2+2, center=true, $fn=100);
//zaobleni
translate([0,+prumer_rotoru1/2-hloubka_uchytu/2,0])
difference()
{
cylinder(h=vyska_uchytu+1, r=prumer_rotoru1/2+2, center=true, $fn=100);
cylinder(h=vyska_uchytu+2, r=prumer_rotoru1/2, center=true, $fn=100);
cylinder(h=vyska_uchytu+2, r=prumer_rotoru1/2, center=true, $fn=100);
}
}
}
}
//vyrovnávací úsek mezi úchytem v rotoru a úchytem loplatky (tyčkou)
translate([0,prumer_lopatky/2+delka_uchytu_lopatky+5/2,0])
translate([0,prumer_lopatky/2+delka_uchytu_lopatky+5/2,0])
difference()
{
difference()
{
translate([-hrana_uchytu_lopatky/2,0,0])
cube([hrana_uchytu_lopatky,10,hrana_uchytu_lopatky],center=true);
cube([hrana_uchytu_lopatky,10,hrana_uchytu_lopatky],center=true);
translate([-sila_uchytu,+prumer_rotoru1/2-5/2,0])
cylinder(h=vyska_uchytu+1, r=prumer_rotoru1/2, center=true, $fn=100);
}
translate([-sila_uchytu,+prumer_rotoru1/2-5/2,0])
cylinder(h=vyska_uchytu+1, r=prumer_rotoru1/2, center=true, $fn=100);
}
}
}
}
}
/Modules/Mechanical/WINDGAUGE01A/CAD/configuration/rotor1.scad
1,8 → 1,25
$fn=40; // model faces resolution.
//include <../configuration.scad>
 
/*
prumer_rotoru1 - vnejsi prumer
vyska_rotoru1 - vyska rotoru1 bez vysky uchytu lopatky
prumer_sroubu-
vyska_matky -
prumer_orechu - vnejsi prumer nástroje pro dotahovani matky
sila_materialu - pro pripad vyvoreni zapusti pro kryt rotoru
sila_materialu_vule
hloubka_prekryti - hloubka zapusteni krytu rotoru
hloubka_uchytu - definovano lopatkou
sila_uchytu - definovano lopatkou
vyska_uchytu - definovano lopatkou
tolerance_uchytu - definovano lopatkou
 
*/
 
//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);
 
 
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()
16,10 → 33,10
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
//otvory pro lopatky
translate([0,0,-(vyska_rotoru1-hloubka_prekryti)/2-(vyska_uchytu+tolerance_uchytu)/2])
//otvory pro lopatky
//otvory pro lopatky
difference ()
{
cylinder (h = vyska_uchytu+tolerance_uchytu, r=(prumer_rotoru1/2), center = true, $fn=100);
70,7 → 87,7
//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);
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])
/Modules/Mechanical/WINDGAUGE01A/CAD/configuration/rotor2.scad
1,35 → 1,29
$fn=40; // model faces resolution.
//include <../configuration.scad>
 
//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);
 
 
 
 
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 ()
{
{
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])
//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);
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);
cylinder (h = vyska_kryti+0.1, r=(prumer_rotoru1/2-sila_materialu), center = true, $fn=100);
}
36,23 → 30,23
//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);
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);
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);
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);
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);
 
59,29 → 53,29
//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,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);
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,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);
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,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);
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
7,43 → 7,39
 
//dutinka pro upevneni rotoru
module rotor3 (sila_pod_loziskem,delka_hridele,lozisko_prumer_vnitrni,lozisko_prekryv)
{
difference()
{
{
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);
//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);
}
}
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);
{
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);
//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);
//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);
}
}
//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
4,43 → 4,36
 
 
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);
{
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 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 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 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])
//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);
}
}
 
cylinder (h = stator1_sila+0.1, r=prumer_sroubu/2, center = true, $fn=100);
 
 
 
}
}
 
 
 
 
 
 
/Modules/Mechanical/WINDGAUGE01A/CAD/configuration/stator2.scad
4,110 → 4,89
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-0.5)/2, center = true, $fn=100);
{
difference()
{
cylinder (h = lozisko_vyska+sila_pod_loziskem, r=(prumer_rotoru1-2*sila_materialu-2*vule1-stator3_sila_steny-0.5)/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 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 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 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 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);
//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
//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);
 
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);
 
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])
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);
 
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);
 
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
//otvor pro sroub 3
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);
 
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);
 
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 4
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,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);
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,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);
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
3,96 → 3,76
 
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,vyska_stator4,kabel_prumer)
{
difference()
{
cylinder (h = stator3_vyska, r=(prumer_rotoru1)/2, center = true, $fn=100);
{
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);
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-1)/2, center = true, $fn=100);
cylinder (h = stator3_vyska+0.1, r=(prumer_rotoru1-2*sila_materialu-2*vule1-2*stator3_sila_steny-1)/2, center = true, $fn=100);
translate([0,0,(stator3_vyska-stator3_vyska_prekryti)/2])
difference()
{
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);
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);
}
 
 
 
//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);
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);
//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);
//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);
//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);
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);
//dira na kabel
cylinder (h = vyska_stator4+0.1, r=(kabel_prumer/2+0.1), center = true, $fn=100);
}
}
cylinder (h = vyska_stator4+0.1, r=(kabel_prumer/2+0.1), center = true, $fn=100);
}
}
/Modules/Mechanical/WINDGAUGE01A/CAD/configuration/stator4.scad
6,45 → 6,45
//stator4 (roztec_sroubu,uchyt_prumer_sroubu,vyska_stator4,sila_materialu,uchyt_vyska_matky,uchyt_prumer_orechu,kabel_prumer);
 
module stator4 (roztec_sroubu,uchyt_prumer_sroubu,vyska_stator4,sila_materialu,uchyt_vyska_matky,uchyt_prumer_orechu,kabel_prumer)
{
difference()
{
{
difference()
{
//translate([90,0,0])
cube(size = [roztec_sroubu+uchyt_prumer_orechu+2*sila_materialu,roztec_sroubu+uchyt_prumer_orechu+2*sila_materialu, vyska_stator4], center = true);
cube(size = [roztec_sroubu+uchyt_prumer_orechu+2*sila_materialu,roztec_sroubu+uchyt_prumer_orechu+2*sila_materialu, vyska_stator4], center = true);
//díry pro uchycení anemometru
translate([roztec_sroubu/2,roztec_sroubu/2,0])
cylinder (h = vyska_stator4+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100);
//díry pro uchycení anemometru
translate([roztec_sroubu/2,roztec_sroubu/2,0])
cylinder (h = vyska_stator4+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100);
translate([-roztec_sroubu/2,roztec_sroubu/2,0])
cylinder (h = vyska_stator4+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100);
translate([-roztec_sroubu/2,roztec_sroubu/2,0])
cylinder (h = vyska_stator4+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100);
 
translate([roztec_sroubu/2,-roztec_sroubu/2,0])
cylinder (h = vyska_stator4+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100);
translate([roztec_sroubu/2,-roztec_sroubu/2,0])
cylinder (h = vyska_stator4+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100);
translate([-roztec_sroubu/2,-roztec_sroubu/2,0])
cylinder (h = vyska_stator4+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100);
translate([-roztec_sroubu/2,-roztec_sroubu/2,0])
cylinder (h = vyska_stator4+0.1, r=uchyt_prumer_sroubu/2, center = true, $fn=100);
//dira na kabel
cylinder (h = vyska_stator4+0.1, r=(kabel_prumer/2+0.1), center = true, $fn=100);
cylinder (h = vyska_stator4+0.1, r=(kabel_prumer/2+0.1), center = true, $fn=100);
//díry pro matky
translate([roztec_sroubu/2,roztec_sroubu/2,vyska_stator4/2-uchyt_vyska_matky/2])
cylinder (h = uchyt_vyska_matky+0.1, r=uchyt_prumer_orechu/2, center = true, $fn=100);
translate([roztec_sroubu/2,roztec_sroubu/2,vyska_stator4/2-uchyt_vyska_matky/2])
cylinder (h = uchyt_vyska_matky+0.1, r=uchyt_prumer_orechu/2, center = true, $fn=100);
translate([-roztec_sroubu/2,roztec_sroubu/2,vyska_stator4/2-uchyt_vyska_matky/2])
cylinder (h = uchyt_vyska_matky+0.1, r=uchyt_prumer_orechu/2, center = true, $fn=100);
translate([-roztec_sroubu/2,roztec_sroubu/2,vyska_stator4/2-uchyt_vyska_matky/2])
cylinder (h = uchyt_vyska_matky+0.1, r=uchyt_prumer_orechu/2, center = true, $fn=100);
 
translate([roztec_sroubu/2,-roztec_sroubu/2,vyska_stator4/2-uchyt_vyska_matky/2])
cylinder (h = uchyt_vyska_matky+0.1, r=uchyt_prumer_orechu/2, center = true, $fn=100);
translate([roztec_sroubu/2,-roztec_sroubu/2,vyska_stator4/2-uchyt_vyska_matky/2])
cylinder (h = uchyt_vyska_matky+0.1, r=uchyt_prumer_orechu/2, center = true, $fn=100);
translate([-roztec_sroubu/2,-roztec_sroubu/2,vyska_stator4/2-uchyt_vyska_matky/2])
cylinder (h = uchyt_vyska_matky+0.1, r=uchyt_prumer_orechu/2, center = true, $fn=100);
}
translate([-roztec_sroubu/2,-roztec_sroubu/2,vyska_stator4/2-uchyt_vyska_matky/2])
cylinder (h = uchyt_vyska_matky+0.1, r=uchyt_prumer_orechu/2, center = true, $fn=100);
}
}
}
 
/Modules/Mechanical/WINDGAUGE01A/CAD/configuration.scad
1,5 → 1,8
$fn=40; // model faces resolution.
 
//OBECNE PARAMETRY
//----------------------------------------------------------------
//----------------------------------------------------------------
prumer_rotoru1=70;
vyska_rotoru1=5;
vyska_rotoru2=5;
78,14 → 81,7
 
 
 
//parametry uchytu senzoru
roztec_der=10.16;
vzdalenost_der_x=2*roztec_der;
vzdalenost_der_y=1*roztec_der;
 
 
 
 
//uchyt pro anemometr
uchyt_prumer_sroubu=3.2;
roztec_sroubu=20;
/Modules/Mechanical/WINDGAUGE01A/CAD/print_data/WINDGAUGE01A_kryt_rotoru.scad
4,15 → 4,8
 
include <../configuration.scad>
 
 
 
 
 
 
 
 
color("yellow")
 
 
translate([0,0,vyska_rotoru1])
kryt_rotoru(prumer_rotoru1,sila_materialu,prumer_sroubu,vyska_rotoru1);
kryt_rotoru(prumer_rotoru1,sila_materialu,vyska_rotoru1);