/Modules/Mechanical/WINDGAUGE02A/CAD/SRC/WINDGAUGE02A_L01.scad
1,12 → 1,138
$fn=40; // model faces resolution.
include <../configuration.scad>
 
include <polyScrewThread_r1.scad>
PI=3.141592;
WINDGAUGE02A_L01();
 
//Model lopatky
module WINDGAUGE02A_L01()
{
difference()
{
union()
{
//koule vrchní
translate([0,0,R01_vyska_preryti_statoru])
sphere(d = (S01_prumer_vnitrni/2+3*S01_sila_materialu)*2, $fn=100);
//spodní válec
cylinder (h = R01_vyska_preryti_statoru, r=S01_prumer_vnitrni/2+3*S01_sila_materialu, $fn=100);
//lopatka 1
translate([-L01_hrana_drzaku_a/2,-(S01_prumer_vnitrni/2+2*S01_sila_materialu+L01_delka_uchytu+L01_prumer_lopatky/2),0])
lopatka();
//lopatka 2
rotate([0, 0, 120])
translate([-L01_hrana_drzaku_a/2,-(S01_prumer_vnitrni/2+2*S01_sila_materialu+L01_delka_uchytu+L01_prumer_lopatky/2),0])
lopatka();
 
//lopatka 3
rotate([0, 0, 240])
translate([-L01_hrana_drzaku_a/2,-(S01_prumer_vnitrni/2+2*S01_sila_materialu+L01_delka_uchytu+L01_prumer_lopatky/2),0])
lopatka();
 
 
}
 
//Odečet spodního válce
translate([0,0,-(S01_prumer_vnitrni/2+2*S01_sila_materialu)])
cylinder (h = R01_vyska_preryti_statoru+(S01_prumer_vnitrni/2+2*S01_sila_materialu), r=S01_prumer_vnitrni/2+2*S01_sila_materialu, $fn=100);
//odecet koule
translate([0,0,R01_vyska_preryti_statoru])
sphere(d = (S01_prumer_vnitrni/2+2*S01_sila_materialu)*2, $fn=100);
}
difference()
{
union()
{
//závit na ukotvení rotoru
//zakladni material
cylinder (h = (S01_prumer_vnitrni/2+2*S01_sila_materialu)+R01_vyska_preryti_statoru, r=(lozisko_prumer_vnejsi/2-1), $fn=100);
vyztuhy();
}
 
translate([0,0,-5])
screw_thread((11-S01_tolerance_zavit),3,55,R01_vyska_preryti_statoru+10,PI/2,2);
}
}
module vyztuhy()
{
difference()
{
 
translate([0,0,R01_vyska_preryti_statoru])
cylinder(h=(S01_prumer_vnitrni/2+3*S01_sila_materialu), r1=(lozisko_prumer_vnejsi/2-1), r2=(lozisko_prumer_vnejsi/2-1)+(S01_prumer_vnitrni/2+3*S01_sila_materialu)-R01_vyska_preryti_statoru, center=false, $fn=100);
//vykousnutí 1
translate([S01_sila_materialu/2,S01_sila_materialu/2,R01_vyska_preryti_statoru-0.005])
cube([(lozisko_prumer_vnejsi/2-1)+(S01_prumer_vnitrni/2+3*S01_sila_materialu),(lozisko_prumer_vnejsi/2-1)+(S01_prumer_vnitrni/2+3*S01_sila_materialu),(S01_prumer_vnitrni/2+3*S01_sila_materialu)+0.01],center=false);
//vykousnutí 2
rotate([0, 0, 90])
translate([S01_sila_materialu/2,S01_sila_materialu/2,R01_vyska_preryti_statoru-0.005])
cube([(lozisko_prumer_vnejsi/2-1)+(S01_prumer_vnitrni/2+3*S01_sila_materialu),(lozisko_prumer_vnejsi/2-1)+(S01_prumer_vnitrni/2+3*S01_sila_materialu),(S01_prumer_vnitrni/2+3*S01_sila_materialu)+0.01],center=false);
//vykousnutí 3
rotate([0, 0, 180])
translate([S01_sila_materialu/2,S01_sila_materialu/2,R01_vyska_preryti_statoru-0.005])
cube([(lozisko_prumer_vnejsi/2-1)+(S01_prumer_vnitrni/2+3*S01_sila_materialu),(lozisko_prumer_vnejsi/2-1)+(S01_prumer_vnitrni/2+3*S01_sila_materialu),(S01_prumer_vnitrni/2+3*S01_sila_materialu)+0.01],center=false);
//vykousnutí 4
rotate([0, 0, 270])
translate([S01_sila_materialu/2,S01_sila_materialu/2,R01_vyska_preryti_statoru-0.005])
cube([(lozisko_prumer_vnejsi/2-1)+(S01_prumer_vnitrni/2+3*S01_sila_materialu),(lozisko_prumer_vnejsi/2-1)+(S01_prumer_vnitrni/2+3*S01_sila_materialu),(S01_prumer_vnitrni/2+3*S01_sila_materialu)+0.01],center=false);
difference()
{
translate([0,0,R01_vyska_preryti_statoru])
sphere(d = (S01_prumer_vnitrni/2+12*S01_sila_materialu)*2, $fn=100);
translate([0,0,R01_vyska_preryti_statoru])
sphere(d = (S01_prumer_vnitrni/2+3*S01_sila_materialu)*2, $fn=100);
 
}
}
}
 
