1. Added new STL of the Einsy-base as a variant without the fixed raspberry

cover, instead you could print the raspberry_cover.stl for the clip-in
cover.

2. In all .scad files that have a revision stamp in it a variable "rev" in the
beginning of the code was introduced and used in the 'text' functions
instad of using strings directly.
Exapmle:
	rev = "R3";
	text(rev, font = "helvetica:style=Bold", size=6, center=true);

3. In the Einsy-base.scad a few commented lines were added to load the
removable raspberry_cover.stl for referenc purpose, and comments on
which lines were commented to produce the Einsy-base_no_raspy-cover.stl.
Therefore the Revision got bumped to "R3a".
pull/129/head
VuiMuich 2019-04-02 19:38:41 +02:00
parent 3175670635
commit 6359456d6b
12 changed files with 60516 additions and 30 deletions

View File

@ -5,6 +5,7 @@
// http://www.reprap.org/wiki/Prusa_Mendel // http://www.reprap.org/wiki/Prusa_Mendel
// http://prusamendel.org // http://prusamendel.org
rev = "R3a";
module CubicPattern(Xdim, Ydim) module CubicPattern(Xdim, Ydim)
{ {
@ -209,7 +210,7 @@ module main_body()
translate( [ 13.5 , 41.7 , -1] ) cube( [ 12.7 , 9 , 9] ); translate( [ 13.5 , 41.7 , -1] ) cube( [ 12.7 , 9 , 9] );
translate( [ 17.2 , 38 , -1] ) cube( [ 9, 5 , 9] ); translate( [ 17.2 , 38 , -1] ) cube( [ 9, 5 , 9] );
} }
translate( [ 60 , 0 , 0] ) difference() translate( [ 60 , 0 , 0] ) difference()
@ -220,7 +221,7 @@ module main_body()
translate( [ 9.0 , 42 , -1] ) cube( [ 12 , 9 , 9] ); translate( [ 9.0 , 42 , -1] ) cube( [ 12 , 9 , 9] );
translate( [ 8.8 , 38.5 , -1] ) cube( [ 9, 5 , 9] ); translate( [ 8.8 , 38.5 , -1] ) cube( [ 9, 5 , 9] );
} }
translate( [ 60 , 26 , 0] ) difference() translate( [ 60 , 26 , 0] ) difference()
{ {
translate( [ 17.3 , 41.8 , -1.1] ) cylinder( h = 9.2, r = 8, $fn=40); translate( [ 17.3 , 41.8 , -1.1] ) cylinder( h = 9.2, r = 8, $fn=40);
@ -228,7 +229,7 @@ module main_body()
translate( [ 8.5 , 33.5 , -1] ) cube( [ 9 , 12 , 9] ); translate( [ 8.5 , 33.5 , -1] ) cube( [ 9 , 12 , 9] );
translate( [ 17 , 33 , -1] ) cube( [ 4, 9 , 9] ); translate( [ 17 , 33 , -1] ) cube( [ 4, 9 , 9] );
} }
translate( [ 0 , 26 , 0] ) difference() translate( [ 0 , 26 , 0] ) difference()
{ {
@ -237,7 +238,10 @@ module main_body()
translate( [ 17.5 , 33.5 , -1] ) cube( [ 9 , 12 , 9] ); translate( [ 17.5 , 33.5 , -1] ) cube( [ 9 , 12 , 9] );
translate( [ 14 , 33.5 , -1] ) cube( [ 5, 9 , 9] ); translate( [ 14 , 33.5 , -1] ) cube( [ 5, 9 , 9] );
} }} }
}
}
@ -457,31 +461,36 @@ module cutouts(){
} }} } }}
//optional Raspberry cover for reference
module raspberry_cover()
{
//add loose inserted cover
import_stl("../STL/raspberry_cover.stl", convexity=5);
}
module rambo_cover() module rambo_cover()
{ {
// to print without the basic cover comment the following four lines
difference(){ difference(){
rambo_popout_cover (); rambo_popout_cover ();
cutouts(); cutouts();
} }
// raspberry_cover(); //raspberry cover printed seperately, stl just for reference
difference(){
difference(){
main_body(); main_body();
cutouts(); cutouts();
raspberry(); raspberry();
// main hole // main hole
translate( [ -10 , 28 , 26 ] ) rotate([0,90,0]) cylinder( h = 24, r = 6.8, $fn=30); translate( [ -10 , 28 , 26 ] ) rotate([0,90,0]) cylinder( h = 24, r = 6.8, $fn=30);
// cable opening slot // cable opening slot
translate( [ -15 , 25 , 30 ] ) cube( [ 30 , 6 , 10 ] ); translate( [ -15 , 25 , 30 ] ) cube( [ 30 , 6 , 10 ] );
translate( [17, 40, -1] ) cube( [62, 30, 10] );
} }
@ -674,8 +683,8 @@ translate([-5.6,-0.4,0.35]) cube([15,4,0.75]);
translate([21+58,81,-5]) cylinder( h = 24, r = 0.8, $fn=30); translate([21+58,81,-5]) cylinder( h = 24, r = 0.8, $fn=30);
translate([115,68,1.5]) rotate([0,0,90]) linear_extrude(height = 0.8) translate([115,65,1.5]) rotate([0,0,90]) linear_extrude(height = 0.8)
{ text("R3",font = "helvetica:style=Bold", size=6, center=true); } { text(rev, font = "helvetica:style=Bold", size=6, center=true); }
} }

