Rev Author Line No. Line
4277 jacho 1 $fn=40; // model faces resolution.
4288 jacho 2 //include <../configuration.scad>
4277 jacho 3  
4  
4288 jacho 5  
4277 jacho 6 module stator1(stator1_sila,lozisko_prumer_vnejsi,sirka_matky,lozisko_prumer_vnitrni,lozisko_prekryv,prumer_sroubu)
4297 jacho 7 {
8 difference()
9 {
10 cylinder (h = stator1_sila, r=(lozisko_prumer_vnejsi+10+sirka_matky)/2, center = true, $fn=100);
4277 jacho 11  
12  
4297 jacho 13 //otvor pro hridel rotoru
14 translate([0,0,0])
15 cylinder (h = stator1_sila+0.1, r=(lozisko_prumer_vnitrni+2*lozisko_prekryv+2)/2, center = true, $fn=100);
4277 jacho 16  
17  
18  
4297 jacho 19 //otvor pro sroub 1
20 translate([(lozisko_prumer_vnejsi+prumer_sroubu+5)/2,0,0])
21 cylinder (h = stator1_sila+0.1, r=prumer_sroubu/2, center = true, $fn=100);
4277 jacho 22  
4297 jacho 23 //otvor pro sroub 2
24 rotate(a=[0,0,120])
25 translate([(lozisko_prumer_vnejsi+prumer_sroubu+5)/2,0,0])
26 cylinder (h = stator1_sila+0.1, r=prumer_sroubu/2, center = true, $fn=100);
4277 jacho 27  
4297 jacho 28 //otvor pro sroub 3
29 rotate(a=[0,0,240])
30 translate([(lozisko_prumer_vnejsi+prumer_sroubu+5)/2,0,0])
31 cylinder (h = stator1_sila+0.1, r=prumer_sroubu/2, center = true, $fn=100);
32 }
33 }
4277 jacho 34  
35  
36  
37  
38  
39