module lopatka()
{
difference()
{
union()
{
translate([0,0,L01_prumer_lopatky/2])
sphere(d = L01_prumer_lopatky, $fn=100);
translate([0,0,0])
cube([L01_hrana_drzaku_a,L01_delka_uchytu+L01_prumer_lopatky/2+10,L01_hrana_drzaku_b],center=false);
}
translate([0,0,L01_prumer_lopatky/2])
sphere(d = L01_prumer_lopatky-L01_sila_materialu_lopatky*2, $fn=100);
translate([-L01_prumer_lopatky+0.01,-L01_prumer_lopatky,0])
cube([L01_prumer_lopatky+0.01,2*(L01_delka_uchytu+L01_prumer_lopatky/2+10),L01_prumer_lopatky],center=false);
}
}
 
//starý model
/*
module WINDGAUGE02A_L01()
union()
/Modules/Mechanical/WINDGAUGE02A/CAD/SRC/WINDGAUGE02A_R02.scad
1,64 → 1,40
$fn=40; // model faces resolution.
$fn=100; // model faces resolution.
include <../configuration.scad>
 
include <polyScrewThread_r1.scad>
PI=3.141592;
 
WINDGAUGE02A_R02();
 
module WINDGAUGE02A_R02()
{
difference()
//setihrana matice
difference()
{
union()
union()
{
cylinder (h = R02_sila_mateiralu_pod_lopatkami+L01_hloubka_zapusteni_drzaku, r=(R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni)/2, center = true, $fn=100);
//valec pod zavitem
translate([0,0,(L01_hloubka_zapusteni_drzaku+R02_sila_mateiralu_pod_lopatkami)/2])
cylinder (h = L01_hloubka_zapusteni_drzaku+L01_hrana_drzaku_b-1, r=(prumer_osicky+3*S01_sila_materialu)/2, $fn=100);
//zavit
translate([0,0,L01_hloubka_zapusteni_drzaku+L01_hrana_drzaku_b+(L01_hloubka_zapusteni_drzaku+R02_sila_mateiralu_pod_lopatkami)/2-3])
screw_thread(prumer_osicky+3*S01_sila_materialu,S01_hloubka_zavitu,55,2*R02_vyska_matky+3,PI/2,2);
//závit
screw_thread((11-S01_tolerance_zavit),3,55,R01_vyska_preryti_statoru,PI/2,2);
}
//otvor pro lopatku 1
rotate(a=[0,0,0])
//spodní podložka
translate([0,0,-R01_mezera_mezi_statorem_rotorem/2])
cylinder (h = R01_mezera_mezi_statorem_rotorem, r=(lozisko_prumer_vnitrni+2*lozisko_prekryv+2)/2, center = true, $fn=100);
}
translate([(R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni)/2-L01_hloubka_zapusteni-L01_sila_zapusteni_drzaku/2,0,((R02_sila_mateiralu_pod_lopatkami+L01_hloubka_zapusteni_drzaku)/2)-L01_hloubka_zapusteni_drzaku/2])
cube([L01_sila_zapusteni_drzaku+L01_tolerance_drzaku,L01_hrana_drzaku_a+L01_tolerance_drzaku,L01_hloubka_zapusteni_drzaku],true);
//otvor pro lopatku 2
rotate(a=[0,0,120])
translate([(R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni)/2-L01_hloubka_zapusteni-L01_sila_zapusteni_drzaku/2,0,((R02_sila_mateiralu_pod_lopatkami+L01_hloubka_zapusteni_drzaku)/2)-L01_hloubka_zapusteni_drzaku/2])
cube([L01_sila_zapusteni_drzaku+L01_tolerance_drzaku,L01_hrana_drzaku_a+L01_tolerance_drzaku,L01_hloubka_zapusteni_drzaku],true);
//otvor
translate([0,0,-R01_mezera_mezi_statorem_rotorem-0.05])
cylinder (h = R01_vyska_preryti_statoru+R01_mezera_mezi_statorem_rotorem+0.1, r=prumer_osicky/2, $fn=100);
}
 
//otvor pro lopatku 3
rotate(a=[0,0,240])
translate([(R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni)/2-L01_hloubka_zapusteni-L01_sila_zapusteni_drzaku/2,0,((R02_sila_mateiralu_pod_lopatkami+L01_hloubka_zapusteni_drzaku)/2)-L01_hloubka_zapusteni_drzaku/2])
cube([L01_sila_zapusteni_drzaku+L01_tolerance_drzaku,L01_hrana_drzaku_a+L01_tolerance_drzaku,L01_hloubka_zapusteni_drzaku],true);
//otvor na hřídelku
cylinder (h = R02_sila_mateiralu_pod_lopatkami+L01_hloubka_zapusteni_drzaku+0.1+60, r=prumer_osicky/2, center = true, $fn=100);
/*
//otvor pro pomocnou trubicku
translate([0,0,-(((R02_sila_mateiralu_pod_lopatkami+L01_hloubka_zapusteni_drzaku)/2)-zapusteni_pomocne_trubicky/2)])
cylinder (h = zapusteni_pomocne_trubicky, r=prumer_pomocne_trubicky/2, center = true, $fn=100);
*/
}
 
}
 