View File

@ -5,6 +5,7 @@
// http://www.reprap.org/wiki/Prusa_Mendel // http://www.reprap.org/wiki/Prusa_Mendel
// http://prusamendel.org // http://prusamendel.org
rev = "R1";
module body() module body()
{ {
// side panels // side panels
@ -112,7 +113,7 @@ difference()
translate( [0 , -20, -3] ) rotate([0,45,45]) cube( [ 30, 30 , 20 ] ); translate( [0 , -20, -3] ) rotate([0,45,45]) cube( [ 30, 30 , 20 ] );
translate([30,79,1]) rotate([0,0,-90]) linear_extrude(height = 0.8) translate([30,79,1]) rotate([0,0,-90]) linear_extrude(height = 0.8)
{ text("R1",font = "helvetica:style=Bold", size=6, center=true); } { text(rev, font = "helvetica:style=Bold", size=6, center=true); }
} }
} }
@ -126,4 +127,4 @@ Einsy_doors();

View File

@ -5,6 +5,7 @@
// http://www.reprap.org/wiki/Prusa_Mendel // http://www.reprap.org/wiki/Prusa_Mendel
// http://prusamendel.org // http://prusamendel.org
rev = "R2";
module main_body() module main_body()
{ {
@ -189,7 +190,7 @@ difference()
// version // version
translate([-73,15,4]) rotate([90,0,90]) linear_extrude(height = 2) translate([-73,15,4]) rotate([90,0,90]) linear_extrude(height = 2)
{ text("R2",font = "helvetica:style=Bold", size=7, center=true); } { text(rev, font = "helvetica:style=Bold", size=7, center=true); }
} }

View File

@ -5,6 +5,7 @@
// http://www.reprap.org/wiki/Prusa_Mendel // http://www.reprap.org/wiki/Prusa_Mendel
// http://prusamendel.org // http://prusamendel.org
rev = "R4";
module fs_cover() module fs_cover()
{ {
@ -12,7 +13,7 @@ difference()
{ {
union() union()
{ {
translate([-17,-17,0]) cube([39,28,5]); translae([-17,-17,0]) cube([39,28,5]);
translate([0,-10,5]) cylinder(h=1,r=5,$fn = 60); translate([0,-10,5]) cylinder(h=1,r=5,$fn = 60);
translate([0,0,5]) cylinder(h=1,r=5,$fn = 60); translate([0,0,5]) cylinder(h=1,r=5,$fn = 60);
@ -43,8 +44,8 @@ difference()
// version // version
translate([-13,-9,0.7]) rotate([180,0,90]) linear_extrude(height = 0.75) translate([-13,-9,0.7]) rotate([180,0,90]) linear_extrude(height = 0.75)
{ text("R4",font = "helvetica:style=Bold", size=7, center=true); } { text(rev, font = "helvetica:style=Bold", size=7, center=true); }
} }
} }
fs_cover(); fs_cover();

View File

@ -5,7 +5,7 @@
// http://www.reprap.org/wiki/Prusa_Mendel // http://www.reprap.org/wiki/Prusa_Mendel
// http://prusamendel.org // http://prusamendel.org
rev = "R1";
module body() module body()
@ -80,7 +80,7 @@ module support()
// version // version
translate([-20,2,9.5]) rotate([0,0,0]) linear_extrude(height = 0.6) translate([-20,2,9.5]) rotate([0,0,0]) linear_extrude(height = 0.6)
{ text("R1",font = "helvetica:style=Bold", size=5, center=true); } { text(rev, font = "helvetica:style=Bold", size=5, center=true); }
} }
} }

View File

