--- /dev/null
+module extruder_idler_base(){\r
+ translate([1.25,0,0]) union() {\r
+ cube([22,42+11,8+3]);\r
+ translate([0, 42/2, 7])\r
+ scale([1, 3, 1])\r
+ rotate([0, 90, 0])\r
+ cylinder(h = 22,r = 5.5);\r
+}\r
+ \r
+}\r
+\r
+module extruder_idler_holes(){\r
+ translate([12,21,0]){\r
+ // Main cutout\r
+ cube([11,23,25], center=true);\r
+ // Idler shaft\r
+ translate([-12,0,4.1+2])rotate([0,90,0])cylinder(r=4.1, h=24);\r
+ // Screw holes\r
+ //translate([7,-16,-1]) cylinder(r=2.2, h=24);\r
+ //translate([-7,-16,-1]) cylinder(r=2.2, h=24);\r
+ hull() {\r
+ translate([7,17,-1]) cylinder(r=2.2, h=24);\r
+ translate([7,17,-1]) rotate([10,0,0]) cylinder(r=2.2, h=24);\r
+ }\r
+ hull() {\r
+ translate([-7,17,-1]) cylinder(r=2.2, h=24);\r
+ translate([-7,17,-1]) rotate([10,0,0]) cylinder(r=2.2, h=24);\r
+ }\r
+ }\r
+}\r
+\r
+\r
+// Idler final part\r
+module idler(){\r
+ difference(){\r
+ extruder_idler_base();\r
+ extruder_idler_holes();\r
+ translate([0,41,-1]) cube(size=[25,20,20]); // <<<\r
+ }\r
+}\r
+\r
+idler();\r
+translate([0,-6,0]) screwholder();\r
+\r
+//module screwholder() {\r
+ //difference() {\r
+ //hull() {\r
+ // translate([4,0,0]) cylinder(r=4,h=5);\r
+ // translate([20,0,0]) cylinder(r=4,h=5);\r
+ //}\r
+ //translate([5,0,-1])cylinder(r=2.2, h=24);\r
+ //translate([19,0,-1])cylinder(r=2.2, h=24);\r
+ //translate([5,0,2])cylinder(r=6/2, h=24);\r
+ //translate([19,0,2])cylinder(r=6/2, h=24);\r
+//}\r
+//}\r