4277 |
jacho |
1 |
$fn=40; // model faces resolution. |
|
|
2 |
//include <configuration.scad> |
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
//dutinka pro upevneni rotoru |
|
|
9 |
module rotor3 (sila_pod_loziskem,delka_hridele,lozisko_prumer_vnitrni,lozisko_prekryv) |
4297 |
jacho |
10 |
{ |
|
|
11 |
difference() |
|
|
12 |
{ |
4277 |
jacho |
13 |
|
4297 |
jacho |
14 |
//dotahovací kroužek |
|
|
15 |
translate([0,0,0]) |
|
|
16 |
cylinder (h = sila_pod_loziskem+delka_hridele+2, r=(lozisko_prumer_vnitrni+2*lozisko_prekryv)/2, center = true, $fn=100); |
4277 |
jacho |
17 |
|
4297 |
jacho |
18 |
cylinder (h = sila_pod_loziskem+delka_hridele+2+0.1, r=((lozisko_prumer_vnitrni+0.2)/2), center = true, $fn=100); |
|
|
19 |
|
|
|
20 |
} |
|
|
21 |
} |
4277 |
jacho |
22 |
|
|
|
23 |
|
|
|
24 |
module rotor4 (vyska_pod_magnetem,magnet_zapusteni,magnet_prumer,vyska_hlavy_sroubu,prumer_hlavy_sroubu,prumer_sroubu) |
4297 |
jacho |
25 |
{ |
|
|
26 |
difference() |
|
|
27 |
{ |
|
|
28 |
//segment pro sroub a magnet |
|
|
29 |
translate([0,0,0]) |
4342 |
jacho |
30 |
cylinder (h = vyska_pod_magnetem+magnet_zapusteni, r=(magnet_prumer+5)/2, center = true, $fn=100); |
4277 |
jacho |
31 |
|
4297 |
jacho |
32 |
//otvor pro magnet |
|
|
33 |
translate([0,0,vyska_pod_magnetem/2+0.1]) |
|
|
34 |
cylinder (h = magnet_zapusteni, r=((magnet_prumer+0.2)/2), center = true, $fn=100); |
4277 |
jacho |
35 |
|
4297 |
jacho |
36 |
//zapusteni uchytného sroubu |
|
|
37 |
translate([0,0,(vyska_pod_magnetem-vyska_hlavy_sroubu-1)/2+0.1]) |
|
|
38 |
cylinder (h = vyska_hlavy_sroubu+1, r=((prumer_hlavy_sroubu+0.2)/2), center = true, $fn=100); |
4277 |
jacho |
39 |
|
4297 |
jacho |
40 |
//otvor pro sroub |
|
|
41 |
cylinder (h = vyska_pod_magnetem+magnet_zapusteni+0.1, r=(prumer_sroubu)/2, center = true, $fn=100); |
|
|
42 |
} |
|
|
43 |
} |
4277 |
jacho |
44 |
|
|
|
45 |
|