added image of assembled x belt tensioner
[clinton/wilson.git] / scad / tensioner.scad
CommitLineData
90c10a06
MR
1
2bearing_624_double = [13, 10, 4, 0];
3// this one has roughly same diameter as pulley, makes belt parallel so its prettier
4bearing_623_double = [10, 8, 3, 0];
5
6idler_bearing = bearing_624_double;
7m4_diameter = 4.7;
8m4_nut_diameter = 7.6;
9m4_nut_diameter_horizontal = 8.15;
10
11width_over_thickness = 2.2;
12layer_height = 0.25;
13single_wall_width = width_over_thickness * layer_height;
14idler_width = (idler_bearing[1] > 7 ? idler_bearing[1] : 7) + 2.5 * idler_bearing[3] ;
15use_fillets = 1;
16
17tensioner();
18
19module tensioner()
20{
21 difference() {
22 union() {
23 translate([0,-5,0]) cube([30,10,16]);
24 translate([30,-10,0]) cube([20,20,16]);
25 translate([30,5,0]) cylinder(r=5,h=16,$fn=16);
26 translate([30,-5,0]) cylinder(r=5,h=16,$fn=16);
27 }
28
29 #translate([43,11/2,8]) rotate([90,0,0]) {
30 cylinder(r=13,h=11);
31 translate([0,0,-6]) cylinder(r=2.1,h=25);
32 }
33
34 #translate([9,-7,-5/2+8]) cube([15,16,5]);
35 #translate([3,-4,-7.3/2+8]) cube([4,16,7.3]);
36 #translate([-1,0,16/2]) rotate([0,90,0]) cylinder(r=2,h=20,$fn=16);
37 }
38}