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