/Modules/Mechanical/WINDGAUGE02A/CAD/SRC/WINDGAUGE02A_R01.scad
0,0 → 1,70
$fn=40; // model faces resolution.
include <../configuration.scad>
 
 
module WINDGAUGE02A_R01(R02_sila_mateiralu_pod_lopatkami,L01_hloubka_zapusteni_drzaku,R02_vzdalenost_mezi_uchyty_lopatek,L01_sila_zapusteni_drzaku,L01_hloubka_zapusteni,prumer_pomocne_trubicky,zapusteni_pomocne_trubicky,vule_mezi_statorem_rotorem,R01_vyska_preryti_statoru,R01_sila_materialu_pro_prekriti)
{
difference()
{
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*vule_mezi_statorem_rotorem+2*R01_sila_materialu_pro_prekriti)/2, center = true, $fn=100);
//tvorba prekryti statoru
difference()
{
translate([0,0,((R02_sila_mateiralu_pod_lopatkami+L01_hloubka_zapusteni_drzaku)/2)+R01_vyska_preryti_statoru/2])
cylinder (h = R01_vyska_preryti_statoru, r=(R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni+2*vule_mezi_statorem_rotorem+2*R01_sila_materialu_pro_prekriti)/2, center = true, $fn=100);
translate([0,0,((R02_sila_mateiralu_pod_lopatkami+L01_hloubka_zapusteni_drzaku)/2)+R01_vyska_preryti_statoru/2])
cylinder (h = R01_vyska_preryti_statoru+0.1, r=(R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni+2*vule_mezi_statorem_rotorem)/2, center = true, $fn=100);
}
}
 
//otvor pro lopatku 1
rotate(a=[0,0,0])
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);
rotate(a=[0,0,0])
translate([(R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni+2*vule_mezi_statorem_rotorem)/2+R01_sila_materialu_pro_prekriti,0,((R02_sila_mateiralu_pod_lopatkami+L01_hloubka_zapusteni_drzaku)/2)+R01_vyska_preryti_statoru/2])
cube([3*R01_sila_materialu_pro_prekriti+L01_tolerance_drzaku,L01_hrana_drzaku_a+L01_tolerance_drzaku,R01_vyska_preryti_statoru+L01_tolerance_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);
rotate(a=[0,0,120])
translate([(R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni+2*vule_mezi_statorem_rotorem)/2+R01_sila_materialu_pro_prekriti,0,((R02_sila_mateiralu_pod_lopatkami+L01_hloubka_zapusteni_drzaku)/2)+R01_vyska_preryti_statoru/2])
cube([3*R01_sila_materialu_pro_prekriti+L01_tolerance_drzaku,L01_hrana_drzaku_a+L01_tolerance_drzaku,R01_vyska_preryti_statoru+L01_tolerance_drzaku],true);
 
//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);
rotate(a=[0,0,240])
translate([(R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni+2*vule_mezi_statorem_rotorem)/2+R01_sila_materialu_pro_prekriti,0,((R02_sila_mateiralu_pod_lopatkami+L01_hloubka_zapusteni_drzaku)/2)+R01_vyska_preryti_statoru/2])
cube([3*R01_sila_materialu_pro_prekriti+L01_tolerance_drzaku,L01_hrana_drzaku_a+L01_tolerance_drzaku,R01_vyska_preryti_statoru+L01_tolerance_drzaku],true);
//otvor na hřídelku
cylinder (h = R02_sila_mateiralu_pod_lopatkami+L01_hloubka_zapusteni_drzaku+0.1, r=prumer_osicky/2, center = true, $fn=100);
}
}
 
WINDGAUGE02A_R01(R02_sila_mateiralu_pod_lopatkami,L01_hloubka_zapusteni_drzaku,R02_vzdalenost_mezi_uchyty_lopatek,L01_sila_zapusteni_drzaku,L01_hloubka_zapusteni,prumer_pomocne_trubicky,zapusteni_pomocne_trubicky,vule_mezi_statorem_rotorem,R01_vyska_preryti_statoru,R01_sila_materialu_pro_prekriti);
 
