From 2159eed1c53c8c0f0d792685bc1fc56bb2afb194 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20=27Ax=27=20H=C5=AFla?= Date: Mon, 4 Jun 2012 11:24:21 +0200 Subject: [PATCH] Header change, minor fiddling with bushings, x-carriage refactor part I Also, I removed link to prusadjs.cz, as the blog is 2 years dead. --- bearing-guide.scad | 15 +++--- bushing.scad | 26 ++++----- complete-printer.scad | 4 +- inc/functions.scad | 7 ++- inc/metric.scad | 8 ++- x-carriage.scad | 123 +++++++++++++++++++++++++----------------- x-end.scad | 9 +++- y-axis-corner.scad | 7 +-- y-belt-holder.scad | 8 +++ y-driverain.scad | 7 +-- z-axis.scad | 8 +++ 11 files changed, 136 insertions(+), 86 deletions(-) rewrite x-carriage.scad (71%) diff --git a/bearing-guide.scad b/bearing-guide.scad index abf6de5..42f5e78 100644 --- a/bearing-guide.scad +++ b/bearing-guide.scad @@ -1,11 +1,9 @@ -// This one is AWESOME design by Greg Frost!! - -// PRUSA Mendel +// PRUSA iteration3 // Bearing guide // GNU GPL v3 -// Josef Průša -// josefprusa@me.com -// prusadjs.cz +// Josef Průša +// Václav 'ax' Hůla +// Original design by Greg Frost // http://www.reprap.org/wiki/Prusa_Mendel // http://github.com/prusajr/PrusaMendel @@ -59,6 +57,11 @@ module outer() } inner(); +translate([idler_size+2*wall_ascent+2,0,0]) + outer(); +translate([0,idler_size+2*wall_ascent+2,0]){ +inner(); translate([idler_size+2*wall_ascent+2,0,0]) outer(); +} diff --git a/bushing.scad b/bushing.scad index 2f43455..c08ce3b 100644 --- a/bushing.scad +++ b/bushing.scad @@ -1,9 +1,8 @@ -// PRUSA Mendel -// Bushings +// PRUSA iteration3 +// Bushing/bearing housings // GNU GPL v3 -// Josef Průša -// josefprusa@me.com -// prusadjs.cz +// Josef Průša +// Václav 'ax' Hůla // http://www.reprap.org/wiki/Prusa_Mendel // http://github.com/prusajr/PrusaMendel @@ -40,7 +39,7 @@ module linear_bushing_square(h=11) { module linear_bushing_round(h=11) { difference(){ union(){ - translate([-10.5/2,0,h/2]) cube([10.5,15,h], center = true); + translate([-10.5/2,0,h/2]) cube([10.5,13.8,h], center = true); cylinder(r=7.5, h=h); } translate([0,0,-0.01]) cylinder(r=5.1, h=h+0.02); @@ -50,8 +49,8 @@ module linear_bushing_round(h=11) { module linear_bushing_bronze(h=11) { difference(){ union(){ - translate([-10.5/2,0,h/2]) cube([10.5,15,h], center = true); - cylinder(r=10.5, h=h); + translate([-10.5/2,0,h/2]) cube([10.5,13.8,h], center = true); + cylinder(r=10.7, h=h); } translate([0,0,-0.01]) cylinder(r=8.1, h=h+0.02); } @@ -78,7 +77,7 @@ module linear_bushing_long(h=30){ } module linear_bushing(h=65){ - translate([-9.5,0,h/2]) cube([2,15,h], center=true); + translate([-9.5,0,h/2]) cube([2,13.8,h], center=true); linear_bushing_long(h); if (h>30) { translate([0,0,h]) mirror([0,0,1]) linear_bushing_long(30); @@ -150,8 +149,8 @@ module y_bearing(float=false){ } -module linear_bearing(h=65){ - linear_holder_base(h); +module linear_bearing(h=65, fillet=false){ + linear_holder_base(h, fillet); translate([-(10-5.5)/2-lm8uu_radius+2,0,1]) cube([10-5.5,20,2], center = true); translate([-(10-5.5)/2-lm8uu_radius+2,0,h-1]) cube([10-5.5,20,2], center = true); if ( (h-4)/2 > lm8uu_length){ @@ -159,7 +158,7 @@ module linear_bearing(h=65){ } } -module linear_holder_base(length){ +module linear_holder_base(length, fillet=false){ difference(){ union(){ @@ -174,6 +173,9 @@ module linear_holder_base(length){ translate([10,0,length/2]) cube([20,14,length+4], center = true); //smooth entry cut translate([12,0,length/2]) rotate([0,0,45]) cube([20,20,length+4], center = true); + if (fillet) { + translate([0,0,carriage_l/2 ]) cube_negative_fillet([21,lm8uu_diameter+5,carriage_l], vertical=[0,2,2,0]); + } } } diff --git a/complete-printer.scad b/complete-printer.scad index 9d9816c..8277ed1 100644 --- a/complete-printer.scad +++ b/complete-printer.scad @@ -1,5 +1,5 @@ -// PRUSA Mendel -// Y frame corner +// PRUSA iteration3 +// Complete printer visualisation // GNU GPL v3 // Greg Frost // http://www.reprap.org/wiki/Prusa_Mendel diff --git a/inc/functions.scad b/inc/functions.scad index 5bcc4d0..894299f 100644 --- a/inc/functions.scad +++ b/inc/functions.scad @@ -1,9 +1,8 @@ -// PRUSA Mendel +// PRUSA iteration3 // Functions used in many files // GNU GPL v3 -// Josef Průša -// josefprusa@me.com -// prusadjs.cz +// Josef Průša +// Václav 'ax' Hůla // http://www.reprap.org/wiki/Prusa_Mendel // http://github.com/prusajr/PrusaMendel diff --git a/inc/metric.scad b/inc/metric.scad index b290c22..2b1b751 100644 --- a/inc/metric.scad +++ b/inc/metric.scad @@ -1,9 +1,7 @@ -// PRUSA Mendel +// PRUSA iteration3 // Default metric sizes // GNU GPL v3 -// Josef Průša -// josefprusa@me.com -// prusadjs.cz +// Josef Průša // http://www.reprap.org/wiki/Prusa_Mendel // http://github.com/prusajr/PrusaMendel @@ -35,4 +33,4 @@ bushing_material_thickness = 1; // Motors -motor_shaft = 5.5; \ No newline at end of file +motor_shaft = 5.5; diff --git a/x-carriage.scad b/x-carriage.scad dissimilarity index 71% index d9312a1..b1504a0 100644 --- a/x-carriage.scad +++ b/x-carriage.scad @@ -1,50 +1,73 @@ -translate([0,13.8/2,0]) - difference(){ - translate([0,0,35]) cube([13.8,13.8,70], center = true); - translate([0,0,35]) cube([9,9,72], center = true); - } -translate([45,13.8/2,0]) - difference(){ - translate([0,0,15]) cube([13.8,13.8,30], center = true); - translate([0,0,35]) cube([9,9,72], center = true); - } - - -// main plate -difference(){ - translate([(45+13.8)/2-13.8/2,-2.5,35]) cube([45+13.8,5,70], center = true); - translate([55,-17.5, 35+25+10]) rotate([0,45,0]) cube([60,60,60], center = true); - -} - - -// mounting plate -difference(){ - translate([2.5-13.8/2, -17.5,35]) cube([5,35,70], center = true); - translate([2.5-13.8/2, -17.5,35]) cube([7,25,25], center = true); - translate([0,-17.5, 35-25]) rotate([0,-90,0]) cylinder(h = 80, r=2.5, $fn=30); - translate([0,-17.5, 35+25]) rotate([0,-90,0]) cylinder(h = 80, r=2.5, $fn=30); -} - - - -// belt dummy -translate([45/2,13.8/2,0]){ - - %translate([0,0,35]) cube([20,6,70], center = true); - - translate([-13.5,0,17.5]) #cube([7,14,35], center = true); - - - difference(){ - translate([-5.5,0,17.5]) cube([7,14,35], center = true); - translate([-5.5,0,17.5]) cube([9,10,10], center = true); - - - for ( i = [0 : 11] ) - { - translate([-8.5,0,1+i*3]) cube([2,10,2], center = true); - } - } - -} +// PRUSA iteration3 +// X carriage +// GNU GPL v3 +// Josef Průša +// Václav 'ax' Hůla +// http://www.reprap.org/wiki/Prusa_Mendel +// http://github.com/prusajr/PrusaMendel + +include +use + +carriage_l = 70; + +//upper (long) bearing +translate([0,0,0]) rotate([0,0,180]) { + if (bearing_choice == 2) { + linear_bearing(carriage_l, fillet = true); + %linear_bushing(carriage_l); + } else { + linear_bushing(carriage_l); + %linear_bearing(carriage_l); + } +} + +//lower bearing +translate([45,0,0]) { + if (bearing_choice == 2) { + linear_bearing(30); + %linear_bushing(25); + } else { + linear_bushing(25); + %linear_bearing(30); + } +} + +// main plate +difference(){ + translate([7,-9,0]) cube_fillet([45-18+4,5,carriage_l], radius=2); + #translate([55,-17.5, 67]) rotate([0,70,0]) cube([80,60,60], center = true); +} + +/* +// mounting plate +difference(){ + translate([2.5-13.8/2, -17.5,35]) cube([5,35,carriage_l], center = true); + translate([2.5-13.8/2, -17.5,35]) cube([7,25,25], center = true); + translate([0,-17.5, 35-25]) rotate([0,-90,0]) cylinder(h = 80, r=2.5, $fn=30); + translate([0,-17.5, 35+25]) rotate([0,-90,0]) cylinder(h = 80, r=2.5, $fn=30); +} +*/ + +translate([45/2,0,0]){ + + // belt dummy + %translate([0,0,carriage_l/2]) cube([20,6,carriage_l], center = true); + + //belt flat side + translate([-11,0,carriage_l/2]) cube_fillet([2,14,carriage_l], vertical = [3,0,0,0], center = true); + + difference(){ + translate([-5.5,0,carriage_l/2]) cube_fillet([7,14,carriage_l], vertical = [2,2,0,0], center = true); + translate([-5.5,0,carriage_l/2]) cube([9,10,40], center = true); + + intersection() { + for (i = [0 : carriage_l/belt_tooth_distance]) + { + translate([-8.5, 0, 1+i*belt_tooth_distance]) cube([2, 10, belt_tooth_distance*belt_tooth_stride], center = true); + } + translate([0, 0, carriage_l/2]) cube([20, 10, carriage_l], center = true); + } + } + +} diff --git a/x-end.scad b/x-end.scad index b2d1c87..fad142c 100644 --- a/x-end.scad +++ b/x-end.scad @@ -1,3 +1,11 @@ +// PRUSA iteration3 +// X ends +// GNU GPL v3 +// Josef Průša +// Václav 'ax' Hůla +// http://www.reprap.org/wiki/Prusa_Mendel +// http://github.com/prusajr/PrusaMendel + include use rod_distance = 45; @@ -43,7 +51,6 @@ module x_end_idler(vfillet=[3,3,3,3], thru=true){ bushing_negative(60); } //rotate([0,0,0]) translate([0,-9.5,0]) - echo(bearing_choice); if (bearing_choice == 1) { linear_bushing(); } else { diff --git a/y-axis-corner.scad b/y-axis-corner.scad index 34cd1cf..9318af9 100644 --- a/y-axis-corner.scad +++ b/y-axis-corner.scad @@ -1,7 +1,8 @@ -// PRUSA Mendel -// Y frame corner +// PRUSA iteration3 +// Y frame corners // GNU GPL v3 -// Greg Frost +// Josef Průša +// Václav 'ax' Hůla // http://www.reprap.org/wiki/Prusa_Mendel // http://github.com/prusajr/PrusaMendel diff --git a/y-belt-holder.scad b/y-belt-holder.scad index abd1a3e..fd53726 100644 --- a/y-belt-holder.scad +++ b/y-belt-holder.scad @@ -1,3 +1,11 @@ +// PRUSA iteration3 +// Y belt holder +// GNU GPL v3 +// Josef Průša +// Václav 'ax' Hůla +// http://www.reprap.org/wiki/Prusa_Mendel +// http://github.com/prusajr/PrusaMendel + include translate([10+16, 0, 0]){ diff --git a/y-driverain.scad b/y-driverain.scad index 3235b01..987b70f 100644 --- a/y-driverain.scad +++ b/y-driverain.scad @@ -1,7 +1,8 @@ -// PRUSA Mendel -// Y drivetrain (except bed parts) +// PRUSA iteration3 +// Y drivetrain (idler and stepper holders) // GNU GPL v3 -// Josef Prusa +// Josef Průša +// Václav 'ax' Hůla // http://www.reprap.org/wiki/Prusa_Mendel // http://github.com/prusajr/PrusaMendel diff --git a/z-axis.scad b/z-axis.scad index 77422e8..f0ad595 100644 --- a/z-axis.scad +++ b/z-axis.scad @@ -1,3 +1,11 @@ +// PRUSA iteration3 +// Z axis +// GNU GPL v3 +// Josef Průša +// Václav 'ax' Hůla +// http://www.reprap.org/wiki/Prusa_Mendel +// http://github.com/prusajr/PrusaMendel + include -- 2.20.1