Line 36... |
Line 36... |
36 |
//otvor na pruchod hridelky |
36 |
//otvor na pruchod hridelky |
37 |
translate([0,0,S01_sila_materialu/2]) |
37 |
translate([0,0,S01_sila_materialu/2]) |
38 |
cylinder (h = S01_sila_materialu+0.01, r=(lozisko_prumer_vnitrni+0.2)/2+lozisko_prekryv, center = true, $fn=100); |
38 |
cylinder (h = S01_sila_materialu+0.01, r=(lozisko_prumer_vnitrni+0.2)/2+lozisko_prekryv, center = true, $fn=100); |
39 |
|
39 |
|
40 |
//otvor na šroub 1 |
40 |
//otvor na šroub 1 |
41 |
translate([-senzor_delka/2,-senzor_sirka/2,S01_vyska_komponentu_na_lozisko/2]) |
41 |
translate([-senzor_delka/2,-senzor_sirka/2,(lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky)/2]) |
42 |
cylinder (h = S01_vyska_komponentu_na_lozisko+0.01, r=(prumer_sroubu)/2, center = true, $fn=100); |
42 |
cylinder (h = lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky+0.01, r=(prumer_sroubu)/2, center = true, $fn=100); |
43 |
|
43 |
|
44 |
//otvor na šroub 2 |
44 |
//otvor na šroub 2 |
45 |
translate([senzor_delka/2,-senzor_sirka/2,S01_vyska_komponentu_na_lozisko/2]) |
45 |
translate([senzor_delka/2,-senzor_sirka/2,(lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky)/2]) |
46 |
cylinder (h = S01_vyska_komponentu_na_lozisko+0.01, r=(prumer_sroubu)/2, center = true, $fn=100); |
46 |
cylinder (h = lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky+0.01, r=(prumer_sroubu)/2, center = true, $fn=100); |
47 |
|
47 |
|
48 |
//otvor na šroub 3 |
48 |
//otvor na šroub 3 |
49 |
translate([senzor_delka/2,senzor_sirka/2,S01_vyska_komponentu_na_lozisko/2]) |
49 |
translate([senzor_delka/2,senzor_sirka/2,(lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky)/2]) |
50 |
cylinder (h = S01_vyska_komponentu_na_lozisko+0.01, r=(prumer_sroubu)/2, center = true, $fn=100); |
50 |
cylinder (h = lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky+0.01, r=(prumer_sroubu)/2, center = true, $fn=100); |
51 |
|
51 |
|
52 |
//otvor na šroub 4 |
52 |
//otvor na šroub 4 |
53 |
translate([-senzor_delka/2,senzor_sirka/2,S01_vyska_komponentu_na_lozisko/2]) |
53 |
translate([-senzor_delka/2,senzor_sirka/2,(lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky)/2]) |
54 |
cylinder (h = S01_vyska_komponentu_na_lozisko+0.01, r=(prumer_sroubu)/2, center = true, $fn=100); |
54 |
cylinder (h = lozisko_vyska+2*S01_sila_materialu+2*S01_sila_materialu+vyska_hlavy_sroubu+magnet_vyska+vyska_matky+0.01, r=(prumer_sroubu)/2, center = true, $fn=100); |
55 |
|
55 |
|
56 |
} |
56 |
} |
57 |
translate([0,0,lozisko_vyska/2+S01_sila_materialu]) |
57 |
translate([0,0,lozisko_vyska/2+S01_sila_materialu]) |
58 |
difference() |
58 |
difference() |
59 |
{ |
59 |
{ |