/Modules/Mechanical/WINDGAUGE02A/CAD/SRC/WINDGAUGE02A_R02.scad
1,15 → 1,33
$fn=40; // model faces resolution.
include <../configuration.scad>
 
include <polyScrewThread_r1.scad>
PI=3.141592;
 
 
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()
{
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);
}
//otvor pro lopatku 1
rotate(a=[0,0,0])
32,7 → 50,7
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);
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)])
41,6 → 59,6
}
}
 
//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);
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_S01.scad
5,6 → 5,59
 
PI=3.141592;
 
S01_vyska=80;
S01_prumer_vnitrni=30;
S01_sila_materialu=2;
S01_vyska_horni_zavit=10;
S01_vyska_spodniho_zavitu=10;
S01_sila_drzaku_RJ11=2;
 
 
module WINDGAUGE02A_S01(S01_vyska,S01_prumer_vnitrni,S01_sila_materialu)
{
difference()
{
union()
{
//základní válec
cylinder (h = S01_vyska-S01_vyska_horni_zavit, r=(S01_prumer_vnitrni)/2+S01_sila_materialu, $fn=100);
 
//horní závit
translate([0,0,S01_vyska-S01_vyska_horni_zavit])
screw_thread((S01_prumer_vnitrni+2*S01_sila_materialu),S01_hloubka_zavitu,55,S01_vyska_horni_zavit,PI/2,2);
 
}
 
//vystouplá část
translate([0,0,S01_vyska_spodniho_zavitu+S01_sila_drzaku_RJ11-0.3])
cylinder (h = S01_sila_drzaku_RJ11, r=(S01_prumer_vnitrni)/2-1-S01_hloubka_zavitu/2, $fn=100);
//otvor na drzak rj11
translate([0,0,S01_vyska_spodniho_zavitu])
cylinder (h = S01_sila_drzaku_RJ11-0.3, r=(S01_prumer_vnitrni)/2-S01_hloubka_zavitu/2, $fn=100);
 
//spodní závit
screw_thread((S01_prumer_vnitrni),S01_hloubka_zavitu,55,S01_vyska_spodniho_zavitu+0.01,PI/2,2);
 
//otvor skrz
translate([0,0,S01_vyska_spodniho_zavitu+2*S01_sila_drzaku_RJ11-0.3])
cylinder (h = S01_vyska, r=(S01_prumer_vnitrni)/2-1, $fn=100);
}
}
 
 
WINDGAUGE02A_S01(S01_vyska,S01_prumer_vnitrni,S01_sila_materialu);
 
 
 
 
 
 
 
 
 
/*
module WINDGAUGE02A_S01(R02_vzdalenost_mezi_uchyty_lopatek,L01_sila_zapusteni_drzaku,L01_hloubka_zapusteni,S01_vyska_zuzene_casti,S01_vyska_na_elektroniku,S01_vyska_zavitu_na_nasroubovani_drzaku,S01_vyska_prechodu,vule_mezi_statorem_rotorem,S01_vyska_zavitu_na_nasroubovani_drzaku,S01_sila_materialu)
{
60,11 → 113,11
}
 
}
*/
 
 
 
WINDGAUGE02A_S01(R02_vzdalenost_mezi_uchyty_lopatek,L01_sila_zapusteni_drzaku,L01_hloubka_zapusteni,S01_vyska_zuzene_casti,S01_vyska_na_elektroniku,S01_vyska_zavitu_na_nasroubovani_drzaku,S01_vyska_prechodu,vule_mezi_statorem_rotorem,S01_vyska_zavitu_na_nasroubovani_drzaku,S01_sila_materialu);
 