WINDGAUGE02A_R02();
 
/Modules/Mechanical/WINDGAUGE02A/CAD/SRC/WINDGAUGE02A_R05.scad
1,6 → 1,16
$fn=40; // model faces resolution.
include <../configuration.scad>
include <polyScrewThread_r1.scad>
 
PI=3.141592;
 
 
 
 
 
 
 
 
module WINDGAUGE02A_R05()
{
//setihrana matice
/Modules/Mechanical/WINDGAUGE02A/CAD/SRC/WINDGAUGE02A_S02.scad
26,7 → 26,17
//spodní doraz
cylinder (h = S01_sila_materialu, r=S01_prumer_vnitrni/2+S01_sila_materialu, $fn=100);
cylinder (h = S01_sila_materialu, r=S01_prumer_vnitrni/2+S01_sila_materialu, $fn=100);
 
 
//krycí ovál - usnadnění povolení
difference()
{
cylinder (h = R01_vyska_preryti_statoru+5, r=S01_prumer_vnitrni/2+3/2*S01_sila_materialu, $fn=100);
 
cylinder (h = R01_vyska_preryti_statoru+5+0.01, r=S01_prumer_vnitrni/2+S01_sila_materialu, $fn=100);
}
}
 
//odstranění vnitřní výplně
33,35 → 43,64
translate([0,0,S01_sila_materialu])
cylinder (h = S01_vyska_horni_zavit+0.01, r=S01_prumer_vnitrni/2-S01_hloubka_zavitu/2-S01_sila_materialu, $fn=100);
//otvor na pruchod hridelky
//otvor na ložisko
translate([0,0,S01_sila_materialu/2])
cylinder (h = S01_sila_materialu+0.01, r=(lozisko_prumer_vnitrni+0.2)/2+lozisko_prekryv, center = true, $fn=100);
//otvor na šroub 1
cylinder (h = S01_sila_materialu+0.01, r=(lozisko_prumer_vnejsi+0.2)/2, center = true, $fn=100);
//otvory na hlavu šroubu ve dně
//otvor na hlavu šroubu 1
translate([-senzor_delka/2,-senzor_sirka/2,(lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky)/2])
cylinder (h = lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky+0.01, r=(prumer_sroubu)/2, center = true, $fn=100);
cylinder (h = lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky+0.01, r=(prumer_hlavy_sroubu)/2, center = true, $fn=100);
//otvor na šroub 2
translate([senzor_delka/2,-senzor_sirka/2,(lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky)/2])
cylinder (h = lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky+0.01, r=(prumer_sroubu)/2, center = true, $fn=100);
cylinder (h = lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky+0.01, r=(prumer_hlavy_sroubu)/2, center = true, $fn=100);
//otvor na šroub 3
translate([senzor_delka/2,senzor_sirka/2,(lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky)/2])
cylinder (h = lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky+0.01, r=(prumer_sroubu)/2, center = true, $fn=100);
cylinder (h = lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky+0.01, r=(prumer_hlavy_sroubu)/2, center = true, $fn=100);
 