/Modules/Mechanical/WINDGAUGE02A/CAD/SRC/WINDGAUGE02A_R02.scad
0,0 → 1,46
$fn=40; // model faces resolution.
include <../configuration.scad>
 
 
module WINDGAUGE02A_R02(R02_sila_mateiralu_pod_lopatkami,L01_hloubka_zapusteni_drzaku,R02_vzdalenost_mezi_uchyty_lopatek,L01_sila_zapusteni_drzaku,L01_hloubka_zapusteni,prumer_pomocne_trubicky,zapusteni_pomocne_trubicky)
{
difference()
{
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);
 
//otvor pro lopatku 1
rotate(a=[0,0,0])
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 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, 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(R02_sila_mateiralu_pod_lopatkami,L01_hloubka_zapusteni_drzaku,R02_vzdalenost_mezi_uchyty_lopatek,L01_sila_zapusteni_drzaku,L01_hloubka_zapusteni,prumer_pomocne_trubicky,zapusteni_pomocne_trubicky);
 
/Modules/Mechanical/WINDGAUGE02A/CAD/SRC/WINDGAUGE02A_R03.scad
0,0 → 1,43
$fn=40; // model faces resolution.
include <../configuration.scad>
 
//kryt_rotoru
 
module WINDGAUGE02A_R03(R03_sila_materialu,R02_vzdalenost_mezi_uchyty_lopatek,L01_sila_zapusteni_drzaku,L01_hloubka_zapusteni,vule_mezi_statorem_rotorem,R01_sila_materialu_pro_prekriti,
R02_sila_mateiralu_pod_lopatkami)
{
//kopule
difference()
{
sphere(r = (R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni+2*vule_mezi_statorem_rotorem+2*R01_sila_materialu_pro_prekriti+2*R03_sila_materialu)/2, $fn=100);
sphere(r = (R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni+2*vule_mezi_statorem_rotorem+2*R01_sila_materialu_pro_prekriti)/2+0.1, $fn=100);
translate([0,0,-(R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni+2*vule_mezi_statorem_rotorem+2*R01_sila_materialu_pro_prekriti+2*R03_sila_materialu)/2])
cube(size = [(R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni+2*vule_mezi_statorem_rotorem+2*R01_sila_materialu_pro_prekriti+2*R03_sila_materialu), (R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni+2*vule_mezi_statorem_rotorem+2*R01_sila_materialu_pro_prekriti+2*R03_sila_materialu), (R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni+2*vule_mezi_statorem_rotorem+2*R01_sila_materialu_pro_prekriti+2*R03_sila_materialu)], center = true);
}
//válcová část krytu
difference()
{
//zakladni valec
translate([0,0,-
R02_sila_mateiralu_pod_lopatkami/2])
cylinder (h =
R02_sila_mateiralu_pod_lopatkami, r=(R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni+2*vule_mezi_statorem_rotorem+2*R01_sila_materialu_pro_prekriti+2*R03_sila_materialu)/2, center = true, $fn=100);
//válec pro vykrojení
translate([0,0,-R02_sila_mateiralu_pod_lopatkami/2])
cylinder (h = R02_sila_mateiralu_pod_lopatkami+0.01, r=(R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni+2*vule_mezi_statorem_rotorem+2*R01_sila_materialu_pro_prekriti)/2+0.01, center = true, $fn=100);
}
}
 
 
WINDGAUGE02A_R03(R03_sila_materialu,R02_vzdalenost_mezi_uchyty_lopatek,L01_sila_zapusteni_drzaku,L01_hloubka_zapusteni,vule_mezi_statorem_rotorem,R01_sila_materialu_pro_prekriti,
R02_sila_mateiralu_pod_lopatkami);
/Modules/Mechanical/WINDGAUGE02A/CAD/SRC/WINDGAUGE02A_S01.scad
0,0 → 1,112
$fn=40; // model faces resolution.
include <../configuration.scad>
 
use <zavity.scad>
 
module WINDGAUGE02A_S01(R02_vzdalenost_mezi_uchyty_lopatek,L01_sila_zapusteni_drzaku,L01_hloubka_zapusteni,S01_vyska_zuzene_casti)
{
difference()
{
cylinder (h = S01_vyska_zuzene_casti, r=(R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni+2*vule_mezi_statorem_rotorem+2*S01_sila_materialu)/2, center = true, $fn=100);
cylinder (h = S01_vyska_zuzene_casti+0.01, r=(R02_vzdalenost_mezi_uchyty_lopatek+2*L01_sila_zapusteni_drzaku+2*L01_hloubka_zapusteni+2*vule_mezi_statorem_rotorem)/2, center = true, $fn=100);
//translate([0,0,(stator3_vyska-stator3_vyska_prekryti)/2])
}
difference()
{
cylinder (h = S01_vyska_na_elektroniku+S01_vyska_zavitu_na_nasroubovani_drzaku+2*S01_vyska_komponentu_na_lozisko, r=(S01_prumer_zavitu+2*S01_sila_materialu)/2, center = true, $fn=10);
metric_thread (diameter=S01_prumer_zavitu, pitch=1, length=S01_vyska_na_elektroniku+S01_vyska_zavitu_na_nasroubovani_drzaku+2*S01_vyska_komponentu_na_lozisko, internal=true, n_starts=6);
}
}
 
 
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);
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);
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);
//dira na kabel
cylinder (h = vyska_stator4+0.1, r=(kabel_prumer/2+0.1), center = true, $fn=100);
}
}
WINDGAUGE02A_S01(R02_vzdalenost_mezi_uchyty_lopatek,L01_sila_zapusteni_drzaku,L01_hloubka_zapusteni,S01_vyska_zuzene_casti);
/Modules/Mechanical/WINDGAUGE02A/CAD/SRC/lopatky.scad
1,96 → 1,50
$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)
{
union()
{
//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);
}
difference()
{
//lopatka
sphere(d = prumer_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);
}
//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);
//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);
//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);
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])
difference()
{
translate([-hrana_uchytu_lopatky/2,0,0])
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);
}
}
}
$fn=40; // model faces resolution.
include <../configuration.scad>
 
 
 
