Skip to content
Browse files

Added parameters to extruder drive block for adrian's print & fit...

  • Loading branch information...
1 parent a61e747 commit a5fc824b56d3f6c800387a531f905e8cf00ff331 @reprappro committed
Showing with 46 additions and 20 deletions.
  1. +46 −20 extruder-drive.scad
View
66 extruder-drive.scad
@@ -2,40 +2,46 @@ use <library.scad>;
use <gears.scad>;
include <config.scad>
+/* Modified by AB to move drive axis 1mm right + 1mm down, and idler 1mm down */
+a_mods=true; // Set false for JMG's original
+drive_offset_y=16; // Set to 17 for JMG's original
+
$fn=64;
filament_d=1.75+0.3;
filament_offset_x=(5/2+filament_d/2+2.5);
echo(filament_offset_x);
-drive_offset_y=17;
bite=-0.5;
//da8=sqrt(2+sqrt(2))/4;
-echo(da8);
+//echo(da8);
//NEMA14();
mirror([1,0,0]) drive_block();
-translate([0,0,21]) rotate([0,180,0])
-//translate([28,2,14]) rotate([0,180,0])
- small_gear();
-translate([-(filament_offset_x+filament_d/2+5.6/2-bite),drive_offset_y,17.5])
- large_gear();
+
+//translate([0,0,21]) rotate([0,180,0]) small_gear(); // Assembly position
+//translate([28,2,11.5]) rotate([0,180,0]) small_gear(); // Print position
+
+//translate([-(filament_offset_x+filament_d/2+5.6/2-bite),drive_offset_y,17.5]) large_gear();// Assembly position
+//translate([28,43,7])rotate([180,0,0]) large_gear(); // Print position
+
//echo("gear sep",sqrt(pow(filament_offset_x+filament_d/2+5.6/2-bite,2)+pow(drive_offset_y,2)));
module drive_block(){
difference(){
union(){
translate([0,5,7]) cube([34,44,14],center=true);
- translate([17,24,3]) rotate([0,-90,0]){
+ translate([17,24,3]) rotate([0,-90,0])
+ {
cylinder(r=3,h=40);
translate([-3,0,0]) cube([3,3,40]);
}
- //boss for carriage mount hole
- rotate([90,0,0]) translate([19,7,9.5]) rotate([0,0,22.5]) cylinder(r=14*da8,h=7.5,$fn=8);
- //boss for idler tensioner hole
- translate([15.6,24,14]) rotate([0,-90,0]) cylinder(r=3,h=20.6);
- //
- translate([filament_offset_x+filament_d/2+5.6/2-bite,drive_offset_y,0]) cylinder(r=6.65,h=17);
- translate([3,0,0]) cube([14,24,17]);
+ //boss for carriage mount hole
+ rotate([90,0,0]) translate([19,7,9.5]) rotate([0,0,22.5]) cylinder(r=14*da8,h=7.5,$fn=8);
+ //boss for idler tensioner hole
+ translate([15.6,24,14]) rotate([0,-90,0]) cylinder(r=3,h=20.6);
+ //
+ translate([filament_offset_x+filament_d/2+5.6/2-bite,drive_offset_y,0]) cylinder(r=6.65,h=17);
+ translate([3,0,0]) cube([14,24,17]);
}
//****idler****
translate([filament_offset_x-filament_d/2-5,drive_offset_y,5]){
@@ -44,7 +50,14 @@ module drive_block(){
rotate([0,0,22.5]) cylinder(r=3.3*da8,h=40,center=true,$fn=8);
translate([-10,0,2.5]) cube([20,14,5],center=true);
translate([-15,2,2.4]) difference(){
- cube([20,18,15],center=true);
+ if(a_mods)
+ {
+ translate([0,1,0])
+ cube([20,20,15],center=true);
+ } else
+ {
+ cube([20,18,15],center=true);
+ }
translate([10-3,3-9,0]) difference(){
translate([3,-3,0]) cube([6,6,15],center=true);
cylinder(r=3,h=15,center=true);
@@ -54,11 +67,24 @@ module drive_block(){
translate([filament_offset_x-0.5-3,0,-0.1]) cube([1,30,20]);
//****drive****
- translate([filament_offset_x+filament_d/2+5.6/2-bite,drive_offset_y,2.5]){
- translate([0,0,-3]) cylinder(r=8.8/2,h=20);
- translate([0,0,-0.6]) scale([1,1,1.1]) scale([1.03,1.03,1]) bearing_623();
- translate([0,0,14.5]) scale([1,1,2]) scale([1.03,1.03,1]) bearing_623();
+ if(a_mods)
+ {
+ translate([filament_offset_x+filament_d/2+3.6/2-bite,drive_offset_y,2.5])
+ {
+ translate([0,0,-3]) cylinder(r=8.8/2,h=20);
+ translate([0,0,-0.6]) scale([1,1,1.1]) scale([1.03,1.03,1]) bearing_623();
+ translate([0,0,14.5]) scale([1,1,2]) scale([1.03,1.03,1]) bearing_623();
+ }
+ } else
+ {
+ translate([filament_offset_x+filament_d/2+5.6/2-bite,drive_offset_y,2.5])
+ {
+ translate([0,0,-3]) cylinder(r=8.8/2,h=20);
+ translate([0,0,-0.6]) scale([1,1,1.1]) scale([1.03,1.03,1]) bearing_623();
+ translate([0,0,14.5]) scale([1,1,2]) scale([1.03,1.03,1]) bearing_623();
+ }
}
+
//****filament path****
translate([filament_offset_x,0,7.5]) rotate([90,0,0]){

0 comments on commit a5fc824

Please sign in to comment.
Something went wrong with that request. Please try again.