Line 12... |
Line 12... |
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 |
|