Rev Author Line No. Line
4431 jacho 1 $fn=40; // model faces resolution.
2 include <../configuration.scad>
4528 jacho 3 include <polyScrewThread_r1.scad>
4431 jacho 4  
4528 jacho 5 PI=3.141592;
4431 jacho 6  
4528 jacho 7 //Držák magnetu
8  
4476 jacho 9 module WINDGAUGE02A_R03()
4528 jacho 10 {
11 //setihrana matice
4431 jacho 12 difference()
13 {
4528 jacho 14 union()
15 {
16 //zakladni material
4601 jacho 17 cylinder (h = magnet_vyska+R03_vyska_narezeni_hridelky+S01_sila_materialu-senzor_vyska_IO-senzor_odstup_od_magnetu, r= R05_sirka_matky/2, $fn=6);
4431 jacho 18  
4528 jacho 19 translate([0,0,-S01_sila_materialu/2])
20 cylinder (h = S01_sila_materialu, r=(lozisko_prumer_vnitrni+2*lozisko_prekryv)/2, center = true, $fn=100);
21 }
22  
23 //otvor pro magnet
4601 jacho 24 translate([0,0,(magnet_vyska+R03_vyska_narezeni_hridelky+S01_sila_materialu-senzor_vyska_IO-senzor_odstup_od_magnetu)-magnet_zapusteni/2+0.01])
4528 jacho 25 cylinder (h = magnet_zapusteni+0.01, r=((magnet_prumer+0.2)/2), center = true, $fn=100);
26  
27 //otvor
28 translate([0,0,-S01_sila_materialu])
29 cylinder (h = 3*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky-senzor_vyska_IO-senzor_odstup_od_magnetu+0.1, r=prumer_osicky/2, $fn=100);
30  
4601 jacho 31 translate([0,0,magnet_vyska+R03_vyska_narezeni_hridelky+S01_sila_materialu-senzor_vyska_IO-senzor_odstup_od_magnetu+0.1-S01_sila_materialu])
4528 jacho 32  
33 difference()
34 {
35 cylinder( S01_sila_materialu,d1=3*R05_sirka_matky, d2=3*lozisko_prumer_vnitrni+2*lozisko_prekryv );
4431 jacho 36  
4528 jacho 37 cylinder( S01_sila_materialu, d1=R05_sirka_matky,d2=lozisko_prumer_vnitrni+2*lozisko_prekryv );
38 }
39  
40 //spodní zakulacení
41 difference()
42 {
43 cylinder( S01_sila_materialu, d1=3*lozisko_prumer_vnitrni+2*lozisko_prekryv,d2=3*R05_sirka_matky );
4431 jacho 44  
4528 jacho 45 cylinder( S01_sila_materialu, d1=lozisko_prumer_vnitrni+2*lozisko_prekryv,d2=R05_sirka_matky );
46 }
4431 jacho 47 }
4528 jacho 48 }
4431 jacho 49  
50  
4476 jacho 51 WINDGAUGE02A_R03();
4528 jacho 52  
53