Very basic import of modified Wilson TS/2 x-ends
[clinton/prusa3.git] / box_frame / y-axis-corner.scad
CommitLineData
2159eed1
VAH
1// PRUSA iteration3
2// Y frame corners
d3618a65 3// GNU GPL v3
2159eed1
VAH
4// Josef Průša <josefprusa@me.com>
5// Václav 'ax' Hůla <axtheb@gmail.com>
d3618a65 6// http://www.reprap.org/wiki/Prusa_Mendel
8e93419f 7// http://github.com/josefprusa/Prusa3
d3618a65 8
65a72cd5
T
9// ThingDoc entry
10/**
11 * @id yCorner
12 * @name Y Axis Corner
13 * @category Printed
14 */
15
d3618a65 16include <configuration.scad>
eb66dab2 17use <y-drivetrain.scad>
d3618a65 18
c338af9c 19module nutrod(r=4.4){
fe687d90 20 //threared rods
7e896b17 21 rotate([0,90,0]){
c338af9c 22 translate([0,0,-5]) cylinder(h = 270, r=r, $fn=30);
7e896b17 23 }
d3618a65
NZ
24}
25
7b892aca
T
26
27// 20 mm betwenn the front threaded rods
28// 25 mm between the side threaded and smooth rod
29
3ade0448 30
639d402a 31module leftfront(thru = false){
fe687d90 32 y_end_plug=2;
7e896b17 33 // translate so the rod is on x = 0
fe687d90 34 translate([-11,-y_end_plug,0])
d3618a65 35
7e896b17 36 difference(){
639d402a 37 if (thru == false) {
2e47cce1 38 translate([0,0,12-board_thickness]) cube_fillet([22, 22, 40 + board_thickness + xy_delta], vertical=[4,4,4,4], top=[2,6,6,6], fn=8);
639d402a 39 } else {
2e47cce1 40 translate([0,0,12-board_thickness]) cube_fillet([22, 22, 41.5 + board_thickness + xy_delta], vertical=[4,4,4,4], top=[2,4,9,4], fn=8);
639d402a 41 }
d3618a65 42
fe687d90 43 //threaded rods across (short)
3ade0448
VAH
44 translate([0,11,10]) rotate([0,0,0]) nutrod();
45 translate([0,11,30]) rotate([0,0,0]) nutrod();
fe687d90
VAH
46 //threaded rod along (long, M10)
47 translate([11, 0, 14.6 + y_threaded_rod_long_r]) rotate([0,0,90]) nutrod(r=y_threaded_rod_long_r);
d3618a65 48
7e896b17 49 if(thru==false){
fe687d90 50 //Leave space on part top thru which the rod is inserted, but not too big so it still snaps in
2e47cce1 51 translate([11, 15 + y_end_plug, 48 + bushing_xy[0] * 0.75 + xy_delta]) cube([bushing_xy[0] * 2.05, 30, 4], center=true);
fe687d90 52 //Actual smoooth rod
2e47cce1 53 translate([11, y_end_plug, 48 + xy_delta]) rotate([0, 90, 90]) cylinder(h = 270, r=bushing_xy[0]);
7e896b17 54 }else{
2e47cce1
VAH
55 translate([11, 17-5, 48 + 2.05 + xy_delta]) cube([8.2, 30, 4.1], center=true);
56 translate([11, -3, 48 + xy_delta]) rotate([0, 90, 90]) cylinder(h = 270, r=4.0);
7e896b17 57 }
d3618a65 58
7e896b17 59 }
d3618a65
NZ
60}
61
ec766838 62leftfront();
4232ca18 63translate([40,0,0]) mirror([1,0,0]) leftfront();
ec766838 64//translate([12,2,28]) rotate([0,0,0]) cube([10,4,1], center=true);
0a84ec19 65
4232ca18 66translate([0,40,0]) {
ec766838 67 leftfront();
4232ca18 68 translate([40,0,0]) mirror([1,0,0]) leftfront();
ec766838 69 //translate([12,2,28]) rotate([0,0,0]) cube([10,4,1], center=true);
2e47cce1 70}