//Model lopatky
 
 
 
module WINDGAUGE02A_L01(L01_hloubka_zapusteni,L01_hloubka_zapusteni_drzaku,L01_sila_zapusteni_drzaku,L01_hrana_drzaku_a,L01_hrana_drzaku_b,L01_tolerance_drzaku,L01_delka_uchytu,L01_prumer_lopatky,L01_sila_materialu_lopatky)
union()
{
//prechod lopatka drzak
difference()
{
translate([-L01_hrana_drzaku_a/2,L01_prumer_lopatky/4,0])
cube([L01_hrana_drzaku_a,(L01_prumer_lopatky/2)+5,L01_hrana_drzaku_b],center=true);
sphere(d = L01_prumer_lopatky, $fn=100);
}
difference()
{
//lopatka
sphere(d = L01_prumer_lopatky, $fn=100);
sphere(d = L01_prumer_lopatky-2*L01_sila_materialu_lopatky, $fn=100);
translate([0,-L01_prumer_lopatky/2,-L01_prumer_lopatky/2])
cube(size = L01_prumer_lopatky);
}
//uchyt_lopatky - tycka
translate([-L01_hrana_drzaku_a/2,L01_prumer_lopatky/2+L01_delka_uchytu/2,0])
cube([L01_hrana_drzaku_a,L01_delka_uchytu,L01_hrana_drzaku_b],center=true);
//uchyt_lopatky - tycka v rotoru
translate([-L01_hrana_drzaku_a/2,L01_prumer_lopatky/2+L01_delka_uchytu+L01_hloubka_zapusteni/2,0])
cube([L01_hrana_drzaku_a,L01_hloubka_zapusteni,L01_hrana_drzaku_b],center=true);
//uchyt_lopatky - v rotoru
translate([-L01_hrana_drzaku_a/2,L01_prumer_lopatky/2+L01_delka_uchytu+L01_hloubka_zapusteni+L01_sila_zapusteni_drzaku/2,0])
cube([L01_hrana_drzaku_a,L01_sila_zapusteni_drzaku,L01_hrana_drzaku_b+2*L01_hloubka_zapusteni_drzaku],center=true);
}
WINDGAUGE02A_L01(L01_hloubka_zapusteni,L01_hloubka_zapusteni_drzaku,L01_sila_zapusteni_drzaku,L01_hrana_drzaku_a,L01_hrana_drzaku_b,L01_tolerance_drzaku,L01_delka_uchytu,L01_prumer_lopatky,L01_sila_materialu_lopatky);
/Modules/Mechanical/WINDGAUGE02A/CAD/configuration.scad
1,117 → 1,152
$fn=40; // model faces resolution.
 
//OBECNE PARAMETRY
//----------------------------------------------------------------
//----------------------------------------------------------------
 
