z-axis: make zmotor_delta_{x,y} use local coordinate system
[clinton/prusa3.git] / box_frame / y-axis-corner.scad
index ccd8ddb..27bbf32 100644 (file)
@@ -4,8 +4,15 @@
 // Josef Průša <josefprusa@me.com>
 // Václav 'ax' Hůla <axtheb@gmail.com>
 // http://www.reprap.org/wiki/Prusa_Mendel
-// http://github.com/prusajr/PrusaMendel
+// http://github.com/josefprusa/Prusa3
 
+// ThingDoc entry
+/**
+ * @id yCorner
+ * @name Y Axis Corner
+ * @category Printed
+ */
 include <configuration.scad>
 use <y-drivetrain.scad>
 
@@ -16,10 +23,10 @@ module nutrod(r=4.4){
     }
 }
 
-/*
-   20 mm betwenn the front threaded rods
-   25 mm between the side threaded and smooth rod
- */
+
+// 20 mm betwenn the front threaded rods
+// 25 mm between the side threaded and smooth rod
 
 module leftfront(thru = false){
     y_end_plug=2;
@@ -28,9 +35,9 @@ module leftfront(thru = false){
 
         difference(){
             if (thru == false) {
-                translate([0,0,12-board_thickness]) cube_fillet([22, 22, 37 + board_thickness + xy_delta], vertical=[4,4,4,4], top=[2,6,6,6], fn=8);
+                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);
             } else {
-                translate([0,0,12-board_thickness]) cube_fillet([22, 22, 38.5 + board_thickness + xy_delta], vertical=[4,4,4,4], top=[2,4,9,4], fn=8);
+                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);
             }
 
             //threaded rods across (short)
@@ -41,23 +48,23 @@ module leftfront(thru = false){
 
             if(thru==false){
                 //Leave space on part top thru which the rod is inserted, but not too big so it still snaps in
-                translate([11, 15 + y_end_plug, 45 + bushing_xy[0] * 0.75 + xy_delta]) cube([bushing_xy[0] * 2.05, 30, 4], center=true);
+                translate([11, 15 + y_end_plug, 48 + bushing_xy[0] * 0.75 + xy_delta]) cube([bushing_xy[0] * 2.05, 30, 4], center=true);
                 //Actual smoooth rod
-                translate([11, y_end_plug, 45 + xy_delta]) rotate([0, 90, 90]) cylinder(h = 270, r=bushing_xy[0]);
+                translate([11, y_end_plug, 48 + xy_delta]) rotate([0, 90, 90]) cylinder(h = 270, r=bushing_xy[0]);
             }else{
-                translate([11, 17-5, 45 + 2.05 + xy_delta]) cube([8.2, 30, 4.1], center=true);
-                translate([11, -3, 45 + xy_delta]) rotate([0, 90, 90]) cylinder(h = 270, r=4.0);
+                translate([11, 17-5, 48 + 2.05 + xy_delta]) cube([8.2, 30, 4.1], center=true);
+                translate([11, -3, 48 + xy_delta]) rotate([0, 90, 90]) cylinder(h = 270, r=4.0);
             }
 
         }
 }
 
 leftfront();
-translate([25,0,0]) mirror([1,0,0]) leftfront();
+translate([40,0,0]) mirror([1,0,0]) leftfront();
 //translate([12,2,28]) rotate([0,0,0]) cube([10,4,1], center=true);
 
-translate([0,25,0]) {
+translate([0,40,0]) {
     leftfront();
-    translate([25,0,0]) mirror([1,0,0]) leftfront();
+    translate([40,0,0]) mirror([1,0,0]) leftfront();
     //translate([12,2,28]) rotate([0,0,0]) cube([10,4,1], center=true);
-}
\ No newline at end of file
+}