c2b6a5ce |
1 | module base(){ |
2 | translate([-1,-2,0]) cube([22,54,20]); |
3 | |
4 | } |
5 | |
6 | module holes(){ |
7 | //translate to center of the main block |
8 | translate([11,25,0]){ |
9 | translate([0,0,-1]) cylinder(r=9, h=22); |
10 | translate([0,21,-1]) cylinder(r=2, h=22); |
11 | translate([0,-21,-1]) cylinder(r=2, h=22); |
12 | translate([0,21,3]) cylinder(r=3.5, h=22); |
13 | translate([0,-21,3]) cylinder(r=3.5, h=22); |
14 | //cutout for bearing |
15 | |
16 | translate([11,0,-4.5+10]) cylinder(r=11, h=20); |
17 | } |
18 | //filament hole |
19 | translate([1.5+11+3.5,65,10]) rotate([90,0,0])cylinder(r=2, h=70); |
20 | //idler holse |
21 | translate([11,25,10]){ |
22 | translate([-30,15,-5]) rotate([0,90,0]) cylinder(r=2.2, h=70); |
23 | translate([-30,-15,-5]) rotate([0,90,0]) cylinder(r=2.2, h=70); |
24 | translate([-30,15,5]) rotate([0,90,0]) cylinder(r=2.2, h=70); |
25 | translate([-30,-15,5]) rotate([0,90,0]) cylinder(r=2.2, h=70); |
26 | } |
27 | } |
28 | |
29 | translate([-25,0,0])difference(){ |
30 | base(); |
31 | holes(); |
32 | } |
33 | |
34 | |
35 | //translate([-25,0,0]) difference(){ |
36 | //base(); |
37 | //holes(); |
38 | //} |
39 | //translate([1.5+11+3.5,65,10]) rotate([90,0,0])cylinder(r=1.5, h=70); |
40 | |
41 | |
42 | module idler_base(){ |
43 | translate([0.25,5,0]) cube([19.5,40,8+3]); |
44 | } |
45 | |
46 | module idler_holes(){ |
47 | translate([10,25,0]){ |
48 | cube([10,23,25], center= true); |
49 | translate([-12,0,4.1+2])rotate([0,90,0])cylinder(r=4.1, h=24); |
50 | |
51 | |
52 | translate([5,15,-1])cylinder(r=2.2, h=24); |
53 | translate([5,-15,-1])cylinder(r=2.2, h=24); |
54 | translate([-5,15,-1])cylinder(r=2.2, h=24); |
55 | translate([-5,-15,-1])cylinder(r=2.2, h=24); |
56 | } |
57 | } |
58 | |
59 | //difference(){ |
60 | //idler_base(); |
61 | //idler_holes(); |
62 | //} |