fixed dimensions. prints/assembles easier
[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 translate([-20+5.5, 1.5-7, 17.5]) cube([16, 3, 35], center = true);
15
16 difference(){
17 union(){
18
19 translate([-37.5+13, 0, 5]) cube_fillet([3, 35, 10], center = true, radius=1, $fn=8);
20 translate([-37.5+13, 0, 22.5]) cube([3, 14, 45], center = true);
21 translate([-5.0, 0, 17.5]) cube_fillet([7, 14, 35], center = true, vertical = [2,2,0,2], fn=8);
22
23 }
24 translate([-5.5, 0, 17.5]) cube([9, 10, 10], center = true);
25 translate([0, -12, 5]) rotate([0, -90, 0]) cylinder(h=50, r= 2.5);
26 translate([0, 12, 5]) rotate([0, -90, 0]) cylinder(h=50, r= 2.5);
27
28 translate([0, 0, 40]) rotate([0, -90, 0]) cylinder(h=50, r= 2.5);
29 #intersection() {
30 for (i = [0 : 35/belt_tooth_distance])
31 {
32 translate([-8.0, 0, 1+i*belt_tooth_distance]) cube([2, 10, belt_tooth_distance*belt_tooth_ratio], center = true);
33 }
34 translate([0, 0, 35/2]) cube([20, 10, 35], center = true);
35 }
36 }
37 }