complete-printer - fix y axis and nuts
[clinton/prusa3.git] / doc / complete-printer.scad
index ae6aa59..25eada6 100644 (file)
@@ -13,18 +13,35 @@ use <../x-end.scad>
 use <../x-carriage.scad>
 
 module nutwasher(){
+       color("silver")
        difference(){
                union(){
-                       color("silver")cylinder(r=15/2,h=7,$fn=6);
-                       translate([0,0,7.5])color("silver")cylinder(r=8.5,h=1);
+                       translate([0,0,2])cylinder(r=15/2,h=7,$fn=6);
+                       translate([0,0,0.5])cylinder(r=8.5,h=1);
                }
                translate([0,0,-1])cylinder(r=8/2,h=12);                
        }
 }
 
-//motor and idler holding parts
-translate([56-yrodseparation/2,-y_smooth_rod_length/2+8,0]) rotate([0,90,0]) rotate([0,0,90]) motorholder();
-translate([70-yrodseparation/2,y_smooth_rod_length/2-33,22]) rotate([0,-90,0]) idlermount();
+// y motor mount
+translate([56-yrodseparation/2,-y_smooth_rod_length/2+9,0]) 
+{
+       rotate([0,90,0]) rotate([0,0,90]) motorholder();
+       translate([10,0,30])rotate([0,90,0])nutwasher();
+       translate([0,0,30])rotate([0,90,180])nutwasher();
+       translate([10,0,10])rotate([0,90,0])nutwasher();
+       translate([0,0,10])rotate([0,90,180])nutwasher();
+}
+
+// y idler mount
+translate([70-yrodseparation/2,y_smooth_rod_length/2-9,30]) 
+{
+       translate([0,0-33,-8]) 
+       rotate([0,-90,0]) idlermount();
+       translate([0,0,0])rotate([0,90,0])nutwasher();
+       translate([-20,0,0])rotate([0,90,180])nutwasher();
+}
+
 yrodseparation=100;
 
 module yfront()
@@ -35,23 +52,23 @@ module yfront()
 
        // front bottom threaded rod
        color("Aqua")
-       translate([-20,8,10]) rotate([0,90,0]) cylinder(h = 140, r=4);
-       translate([46.5,8,10])rotate([0,90,0])nutwasher();
-       translate([75.5,8,10])rotate([0,90,180])nutwasher();
-       translate([80,8,10])rotate([0,90,0])nutwasher();
-       translate([20.5,8,10])rotate([0,90,180])nutwasher();
-       translate([-20,8,10])rotate([0,90,0])nutwasher();
-       translate([120,8,10])rotate([0,90,180])nutwasher();
+       translate([-20,9,10]) rotate([0,90,0]) cylinder(h = 140, r=4);
+
+       translate([yrodseparation+11,9,10])rotate([0,90,0])nutwasher();
+       translate([yrodseparation-11,9,10])rotate([0,90,180])nutwasher();
+
+       translate([-11,9,10])rotate([0,90,180])nutwasher();
+       translate([11,9,10])rotate([0,90,0])nutwasher();
        
        // front top threaded rod
        color("Aqua")
-       translate([-20,8,30]) rotate([0,90,0]) cylinder(h = 140, r=4);
-       translate([46.5,8,30])rotate([0,90,0])nutwasher();
-       translate([75.5,8,30])rotate([0,90,180])nutwasher();
-       translate([80,8,30])rotate([0,90,0])nutwasher();
-       translate([20.5,8,30])rotate([0,90,180])nutwasher();
-       translate([-20,8,30])rotate([0,90,0])nutwasher();
-       translate([120,8,30])rotate([0,90,180])nutwasher();
+       translate([-20,9,30]) rotate([0,90,0]) cylinder(h = 140, r=4);
+
+%      translate([-11,9,30])rotate([0,90,180])nutwasher();
+%      translate([11,9,30])rotate([0,90,0])nutwasher();
+
+%      translate([yrodseparation-11,9,30])rotate([0,90,180])nutwasher();
+%      translate([yrodseparation+11,9,30])rotate([0,90,0])nutwasher();
 }
 
 translate([-yrodseparation/2,-y_smooth_rod_length/2])
@@ -73,15 +90,15 @@ module yside()
        color("Aqua")
        translate([0,0,20]) rotate([0,90,90]) cylinder(h = 430, r=4,center=true);
        // middle nuts
-       translate([0,-9,20])rotate([0,90,90])nutwasher();
-       translate([0,board_thickness+9,20])rotate([0,90,-90])nutwasher();
+       translate([0,0,20])rotate([0,-90,90])nutwasher();
+       translate([0,board_thickness,20])rotate([0,90,90])nutwasher();
 
        // back nuts
-       translate([0,y_smooth_rod_length/2-29,20])rotate([0,90,90])nutwasher();
-       translate([0,y_smooth_rod_length/2+11,20])rotate([0,90,-90])nutwasher();
+       translate([0,y_smooth_rod_length/2+2,20])rotate([0,90,90])nutwasher();
+       translate([0,y_smooth_rod_length/2+2-22,20])rotate([0,90,-90])nutwasher();
        // front nuts
-       translate([0,-y_smooth_rod_length/2-11,20])rotate([0,90,90])nutwasher();
-       translate([0,-y_smooth_rod_length/2+29,20])rotate([0,90,-90])nutwasher();
+       translate([0,-y_smooth_rod_length/2-2,20])rotate([0,90,-90])nutwasher();
+       translate([0,-y_smooth_rod_length/2-2+22,20])rotate([0,90,90])nutwasher();
        }
 }