//WINDGAUGE02A_S01
S01_vyska
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
prumer_rotoru1=70;
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=0;
 
//lozisko
lozisko_prumer_vnitrni=5;
lozisko_prumer_vnejsi=16;
lozisko_vyska=5;
lozisko_prekryv=1.5;
 
//kryt rotoru
sila_materialu_krytu=1;
 
 
//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=10;
 
//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)
 
 
 
 
 
//lopatka
hloubka_uchytu=20;
sila_uchytu=12;
vyska_uchytu=10;
tolerance_uchytu=0.2;
delka_uchytu_lopatky=20;
hrana_uchytu_lopatky=4;
prumer_lopatky=50;
sila_materialu_lopatky=0.8;
 
//parametry uchytu senzoru
roztec_der=10.16;
vzdalenost_der_x=2*roztec_der;
vzdalenost_der_y=1*roztec_der;
 
//magnet
magnet_prumer=6.3;
magnet_vyska=5;
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)
 
 
 
 
//uchyt pro anemometr
uchyt_prumer_sroubu=3.2;
roztec_sroubu=20;
 
//stator 4
vyska_stator4=5;
uchyt_vyska_matky=3;
uchyt_prumer_orechu=10;
 
//parametr kabelu
kabel_prumer=10;
$fn=40; // model faces resolution.
 
//OBECNE PARAMETRY
//----------------------------------------------------------------
//----------------------------------------------------------------
 
//Obecné parametry
prumer_osicky=3;
prumer_pomocne_trubicky=8;
zapusteni_pomocne_trubicky=3;
vule_mezi_statorem_rotorem=2; //vůle mezi statorem a rotorem + sila materialu statoru
 
//WINDGAUGE02A_S01
S01_vyska=5;
 
 
 
//WINDGAUGE02A_L01 //pro lopatku
L01_hloubka_zapusteni=3;
L01_hloubka_zapusteni_drzaku=5;
L01_sila_zapusteni_drzaku=5; //sila drzaku který je v rotoru
L01_hrana_drzaku_a=10;
L01_hrana_drzaku_b=3;
L01_tolerance_drzaku=0.1;
L01_delka_uchytu=20;
L01_prumer_lopatky=40;
L01_sila_materialu_lopatky=3;
 
//WINDGAUGE02A_R01 //rotor s prekritim statoru
R01_vyska_preryti_statoru=10;
R01_sila_materialu_pro_prekriti=2;
 
//WINDGAUGE02A_R02 //rotor spodni dil
 
R02_sila_mateiralu_pod_lopatkami=5;
R02_vzdalenost_mezi_uchyty_lopatek=10;
 
//WINDGAUGE02A_R03 //kryt rotoru
R03_sila_materialu=1.5;
 
 
 
//WINDGAUGE02A_S01 //stator
S01_sila_materialu=2;
S01_vyska_zuzene_casti=20;
S01_vyska_komponentu_na_lozisko=15;
S01_vyska_zavitu_na_nasroubovani_drzaku=15;
S01_vyska_na_elektroniku=50;
S01_prumer_zavitu=70;
 
 
 
 
 
 
 
 
 
prumer_rotoru1=70;
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=0;
 
//lozisko
lozisko_prumer_vnitrni=5;
lozisko_prumer_vnejsi=16;
lozisko_vyska=5;
lozisko_prekryv=1.5;
 
//kryt rotoru
sila_materialu_krytu=1;
 
 
//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=10;
 
//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)
 
 
 
 
 
//lopatka
hloubka_uchytu=20;
sila_uchytu=12;
vyska_uchytu=10;
tolerance_uchytu=0.2;
delka_uchytu_lopatky=20;
hrana_uchytu_lopatky=4;
prumer_lopatky=50;
sila_materialu_lopatky=0.8;
 
//parametry uchytu senzoru
roztec_der=10.16;
vzdalenost_der_x=2*roztec_der;
vzdalenost_der_y=1*roztec_der;
 
//magnet
magnet_prumer=6.3;
magnet_vyska=5;
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)
 
 
 
 
//uchyt pro anemometr
uchyt_prumer_sroubu=3.2;
roztec_sroubu=20;
 
//stator 4
vyska_stator4=5;
uchyt_vyska_matky=3;
uchyt_prumer_orechu=10;
 
//parametr kabelu
kabel_prumer=10;