//otvor na šroub 4
translate([-senzor_delka/2,senzor_sirka/2,(lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky)/2])
cylinder (h = lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky+0.01, r=(prumer_sroubu)/2, center = true, $fn=100);
cylinder (h = lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky+0.01, r=(prumer_hlavy_sroubu)/2, center = true, $fn=100);
}
translate([0,0,lozisko_vyska/2+S01_sila_materialu])
 
//otvor na ložisko
 
difference()
{
cylinder (h = lozisko_vyska, r=(lozisko_prumer_vnejsi+2*S01_sila_materialu)/2, center = true, $fn=100);
cylinder (h = lozisko_vyska+0.01, r=(lozisko_prumer_vnejsi+0.2)/2, center = true, $fn=100);
translate([0,0,(R01_vyska_preryti_statoru+2*lozisko_vyska)/2+S01_sila_materialu])
cylinder (h = R01_vyska_preryti_statoru+2*lozisko_vyska, r=(lozisko_prumer_vnejsi+2*S01_sila_materialu)/2, center = true, $fn=100);
translate([0,0,(R01_vyska_preryti_statoru+2*lozisko_vyska)/2+S01_sila_materialu])
cylinder (h = R01_vyska_preryti_statoru+2*lozisko_vyska+0.01, r=(lozisko_prumer_vnejsi+0.2)/2, center = true, $fn=100);
//otvory na hlavy sroubu v uchytu loziska
translate([-senzor_delka/2,-senzor_sirka/2,0])
{
cylinder (h = vyska_hlavy_sroubu, r= (prumer_hlavy_sroubu)/2, $fn=40);
translate([0,0,vyska_hlavy_sroubu])
cylinder(h=2+0.02, r1=(prumer_hlavy_sroubu)/2, r2=(prumer_sroubu+0.2)/2);
}
translate([-senzor_delka/2,senzor_sirka/2,0])
{
cylinder (h = vyska_hlavy_sroubu, r= (prumer_hlavy_sroubu)/2, $fn=40);
translate([0,0,vyska_hlavy_sroubu])
cylinder(h=2+0.02, r1=(prumer_hlavy_sroubu)/2, r2=(prumer_sroubu+0.2)/2);
}
translate([senzor_delka/2,-senzor_sirka/2,0])
{
cylinder (h = vyska_hlavy_sroubu, r= (prumer_hlavy_sroubu)/2, $fn=40);
translate([0,0,vyska_hlavy_sroubu])
cylinder(h=2+0.02, r1=(prumer_hlavy_sroubu)/2, r2=(prumer_sroubu+0.2)/2);
}
translate([senzor_delka/2,senzor_sirka/2,0])
{
cylinder (h = vyska_hlavy_sroubu, r= (prumer_hlavy_sroubu)/2, $fn=40);
translate([0,0,vyska_hlavy_sroubu])
cylinder(h=2+0.02, r1=(prumer_hlavy_sroubu)/2, r2=(prumer_sroubu+0.2)/2);
}
}
 