@ -5,6 +5,7 @@
// http://www.reprap.org/wiki/Prusa_Mendel // http://www.reprap.org/wiki/Prusa_Mendel
// http://prusamendel.org // http://prusamendel.org
rev = "R4";
module m3head() module m3head()
{ {
@ -132,7 +133,7 @@ module x_carriage_back()
// version // version
translate([-13,-30,22.5]) rotate([0,0,0]) linear_extrude(height = 0.75) translate([-13,-30,22.5]) rotate([0,0,0]) linear_extrude(height = 0.75)
{ text("R4",font = "helvetica:style=Bold", size=6, center=true); } { text(rev, font = "helvetica:style=Bold", size=6, center=true); }
// upper ziptie left // upper ziptie left

View File

@ -6,6 +6,7 @@
// http://prusamendel.org // http://prusamendel.org
use <bearing.scad> use <bearing.scad>
rev = "R4";
module belt_cut() module belt_cut()
{ {
@ -389,7 +390,7 @@ module x_carriage()
//version //version
translate([-11,-2,0.7]) rotate([0,180,0]) linear_extrude(height = 0.75) translate([-11,-2,0.7]) rotate([0,180,0]) linear_extrude(height = 0.75)
{ text("R4",font = "helvetica:style=Bold", size=6, center=true); } { text(rev, font = "helvetica:style=Bold", size=6, center=true); }
} }

View File

@ -6,6 +6,7 @@
// http://prusamendel.org // http://prusamendel.org
use <x-end.scad> use <x-end.scad>
rev = "R3";
module x_end_idler_holes() module x_end_idler_holes()
{ {
@ -172,7 +173,7 @@ module x_end_idler()
translate([-25,7.5,-1]) rotate([0,0,45]) cube([10,10,100]); translate([-25,7.5,-1]) rotate([0,0,45]) cube([10,10,100]);
//version //version
translate([-23.7,-25,2]) rotate([90,0,90]) linear_extrude(height = 0.6) translate([-23.7,-25,2]) rotate([90,0,90]) linear_extrude(height = 0.6)
{ text("R3",font = "helvetica:style=Bold", size=4, center=true); } { text(rev, font = "helvetica:style=Bold", size=4, center=true); }
} }
// bearings stop // bearings stop

View File

@ -6,6 +6,7 @@
// http://prusamendel.org // http://prusamendel.org
use <x-end.scad> use <x-end.scad>
rev = "R3";
module x_end_motor_base() module x_end_motor_base()
{ {
@ -108,7 +109,7 @@ module x_end_motor()
// version // version
translate([-23.2,-20,2]) rotate([90,0,270]) linear_extrude(height = 0.6) translate([-23.2,-20,2]) rotate([90,0,270]) linear_extrude(height = 0.6)
{ text("R3",font = "helvetica:style=Bold", size=4, center=true); } { text(rev, font = "helvetica:style=Bold", size=4, center=true); }
} }
translate([-15,10,6]) rotate([90,0,0]) cylinder(h=3, r=5, $fn=30); translate([-15,10,6]) rotate([90,0,0]) cylinder(h=3, r=5, $fn=30);

View File

@ -5,6 +5,7 @@
// http://www.reprap.org/wiki/Prusa_Mendel // http://www.reprap.org/wiki/Prusa_Mendel
// http://prusamendel.org // http://prusamendel.org
rev = "R3";
module z_bottom_base() module z_bottom_base()
{ {
translate([0,-1.5,0]) cube([7.5,49,16+20]); // plate touching the base translate([0,-1.5,0]) cube([7.5,49,16+20]); // plate touching the base
@ -128,7 +129,7 @@ module z_bottom_right()
z_bottom_holes(); z_bottom_holes();
} }
translate([7.3,25,14]) rotate([90,180,90]) linear_extrude(height = 0.6) translate([7.3,25,14]) rotate([90,180,90]) linear_extrude(height = 0.6)
{ text("R3",font = "helvetica:style=Bold", size=5, center=true); } { text(rev, font = "helvetica:style=Bold", size=5, center=true); }
} }
} }
@ -144,7 +145,7 @@ module z_bottom_left()
z_bottom_holes(); z_bottom_holes();
} }
translate([7.3,-28.5,14]) rotate([90,180,90]) linear_extrude(height = 0.6) translate([7.3,-28.5,14]) rotate([90,180,90]) linear_extrude(height = 0.6)
{ text("R3",font = "helvetica:style=Bold", size=5, center=true); } { text(rev, font = "helvetica:style=Bold", size=5, center=true); }
} }
} }

View File

@ -5,6 +5,7 @@
// http://www.reprap.org/wiki/Prusa_Mendel // http://www.reprap.org/wiki/Prusa_Mendel
// http://prusamendel.org // http://prusamendel.org
rev = "R2";
module z_top_base() module z_top_base()
{ {
translate([0,-5,0]) cube([8,45,16]); // plate touching the base translate([0,-5,0]) cube([8,45,16]); // plate touching the base
@ -84,7 +85,7 @@ module z_top_right(){
z_top_holes(); z_top_holes();
//version //version
translate([12,-1.5,10]) rotate([90,180,180]) linear_extrude(height = 0.6) translate([12,-1.5,10]) rotate([90,180,180]) linear_extrude(height = 0.6)
{ text("R2",font = "helvetica:style=Bold", size=4, center=true); } { text(rev, font = "helvetica:style=Bold", size=4, center=true); }
} }
} }
@ -97,7 +98,7 @@ module z_top_left(){
z_top_holes(); z_top_holes();
//version //version
translate([19,-1,10]) rotate([90,180,0]) linear_extrude(height = 0.6) translate([19,-1,10]) rotate([90,180,0]) linear_extrude(height = 0.6)
{ text("R2",font = "helvetica:style=Bold", size=4, center=true); } { text(rev, font = "helvetica:style=Bold", size=4, center=true); }
} }
} }

File diff suppressed because it is too large Load Diff