/Modules/Mechanical/WINDGAUGE02A/CAD/SRC/WINDGAUGE02A_S02.scad
7,20 → 7,108
PI=3.141592;
 
 
module WINDGAUGE02A_S02(S01_sila_materialu,S01_vyska_komponentu_na_lozisko,S01_prumer_zavitu,lozisko_vyska,lozisko_prumer_vnejsi,lozisko_prumer_vnitrni,lozisko_prekryv,vyska_matky,prumer_orechu,prumer_sroubu,senzor_delka,senzor_sirka,S01_tolerance_zavit,sirka_matky,magnet_vyska,S01_vyska_zuzene_casti,S01_vyska_prechodu)
 
 
module WINDGAUGE02A_S02()
{
//valec se zavitem
union() {
 
 
difference()
{
union()
{
screw_thread(S01_prumer_zavitu-S01_tolerance_zavit,S01_hloubka_zavitu,55,S01_vyska_komponentu_na_lozisko,PI/2,2);
cylinder (h = S01_vyska_horni_zavit+S01_sila_materialu, r=(S01_prumer_vnitrni+4*S01_sila_materialu)/2+S01_tolerance_zavit/2, $fn=100);
translate([0,0,S01_sila_materialu])
screw_thread((S01_prumer_vnitrni+2*S01_sila_materialu+S01_tolerance_zavit),S01_hloubka_zavitu,55,S01_vyska_horni_zavit,PI/2,2);
translate([0,0,(S01_vyska_komponentu_na_lozisko+S01_vyska_zuzene_casti+S01_vyska_prechodu)/2])
cylinder (h = S01_vyska_komponentu_na_lozisko+S01_vyska_zuzene_casti+S01_vyska_prechodu, r=(lozisko_prumer_vnejsi+2*S01_sila_materialu)/2, center = true, $fn=100);
//otvor na pruchod hridelky
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
translate([-senzor_delka/2,-senzor_sirka/2,S01_vyska_komponentu_na_lozisko/2])
cylinder (h = S01_vyska_komponentu_na_lozisko+0.01, r=(prumer_sroubu)/2, center = true, $fn=100);
//otvor na šroub 2
translate([senzor_delka/2,-senzor_sirka/2,S01_vyska_komponentu_na_lozisko/2])
cylinder (h = S01_vyska_komponentu_na_lozisko+0.01, r=(prumer_sroubu)/2, center = true, $fn=100);
//otvor na šroub 3
translate([senzor_delka/2,senzor_sirka/2,S01_vyska_komponentu_na_lozisko/2])
cylinder (h = S01_vyska_komponentu_na_lozisko+0.01, r=(prumer_sroubu)/2, center = true, $fn=100);
 
}
//otvor na šroub 4
translate([-senzor_delka/2,senzor_sirka/2,S01_vyska_komponentu_na_lozisko/2])
cylinder (h = S01_vyska_komponentu_na_lozisko+0.01, r=(prumer_sroubu)/2, center = true, $fn=100);
}
translate([0,0,lozisko_vyska/2+S01_sila_materialu])
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);
}
 
difference()
{
union()
{
//uchyty na modul
//sloupek 1
translate([-senzor_delka/2,-senzor_sirka/2,0])
SLOUPEK();
 
 
translate([senzor_delka/2,-senzor_sirka/2,0])
SLOUPEK();
 
translate([senzor_delka/2,senzor_sirka/2,0])
SLOUPEK();
 
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);
}
 
 
}
}
 
 
//sloupek na senzor
module SLOUPEK()
{
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);
 
 
translate([0,0,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);
}
}
 
WINDGAUGE02A_S02();
 
/*
difference()
{
translate([0,0,S01_sila_materialu+S01_vyska_komponentu_na_lozisko/2])
211,6 → 299,6
*/
 
 
 