difference()
83,8 → 122,12
translate([-senzor_delka/2,senzor_sirka/2,0])
SLOUPEK();
}
translate([0,0,S01_sila_materialu])
cylinder (h = lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky+0.01, r=(lozisko_prumer_vnejsi+0.2)/2, $fn=100);
translate([0,0,0])
cylinder (h = R01_vyska_preryti_statoru+2*lozisko_vyska+S01_sila_materialu, r=(lozisko_prumer_vnejsi+0.2)/2, $fn=100);
//doraz loziska
translate([0,0,(R01_vyska_preryti_statoru+2*lozisko_vyska)+S01_sila_materialu+8/2])
cylinder(h=8, r1=(lozisko_prumer_vnejsi+0.2)/2, r2=0, center=true);
}
 
91,7 → 134,6
 
 
 
 
}
}
 
102,18 → 144,26
translate([0,0,S01_sila_materialu])
difference () {
cylinder (h = lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky, r= sirka_matky/2+S01_sila_materialu, $fn=20);
cylinder (h = R01_vyska_preryti_statoru+2*lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky, r= sirka_matky/2+S01_sila_materialu, $fn=20);
 
 
translate([0,0,lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky-vyska_matky])
translate([0,0,R01_vyska_preryti_statoru+2*lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky-vyska_matky])
cylinder (h = vyska_matky+0.01, r= (sirka_matky+0.2)/2, $fn=6);
translate([0,0,-0.01])
cylinder (h = lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky+0.01, r= (prumer_sroubu+0.2)/2, $fn=10);
}
cylinder (h = R01_vyska_preryti_statoru+2*lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky+0.01, r= (prumer_sroubu+0.2)/2, $fn=40);
translate([0,0,-0.01])
cylinder (h = vyska_hlavy_sroubu-S01_sila_materialu, r= (prumer_hlavy_sroubu)/2, $fn=40);
translate([0,0,vyska_hlavy_sroubu-S01_sila_materialu-0.02])
cylinder(h=2+0.02, r1=(prumer_hlavy_sroubu)/2, r2=(prumer_sroubu+0.2)/2);
}
}
 
/Modules/Mechanical/WINDGAUGE02A/CAD/configuration.scad
29,7 → 29,7
 
//lozisko
lozisko_prumer_vnitrni=4.9;
lozisko_prumer_vnejsi=16.2;
lozisko_prumer_vnejsi=16.1;
lozisko_vyska=5;
lozisko_prekryv=1.5;
 
64,7 → 64,7
L01_hrana_drzaku_a=10;
L01_hrana_drzaku_b=3;
L01_tolerance_drzaku=0.4;
L01_delka_uchytu=20;
L01_delka_uchytu=5;
L01_prumer_lopatky=40;
L01_sila_materialu_lopatky=0.9;
 
90,9 → 90,11
 
 
//WINDGAUGE02A_R01 //rotor s prekritim statoru
R01_vyska_preryti_statoru=20;
R01_vyska_preryti_statoru=10;
R01_sila_materialu_pro_prekriti=1.3;
R01_mezera_mezi_statorem_rotorem=3;
 
 
//WINDGAUGE02A_R02 //rotor spodni dil
 
R02_sila_mateiralu_pod_lopatkami=1.3;