Rev 4188 Rev 4189
Line 2... Line 2...
2 rafek = 10; 2 rafek = 10;
3 tloustka_rafku = 10; 3 tloustka_rafku = 10;
4 tloustka_zebrovani = 5; 4 tloustka_zebrovani = 5;
5 tloustka_stredu = 12; 5 tloustka_stredu = 12;
6 prumer_stredu = 20; 6 prumer_stredu = 20;
7 prumer_hridele = 4+1; 7 prumer_hridele = 4.7;
8 polomer_zakriveni = 15; 8 polomer_zakriveni = 15;
9 dokonalost_kruhu = 100; 9 dokonalost_kruhu = 100;
10 vyska_loziska = 3; 10 vyska_loziska = 3;
11 mount_hole = 3.2; // mounting screw hole diameter 11 mount_hole = 3.2; // mounting screw hole diameter
12   12  
Line 25... Line 25...
25 difference() { 25 difference() {
26 union() { 26 union() {
27 translate([0,0,-(tloustka_rafku-tloustka_zebrovani)/2]) cylinder(r=prumer/2-tloustka_rafku, h=tloustka_zebrovani, center=true, $fn=dokonalost_kruhu); 27 translate([0,0,-(tloustka_rafku-tloustka_zebrovani)/2]) cylinder(r=prumer/2-tloustka_rafku, h=tloustka_zebrovani, center=true, $fn=dokonalost_kruhu);
28 translate([0,0,-(tloustka_rafku- tloustka_stredu)/2]) cylinder(r=prumer_stredu/2, h=tloustka_stredu, center=true, $fn=dokonalost_kruhu); 28 translate([0,0,-(tloustka_rafku- tloustka_stredu)/2]) cylinder(r=prumer_stredu/2, h=tloustka_stredu, center=true, $fn=dokonalost_kruhu);
29 } 29 }
30 difference() { -  
31 cylinder(r=prumer_hridele/2, h=tloustka_stredu*2, center=true, $fn=dokonalost_kruhu); -  
32 translate([-prumer_hridele/2,prumer_hridele/2 - 0.5,-2]) -  
33 cube([10, 10, 200], center=false); -  
34 } -  
35 30
36 translate([0,0,-tloustka_stredu/2 + vyska_loziska/2 ]) 31 translate([0,0,-tloustka_stredu/2 + vyska_loziska/2 ])
37 cylinder(r=4, h=vyska_loziska ,center=true, $fn=dokonalost_kruhu); // vybrani na mozazne kluzne lozisko na vystupu motoru 32 cylinder(r=4, h=vyska_loziska ,center=true, $fn=20); // vybrani na mozazne kluzne lozisko na vystupu motoru
-   33 rotate([0,0,30]){
38   34
39 translate([0,30,4]) 35 translate([0,30,4])
40 rotate([90,0,0]) 36 rotate([90,0,0])
41 cylinder (h = 30, r= mount_hole/2, $fn=20); // hole for mounting screw. 37 cylinder (h = 30, r= mount_hole/2, $fn=20); // hole for mounting screw.
42 38
43 translate([-3 ,3, 0]) // hole for mounting nut. 39 translate([-3 ,3, 0]) // hole for mounting nut.
44 cube([6, 3, 20], center = false); 40 cube([6, 3, 20], center = false);
-   41  
-   42 difference() { // D-cut on axis
-   43 translate([0,0, tloustka_stredu-vyska_loziska + 0.2])
-   44 cylinder(r=prumer_hridele/2, h=tloustka_stredu*2, center=true, $fn=20);
-   45 translate([-prumer_hridele/2,prumer_hridele/2 - 0.5,-2])
-   46 cube([10, 10, 200], center=false);
-   47 }
-   48 }
45 } 49 }
46 } 50 }
47   51  
48   52  
49 module vykrojeni(alfa,vnitrni_polomer,r,tloustka,sirka_okraje,polomer_rohu){ 53 module vykrojeni(alfa,vnitrni_polomer,r,tloustka,sirka_okraje,polomer_rohu){