Rev Author Line No. Line
4440 jacho 1 $fn=40; // model faces resolution.
2 include <../configuration.scad>
3  
4  
5  
4528 jacho 6 //Drzak na sloup - cast bez drzaku anemometru
4476 jacho 7 module WINDGAUGE02A_D02(){
4440 jacho 8  
4528 jacho 9 difference()
10 {
11 union()
12 {
13 //základní válec
14 cylinder(h=D02_vyska_uchytky,r=(D02_prumer_obruby+2*D02_sila_materialu)/2,center=true);
15 //úchytové plošky
16 translate([D02_dotahova_vzdalenost+D02_sila_materialu/2,0,0]){cube([D02_sila_materialu,D02_delka_celeho_uchytu,D02_vyska_uchytky],center=true);}
17 }
18  
19 //válec na odečet
20 cylinder(h=D02_vyska_uchytky+0.01,r=D02_prumer_obruby/2,center=true);
21  
22 //kvádr na odecet
23 translate([D02_dotahova_vzdalenost-(D02_prumer_obruby+2*D02_sila_materialu)/2,0,0]){cube([D02_prumer_obruby+2*D02_sila_materialu,D02_prumer_obruby+2*D02_sila_materialu,D02_vyska_uchytky+0.01],center=true);}
4440 jacho 24  
25 //otvory na sroub
4528 jacho 26 translate([D02_dotahova_vzdalenost,(D02_delka_celeho_uchytu/2-D02_prumer_obruby/2-D02_sila_materialu)/2+D02_prumer_obruby/2+D02_sila_materialu,D02_vyska_uchytky/4]){rotate([0,90,0]){cylinder(h=D02_sila_materialu+0.01,r=D02_prumer_uchytneho_sroubu/2);}}
4440 jacho 27  
4528 jacho 28 translate([D02_dotahova_vzdalenost,(D02_delka_celeho_uchytu/2-D02_prumer_obruby/2-D02_sila_materialu)/2+D02_prumer_obruby/2+D02_sila_materialu,-D02_vyska_uchytky/4]){rotate([0,90,0]){cylinder(h=D02_sila_materialu+0.01,r=D02_prumer_uchytneho_sroubu/2);}}
4440 jacho 29  
30 translate([D02_dotahova_vzdalenost,-((D02_delka_celeho_uchytu/2-D02_prumer_obruby/2-D02_sila_materialu)/2+D02_prumer_obruby/2+D02_sila_materialu),-D02_vyska_uchytky/4]){rotate([0,90,0]){cylinder(h=D02_sila_materialu+0.01,r=D02_prumer_uchytneho_sroubu/2);}}
31  
4528 jacho 32 translate([D02_dotahova_vzdalenost,-((D02_delka_celeho_uchytu/2-D02_prumer_obruby/2-D02_sila_materialu)/2+D02_prumer_obruby/2+D02_sila_materialu),D02_vyska_uchytky/4]){rotate([0,90,0]){cylinder(h=D02_sila_materialu+0.01,r=D02_prumer_uchytneho_sroubu/2);}}
4440 jacho 33  
4528 jacho 34 }
4440 jacho 35 }
36  
4528 jacho 37 //WINDGAUGE02A_D02();