tolerances changes

This commit is contained in:
veverkaondrej 2018-10-01 10:53:32 +01:00 committed by GitHub
parent 850447485d
commit 01ca411464
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 94 additions and 76 deletions

View File

@ -1,76 +1,94 @@
// PRUSA iteration4 // PRUSA iteration4
// Y holder front // Y holder front
// GNU GPL v3 // GNU GPL v3
// Josef Průša <iam@josefprusa.cz> and contributors // Josef Průša <iam@josefprusa.cz> and contributors
// http://www.reprap.org/wiki/Prusa_Mendel // http://www.reprap.org/wiki/Prusa_Mendel
// http://prusamendel.org // http://prusamendel.org
module ziptie_round_edge() module ziptie_round_edge()
{ {
difference() difference()
{ {
translate([0,0,0]) rotate([90,0,0]) cylinder( h=3.2, r=4, $fn=50 ); translate([0,0,0]) rotate([90,0,0]) cylinder( h=3.2, r=4, $fn=50 );
translate([0,1,0]) rotate([90,0,0]) cylinder( h=5, r=2, $fn=50 ); translate([0,1,0]) rotate([90,0,0]) cylinder( h=5, r=2, $fn=50 );
translate([-10,-4,0]) cube([20,5,5]); translate([-10,-4,0]) cube([20,5,5]);
translate([-20,-4,-13]) cube([20,5,20]); translate([-20,-4,-13]) cube([20,5,20]);
} }
} }
module part() module part()
{ {
difference() difference()
{ {
union() union()
{ {
// body block // body block
translate([-13,0,0]) cube([26,10,12]); difference() {
translate([-4,0,-1.5]) cube([8,10,2]); translate([-13,-3,0]) cube([26,10,12]);
}
// upper corners
// y-axis cut translate([4,-3.5,20]) rotate([0,60,0]) cube([20,30,20]);
translate([0,11,10.5]) rotate([90,0,0]) cylinder( h=14, r=4, $fn=50 ); translate([-21.2,-3.5,30]) rotate([0,120,0]) cube([20,30,20]);
translate([0,11,10.5]) rotate([90,0,0]) cylinder( h=2, r1=4.5, r2=4, $fn=50 ); translate([-15,-3.3,-6]) rotate([45,0,0]) cube([30,5,5]);
translate([0,1,10.5]) rotate([90,0,0]) cylinder( h=2, r1=4, r2=4.5, $fn=50 ); translate([15,7.3,-6]) rotate([45,0,180]) cube([30,5,5]);
translate([-7,-1,14.5]) rotate([0,45,0]) cube([10,20,10]); }
translate([0,11,10.5]) rotate([90,0,0]) cylinder( h=1.4, r1=5, r2=4, $fn=50 ); difference() {
translate([-4,2,-2]) cube([8,5,3]);
// screw holes
translate([-5.5,9,3.5]) rotate([90,0,0]) cylinder( h=10, r=1.6, $fn=60 ); // upper corners
translate([5.5,9,3.5]) rotate([90,0,0]) cylinder( h=20, r=1.6, $fn=60 ); translate([-15,2,-7.07]) rotate([45,0,0]) cube([30,5,5]);
translate([-5.5,1,3.5]) rotate([90,0,0]) cylinder( h=2, r1=1.6, r2=2.6, $fn=60 ); translate([15,9.5,-6]) rotate([45,0,180]) cube([30,5,5]);
translate([5.5,1,3.5]) rotate([90,0,0]) cylinder( h=2, r1=1.6, r2=2.6, $fn=60 ); }
}
// ziptie
translate([7.8,8.4,9]) ziptie_round_edge(); // y-axis cut
translate([-7.8,5.2,9]) rotate([0,0,180]) ziptie_round_edge(); translate([0,11,10.5]) rotate([90,0,0]) cylinder( h=14, r=4, $fn=50 );
translate([-8.1,5.2,5]) cube([16.2,3.2,2]); translate([0,8,10.5]) rotate([90,0,0]) cylinder( h=2, r1=4.5, r2=4, $fn=50 );
translate([0.8,5.2,24.5]) rotate([0,60,0]) cube([20,3.2,2]); translate([0,-2,10.5]) rotate([90,0,0]) cylinder( h=2, r1=4, r2=4.5, $fn=50 );
translate([-1.8,5.2,26.5]) rotate([0,120,0]) cube([20,3.2,2]); translate([-7,-4,14.5]) rotate([0,45,0]) cube([10,20,10]);
translate([0,8,10.5]) rotate([90,0,0]) cylinder( h=1.4, r1=5, r2=4, $fn=50 );
// nuts
translate([-8.2,1.5,-3.4]) cube([5.6,2.1,10]); // screw holes
translate([2.8,1.5,-3.4]) cube([5.6,2.1,10]); translate([-5.5,4,3.5]) rotate([90,0,0]) cylinder( h=20, r=1.55, $fn=60 );
translate([5.5,4,3.5]) rotate([90,0,0]) cylinder( h=20, r=1.55, $fn=60 );
// nut print supports translate([-5.5,-2.4,3.5]) rotate([90,0,0]) cylinder( h=2, r1=1.5, r2=2.6, $fn=60 );
translate([-8.2,1.8,3.5-3.2/2]) cube([5.6,2.1,3.2]); translate([5.5,-2.4,3.5]) rotate([90,0,0]) cylinder( h=2, r1=1.5, r2=2.6, $fn=60 );
translate([2.8,1.8,3.5-3.2/2]) cube([5.6,2.1,3.2]);
translate([-7.1,2.1,3.5-3.2/2]) cube([3.2,2.1,3.2]);
translate([3.9,2.1,3.5-3.2/2]) cube([3.2,2.1,3.2]); // ziptie
translate([7.8,5.75,9]) ziptie_round_edge();
translate([-7.8,2.55,9]) rotate([0,0,180]) ziptie_round_edge();
// upper corners translate([-8.1,2.55,5]) cube([16.2,3.2,2]);
translate([4,-1,20]) rotate([0,60,0]) cube([20,30,20]); translate([0.8,2.55,25]) rotate([0,60,0]) cube([20,3.2,2]);
translate([-21.2,-1,30]) rotate([0,120,0]) cube([20,30,20]); translate([-1.8,2.55,27]) rotate([0,120,0]) cube([20,3.2,2]);
translate([-5,-6.4,-2]) cube([10,10,2]);
translate([-15,10,-6.5]) rotate([45,0,0]) cube([30,5,5]);
translate([-15,3.6,-7.1]) rotate([45,0,0]) cube([30,5,5]); // nuts
difference () {
} union(){
} translate([-8.2,-0.45,-3.4]) cube([5.6,2.1,10]);
translate([2.8,-0.45,-3.4]) cube([5.6,2.1,10]);}
rotate([90,0,0])part(); // nut holding '
translate([-14,-0.45,-0.02]) cube([24,0.5,0.5]);
}
// nut print supports
translate([-8.2,-0.25,3.5-3.2/2]) cube([5.6,2.1,3.2]);
translate([2.8,-0.25,3.5-3.2/2]) cube([5.6,2.1,3.2]);
translate([-7.1,0,3.5-3.2/2]) cube([3.2,2.1,3.2]);
translate([3.9,0,3.5-3.2/2]) cube([3.2,2.1,3.2]);
// upper corners
}
}
rotate([90,0,0])part();