/*
/Modules/Mechanical/WINDGAUGE02A/CAD/SRC/WINDGAUGE02A_S03.scad
4,7 → 4,82
include <polyScrewThread_r1.scad>
 
PI=3.141592;
module WINDGAUGE02A_S03()
{
difference()
{
//valec se zavitem
union() {
 
 
difference()
{
cylinder (h = S01_sila_materialu, r=(S01_prumer_vnitrni)/2-3, $fn=100);
 
//otvor na pruchod hridelky
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
translate([-senzor_delka/2,-senzor_sirka/2,0])
cylinder (h = S01_sila_materialu+0.01, r=(prumer_sroubu)/2, $fn=100);
//otvor na šroub 2
translate([senzor_delka/2,-senzor_sirka/2,0])
cylinder (h = S01_sila_materialu+0.01, r=(prumer_sroubu)/2, $fn=100);
//otvor na šroub 3
translate([senzor_delka/2,senzor_sirka/2,0])
cylinder (h = S01_sila_materialu+0.01, r=(prumer_sroubu)/2, $fn=100);
 
//otvor na šroub 4
translate([-senzor_delka/2,senzor_sirka/2,0])
cylinder (h = S01_sila_materialu+0.01, r=(prumer_sroubu)/2, $fn=100);
}
translate([0,0,lozisko_vyska/2+S01_sila_materialu])
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);
}
 
 
 
 
}
//otvor na šroub 1
translate([-senzor_delka/2,-senzor_sirka/2,S01_sila_materialu])
cylinder (h = lozisko_vyska+0.01, r=(prumer_hlavy_sroubu)/2, $fn=100);
//otvor na šroub 2
translate([senzor_delka/2,-senzor_sirka/2,S01_sila_materialu])
cylinder (h = lozisko_vyska+0.01, r=(prumer_hlavy_sroubu)/2, $fn=100);
//otvor na šroub 3
translate([senzor_delka/2,senzor_sirka/2,S01_sila_materialu])
cylinder (h = lozisko_vyska+0.01, r=(prumer_hlavy_sroubu)/2, $fn=100);
 
//otvor na šroub 4
translate([-senzor_delka/2,senzor_sirka/2,S01_sila_materialu])
cylinder (h = lozisko_vyska+0.01, r=(prumer_hlavy_sroubu)/2, $fn=100);
}
 
}
 
 
WINDGAUGE02A_S03();
 
 
/*
module WINDGAUGE02A_S03(S01_sila_materialu,S01_vyska_komponentu_na_lozisko,S01_prumer_zavitu,lozisko_vyska,lozisko_prumer_vnejsi,lozisko_prumer_vnitrni,lozisko_prekryv,vyska_matky,prumer_orechu,prumer_sroubu,vyska_hlavy_sroubu,prumer_hlavy_sroubu,S01_tolerance_zavit,R02_vzdalenost_mezi_uchyty_lopatek,L01_sila_zapusteni_drzaku,L01_hloubka_zapusteni,vule_mezi_statorem_rotorem,S01_sila_materialu,S01_hloubka_zavitu)
{
union()
41,3 → 116,5
 
WINDGAUGE02A_S03(S01_sila_materialu,S01_vyska_komponentu_na_lozisko,S01_prumer_zavitu,lozisko_vyska,lozisko_prumer_vnejsi,lozisko_prumer_vnitrni,lozisko_prekryv,vyska_matky,prumer_orechu,prumer_sroubu,vyska_hlavy_sroubu,prumer_hlavy_sroubu,S01_tolerance_zavit,R02_vzdalenost_mezi_uchyty_lopatek,L01_sila_zapusteni_drzaku,L01_hloubka_zapusteni,vule_mezi_statorem_rotorem,S01_sila_materialu,S01_hloubka_zavitu);
*/
/Modules/Mechanical/WINDGAUGE02A/CAD/configuration.scad
3,9 → 3,18
//OBECNE PARAMETRY
//----------------------------------------------------------------
//----------------------------------------------------------------
//S01
S01_vyska=80;
S01_prumer_vnitrni=40;
S01_sila_materialu=2;
S01_vyska_horni_zavit=10;
S01_vyska_spodniho_zavitu=10;
S01_sila_drzaku_RJ11=2;
S01_tolerance_zavit=1.5;
 
 
//Obecné parametry
prumer_osicky=3;
prumer_osicky=5.1;
prumer_pomocne_trubicky=8;
zapusteni_pomocne_trubicky=3;
vule_mezi_statorem_rotorem=3; //vůle mezi statorem a rotorem + sila materialu statoru
86,6 → 95,7
 
R02_sila_mateiralu_pod_lopatkami=1.3;
R02_vzdalenost_mezi_uchyty_lopatek=10;
R02_vyska_matky=5;
 
//WINDGAUGE02A_R03 //kryt rotoru
R03_sila_materialu=1.3;