]> www.fi.muni.cz Git - things.git/blob - i3-idler.scad
firefly q6 case: side hooks
[things.git] / i3-idler.scad
1 module extruder_idler_base(){\r
2  translate([1.25,0,0]) union() {\r
3         cube([22,42+11,8.2+3]);\r
4         translate([0, 42/2, 7.2])\r
5                 scale([1, 3, 1])\r
6                 rotate([0, 90, 0])\r
7                 cylinder(h = 22,r = 5.5);\r
8 }\r
9         \r
10 }\r
11 \r
12 module extruder_idler_holes(){\r
13  translate([12,21,0]){\r
14   // Main cutout\r
15   cube([11,23,30], center=true);\r
16   // Idler shaft\r
17   // translate([-12,0,4.1+2])rotate([0,90,0])cylinder(r=4.1, h=24);\r
18   translate([-12,0,4.6+2])rotate([0,90,0])cylinder(r=4.0, h=24);\r
19   // Screw holes\r
20   //translate([7,-16,-1]) cylinder(r=2.2, h=24);\r
21   //translate([-7,-16,-1]) cylinder(r=2.2, h=24);\r
22   hull() {\r
23     translate([7,17,-1]) cylinder(r=2.2, h=24);\r
24     translate([7,17,-1]) rotate([10,0,0]) cylinder(r=2.2, h=24);\r
25   }\r
26   hull() {\r
27     translate([-7,17,-1]) cylinder(r=2.2, h=24);\r
28     translate([-7,17,-1]) rotate([10,0,0]) cylinder(r=2.2, h=24);\r
29   }\r
30  }\r
31 }\r
32 \r
33 \r
34 // Idler final part\r
35 module idler(){\r
36  difference(){\r
37   extruder_idler_base();\r
38   extruder_idler_holes();\r
39   translate([0,41,-1]) cube(size=[25,20,20]); // <<<\r
40  }\r
41 }\r
42 \r
43 idler();\r
44 translate([0,-6,0]) screwholder();\r
45 \r
46 //module screwholder() {\r
47         //difference() {\r
48                 //hull() {\r
49                 //      translate([4,0,0]) cylinder(r=4,h=5);\r
50                 //      translate([20,0,0]) cylinder(r=4,h=5);\r
51                 //}\r
52                 //translate([5,0,-1])cylinder(r=2.2, h=24);\r
53                 //translate([19,0,-1])cylinder(r=2.2, h=24);\r
54                 //translate([5,0,2])cylinder(r=6/2, h=24);\r
55                 //translate([19,0,2])cylinder(r=6/2, h=24);\r
56 //}\r
57 //}\r