author | Michael Krelin <hacker@klever.net> | 2018-08-06 11:34:34 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2018-08-06 11:34:34 (UTC) |
commit | 33bc5b6d63d542af268a3af98a7f07c57cce73a4 (patch) (side-by-side diff) | |
tree | e3ec7c9621e2ed636279da8ffe9f7d6c9a5c2c64 | |
parent | 94730f0a772dab12295fbf71ba436e9e06efd00a (diff) | |
download | extrudery-33bc5b6d63d542af268a3af98a7f07c57cce73a4.zip extrudery-33bc5b6d63d542af268a3af98a7f07c57cce73a4.tar.gz extrudery-33bc5b6d63d542af268a3af98a7f07c57cce73a4.tar.bz2 |
tensioner's nut tolerances
-rw-r--r-- | another.scad | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/another.scad b/another.scad index 7e7f22d..3d804c1 100644 --- a/another.scad +++ b/another.scad @@ -44,24 +44,26 @@ module the_extruder( // empty spaces idler_travel = 3, // how far should idler travel when pressed idler_clearance=1, pulley_clearance=2, lever_v_clearance=.7, // vertical clearance for the lever spring_d_clearance=1, protrusion_tolerance_h=.5, // horizontal tolerance for the motor protrusion protrusion_tolerance_v=.5, // vertical tolerance for the motor protrusion mount_screw_d_tolerance=.4, idler_v_tolerance=.5, knob_bore_d_tolerance=.6, + st_nut_h_tolerance=.2, + st_nut_d_tolerance=.2,/* TODO: make it st_nut_w_tolerance */ what="lever", // lever|body|knob|springpad|* left=false, vitamins = true, supports = false, bridges = true, tensioner = true, debug = false ) { fnd = 2*PI; fnr = 2*fnd; lever_shell = mount_screwhead_h+0.5; lever_thickness=max(spring_d+spring_d_clearance+layer_height*8,idler_h+idler_v_tolerance+2*lever_shell); @@ -203,32 +205,32 @@ module the_extruder( 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 { if(debug) translate([0,-lever_thickness/2-1,-gearbox_d]) cube(size=[body_h/2+1,lever_thickness/2+1,gearbox_d+2]); 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,h=st_nut_h,$fn=6); + 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,h=fsw+2,$fn=fnd*st_screw_d); bigd = spring_d+spring_d_clearance; hf = (bigd-st_screw_d)/2; - translate([0,0,st_thickshell+st_nut_h+st_thinshell-epsilon]) + translate([0,0,st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell-epsilon]) cylinder(d1=st_screw_d,d2=bigd, h=hf+epsilon, $fn=fnd*bigd); - translate([0,0,st_thickshell+st_nut_h+st_thinshell+hf-epsilon]) + 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 // pushfit bracket translate([0,0,filament_elevation]) rotate([0,0,45]) translate([pulley_d/2,0,0]) rotate([-90,0,0]) translate([0,0,mount_d/sqrt(2)/2+mount_screw_d-gearbox_d/2/*TODO:*/]) cylinder(r=min(body_h-filament_elevation,filament_elevation)/sin(60)-epsilon,h=pf_h(pf)+gearbox_d/2/*TODO:*/,$fn=6); @@ -332,25 +334,25 @@ module the_extruder( for(zr=[-65:(65+50)/7:50]) rotate([0,0,zr]) translate([0,-extrusion_width/2,0]) cube(size=[gearbox_d,extrusion_width,body_h]); } } }//body module module springpad() { smalld=st_screw_d+2*extrusion_width; bigd = spring_d+spring_d_clearance/2; hf = (bigd-smalld)/2; - translate([-gearbox_d/2+st_thickshell+st_nut_h+st_thinshell+1,-longwing,filament_elevation]) + translate([-gearbox_d/2+st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell+1,-longwing,filament_elevation]) rotate([0,90,0]) difference() { union() { cylinder(d1=smalld,d2=bigd,h=hf,$fn=fnd*bigd); translate([0,0,hf-epsilon]) cylinder(d=bigd,h=hf*2,$fn=fnd*bigd); translate([0,0,3*hf]) sphere(d=spring_d*3/4,$fn=fnd*spring_d*3/4); } translate([0,0,-epsilon]) cylinder(d=st_screw_d,h=2*hf+epsilon,$fn=fnd*st_screw_d); } } |