Fix z-axis thickness scaling, make it thicker by default
authorVáclav 'Ax' Hůla <axtheb@gmail.com>
Wed, 13 Jun 2012 13:16:02 +0000 (15:16 +0200)
committerVáclav 'Ax' Hůla <axtheb@gmail.com>
Wed, 13 Jun 2012 13:16:02 +0000 (15:16 +0200)
z-axis.scad

index 6a1120c..503ee68 100644 (file)
@@ -9,7 +9,7 @@
 include <configuration.scad>
 
 
-module zmotorholder(thickness=10){
+module zmotorholder(thickness=13){
     difference(){
         union(){
             // Motor holding part
@@ -17,14 +17,14 @@ module zmotorholder(thickness=10){
                 union(){
                     zrodholder(thickness=thickness, xlen=45, ylen=45);
                     translate([board_to_xz_distance, board_to_xz_distance, 0]) {
-                        nema17(places=[0,1,1,1]);
+                        nema17(places=[0,1,1,1], h=thickness);
                     }
                 }
 
                 // motor screw holes
                 translate([board_to_xz_distance, board_to_xz_distance, thickness]) {
-                    mirror([0,0,1]) 
-                        nema17(places=[0,1,1,1], holes=true);
+                    mirror([0,0,1]) translate([0,0,thickness-8])
+                        nema17(places=[0,1,1,1], holes=true, h=thickness, shadow=5);
                 }
             }
         }
@@ -32,7 +32,7 @@ module zmotorholder(thickness=10){
 }
 
 
-module zrodholder(thickness=10, ylen=40, xlen=34){
+module zrodholder(thickness=13, ylen=40, xlen=34){
     difference(){
         union(){
             // Rod holding part