Add GT2 to configuration.scad.dist, closes #19
[clinton/prusa3.git] / y-belt-holder.scad
1 // PRUSA iteration3
2 // Y belt holder
3 // GNU GPL v3
4 // Josef Průša <josefprusa@me.com>
5 // Václav 'ax' Hůla <axtheb@gmail.com>
6 // http://www.reprap.org/wiki/Prusa_Mendel
7 // http://github.com/prusajr/PrusaMendel
8
9 include <configuration.scad>
10 translate([10+16, 0, 0]){
11
12 //%translate([0, 0, 35/2]) cube([20, 6, 35], center = true);
13 translate([-24.5+6.5, 0, 17.5]) cube_fillet([16, 14, 35], center = true, vertical=[3,0,0,0], fn=8 );
14
15 translate([-20+5.5, 1.5-7, 17.5]) cube([16, 3, 35], center = true);
16
17 difference(){
18 union(){
19
20 translate([-37.5+13, 0, 5]) cube_fillet([8.5, 35, 10], center = true, radius=1, $fn=8);
21 translate([-37.5+13, 0, 22.5]) cube([8.5, 14, 45], center = true);
22 translate([-4.0, 0, 17.5]) cube_fillet([8.5, 14, 35], center = true, vertical = [2,2,0,2], fn=8);
23
24 }
25 translate([-4.5, 0, 17.5]) cube([10, 10, 10], center = true);
26 translate([-20, -12, 5]) rotate([0, -90, 0]) screw();
27 translate([-20, 12, 5]) rotate([0, -90, 0]) screw();
28
29 translate([-20, 0, 40]) rotate([0, -90, 0]) screw();
30 intersection() {
31 for (i = [0 : 35/belt_tooth_distance])
32 {
33 translate([-9.0, 0, 1+i*belt_tooth_distance]) cube([3, 10, belt_tooth_distance*belt_tooth_ratio], center = true);
34 }
35 translate([0, 0, 35/2]) cube([20, 10, 35], center = true);
36 }
37 }
38 }