Rev Author Line No. Line
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)
10 {
11 difference()
12 {
13  
14  
15 //dotahovací kroužek
16 translate([0,0,0])
17 cylinder (h = sila_pod_loziskem+delka_hridele+2, r=(lozisko_prumer_vnitrni+2*lozisko_prekryv)/2, center = true, $fn=100);
18  
19 cylinder (h = sila_pod_loziskem+delka_hridele+2+0.1, r=((lozisko_prumer_vnitrni+0.2)/2), center = true, $fn=100);
20  
21  
22 }
23 }
24  
25  
26 module rotor4 (vyska_pod_magnetem,magnet_zapusteni,magnet_prumer,vyska_hlavy_sroubu,prumer_hlavy_sroubu,prumer_sroubu)
27 {
28 difference()
29 {
30  
31  
32 //segment pro sroub a magnet
33 translate([0,0,0])
34 cylinder (h = vyska_pod_magnetem+magnet_zapusteni, r=(magnet_prumer+2)/2, center = true, $fn=100);
35  
36 //otvor pro magnet
37 translate([0,0,vyska_pod_magnetem/2+0.1])
38 cylinder (h = magnet_zapusteni, r=((magnet_prumer+0.2)/2), center = true, $fn=100);
39  
40 //zapusteni uchytného sroubu
41 translate([0,0,(vyska_pod_magnetem-vyska_hlavy_sroubu-1)/2+0.1])
42 cylinder (h = vyska_hlavy_sroubu+1, r=((prumer_hlavy_sroubu+0.2)/2), center = true, $fn=100);
43  
44 //otvor pro sroub
45 cylinder (h = vyska_pod_magnetem+magnet_zapusteni+0.1, r=(prumer_sroubu)/2, center = true, $fn=100);
46 }
47 }
48  
49