Rev Author Line No. Line
4429 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 //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);
17  
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 }
22  
23  
24 module rotor4 (vyska_pod_magnetem,magnet_zapusteni,magnet_prumer,vyska_hlavy_sroubu,prumer_hlavy_sroubu,prumer_sroubu)
25 {
26 difference()
27 {
28 //segment pro sroub a magnet
29 translate([0,0,0])
30 cylinder (h = vyska_pod_magnetem+magnet_zapusteni, r=(magnet_prumer+5)/2, center = true, $fn=100);
31  
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);
35  
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);
39  
40 //otvor pro sroub
41 cylinder (h = vyska_pod_magnetem+magnet_zapusteni+0.1, r=(prumer_sroubu)/2, center = true, $fn=100);
42 }
43 }
44  
45