/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);
*/