author | Michael Krelin <hacker@klever.net> | 2018-08-26 18:49:25 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2018-08-26 18:49:25 (UTC) |
commit | c36f7b9afffdf4fd363ed5abb5a8bd2b4644aec8 (patch) (side-by-side diff) | |
tree | 7607114fc62e54b6fdf92669b089e6aab01f3b78 /another.scad | |
parent | cbb2f15a5f71251ef01d3b7c87a672d36c62570e (diff) | |
download | extrudery-c36f7b9afffdf4fd363ed5abb5a8bd2b4644aec8.zip extrudery-c36f7b9afffdf4fd363ed5abb5a8bd2b4644aec8.tar.gz extrudery-c36f7b9afffdf4fd363ed5abb5a8bd2b4644aec8.tar.bz2 |
move spring closer
-rw-r--r-- | another.scad | 73 |
1 files changed, 36 insertions, 37 deletions
diff --git a/another.scad b/another.scad index 78d4320..b752f30 100644 --- a/another.scad +++ b/another.scad @@ -83,3 +83,3 @@ module the_extruder( lsd = idler_d-idler_clearance*2; - longwing=gearbox_d/2+spring_d/2+lsd/2; + longwing=(mount_d+mount_screw_d+mount_screw_d_tolerance+spring_d+spring_d_clearance)/2+extrusion_width; shortwing = let(a=mount_d/2,c=(pulley_d+idler_d)/2/sqrt(2)) @@ -237,38 +237,14 @@ module the_extruder( cylinder(d=gearbox_d,h=body_h,$fn=fnd*gearbox_d); - translate([-gearbox_d/2,0,0]) difference() { - union() { - hull() { - translate([0,-longwing,ls_z]) - rotate([0,90,0]) - cylinder(d=lever_thickness,h=fsw,$fn=fnd*lever_thickness); - hh=body_h-ls_z; - translate([0,0,ls_z]) - mirror([0,1,0]) cube(size=[fsw,longwing+(st_thinshell+st_split_w_tolerance)/2+st_thickshell,body_h-ls_z]); - hhh=ls_z; - translate([0,0,0]) - mirror([0,1,0]) cube(size=[fsw,longwing-hhh+lever_thickness/sqrt(2),hhh+lever_thickness/2]); - } - } - translate([0,-longwing,ls_z]) rotate([0,-90,0]) { - if(!tensioner) finger_indent(d=lever_thickness-1,r=15); else { - mirror([0,0,1]) { - translate([0,0,st_thickshell]) - hull() for(o=[0,spring_d]) translate([0,-o,0]) - rotate([0,0,30]) - cylinder(d=st_nut_d+st_nut_d_tolerance,h=st_nut_h+st_nut_h_tolerance,$fn=6); - translate([0,0,-1]) cylinder(d=st_screw_d+st_screw_d_tolerance,h=fsw+2,$fn=fnd*(st_screw_d+st_screw_d_tolerance)); - bigd = spring_d+spring_d_clearance; - hf = (bigd-st_screw_d-st_screw_d_tolerance)/2; - translate([0,0,st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell-epsilon]) { - cylinder(d1=st_screw_d+st_screw_d_tolerance,d2=bigd, - h=hf+epsilon, $fn=fnd*bigd); - translate([0,-(st_thinshell+st_split_w_tolerance)/2,0]) - cube(size=[body_h-ls_z+1,st_thinshell+st_split_w_tolerance,fsw+1]); - } - translate([0,0,st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell+hf-epsilon]) - cylinder(d=bigd,h=fsw+1,$fn=fnd*bigd); - } - } - } - } // translate + // spring tensioner part + translate([-gearbox_d/2,0,0]) hull() { + translate([0,-longwing,ls_z]) + rotate([0,90,0]) + cylinder(d=lever_thickness,h=fsw,$fn=fnd*lever_thickness); + hh=body_h-ls_z; + translate([0,0,ls_z]) + mirror([0,1,0]) cube(size=[fsw,longwing+(st_thinshell+st_split_w_tolerance)/2+st_thickshell,body_h-ls_z]); + hhh=ls_z; + translate([0,0,0]) + mirror([0,1,0]) cube(size=[fsw,longwing-hhh+lever_thickness/sqrt(2),hhh+lever_thickness/2]); + }//hull translate @@ -388,2 +364,25 @@ module the_extruder( + // spring tensioner + translate([-gearbox_d/2,-longwing,ls_z]) rotate([0,-90,0]) { + if(!tensioner) finger_indent(d=lever_thickness-1,r=15); else { + mirror([0,0,1]) { + translate([0,0,st_thickshell]) + hull() for(o=[0,spring_d]) translate([0,-o,0]) + rotate([0,0,30]) + cylinder(d=st_nut_d+st_nut_d_tolerance,h=st_nut_h+st_nut_h_tolerance,$fn=6); + translate([0,0,-1]) cylinder(d=st_screw_d+st_screw_d_tolerance,h=fsw+2,$fn=fnd*(st_screw_d+st_screw_d_tolerance)); + bigd = spring_d+spring_d_clearance; + hf = (bigd-st_screw_d-st_screw_d_tolerance)/2; + translate([0,0,st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell-epsilon]) { + cylinder(d1=st_screw_d+st_screw_d_tolerance,d2=bigd, + h=hf+epsilon, $fn=fnd*bigd); + translate([0,-(st_thinshell+st_split_w_tolerance)/2,0]) + cube(size=[body_h-ls_z+1,st_thinshell+st_split_w_tolerance,fsw+1]); + } + translate([0,0,st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell+hf-epsilon]) + cylinder(d=bigd,h=fsw+1,$fn=fnd*bigd); + } + } + } + }//difference |