Use fillet function for idler, zero base_extra_depth
authorVáclav 'Ax' Hůla <axtheb@gmail.com>
Mon, 25 Mar 2013 00:44:13 +0000 (01:44 +0100)
committerVáclav 'Ax' Hůla <axtheb@gmail.com>
Mon, 25 Mar 2013 00:44:13 +0000 (01:44 +0100)
box_frame/extras/gregs-wade-v3.scad

index 57dde94..a3b5647 100644 (file)
@@ -38,7 +38,7 @@ wade(hotend_mount=default_extruder_mount,
        mounting_holes=default_mounting_holes);\r
 \r
 ////CarriageVisualisation\r
-translate([-25.5,20,base_extra_depth+wade_block_depth+10]) rotate([-90,180,-90]) %import("../output/x-carriage.stl");\r
+translate([-8.5,20,base_extra_depth+wade_block_depth+10]) rotate([-90,180,-90]) %import("../output/x-carriage.stl");\r
 %translate(large_wheel_translation) {\r
        translate([0,0,-5])import("../output/wade-big-h.stl");\r
        rotate([0,0,25]) translate([gear_separation,0,-1]) {\r
@@ -149,7 +149,7 @@ block_bevel_r=6;
 base_thickness=12;\r
 base_length=70+2-6;\r
 base_leadout=25+2+1-6;\r
-base_extra_depth=10;\r
+base_extra_depth=0;\r
 \r
 nema17_hole_spacing=31; \r
 nema17_width=1.7*25.4;\r
@@ -554,7 +554,7 @@ module wadeidler()
                        //The idler block.\r
                        translate(idler_axis+[-idler_height/2+2,+idler_long_side/2-idler_long_bottom,0])\r
                        {\r
-                       cube([idler_height,idler_long_side,idler_short_side],center=true);\r
+                       cube_fillet([idler_height,idler_long_side,idler_short_side], center=true, vertical = [0, 0, 0, 0], top = [3, 0, 0, 0], bottom = [3, 0, 0, 0]);\r
 \r
                        //Filament Guide.\r
                        translate([guide_height/2+idler_height/2-1,idler_long_side/2-guide_length/2,0])\r
@@ -638,7 +638,8 @@ module wadeidler()
                                        idler_height+2]);\r
                        }\r
 \r
-                       // Rounded corners.\r
+                       // Rounded corners. \r
+            /*\r
                        render()\r
                        translate([idler_height/2,idler_long_top,\r
                                idler_screw_hole*(idler_short_side/2)])\r
@@ -650,7 +651,7 @@ module wadeidler()
                                rotate([0,90,0])\r
                                translate([idler_screw_hole*idler_corners_radius,-idler_corners_radius,0])\r
                                cylinder(h=idler_height+4,r=idler_corners_radius,center=true,$fn=40);\r
-                       }\r
+                       } */\r
                }\r
        }\r
 }\r