author | Michael Krelin <hacker@klever.net> | 2018-08-02 19:28:25 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2018-08-02 19:28:25 (UTC) |
commit | 8dd86c90ff31dca9cf4ce5260e199bf1d38a359a (patch) (unidiff) | |
tree | a717876ad5b91f073ba1b098f7b782d20a5ff553 | |
parent | 0ece6b3161f5cdbe1cdcf961fb77a8c95ab3def0 (diff) | |
download | extrudery-8dd86c90ff31dca9cf4ce5260e199bf1d38a359a.zip extrudery-8dd86c90ff31dca9cf4ce5260e199bf1d38a359a.tar.gz extrudery-8dd86c90ff31dca9cf4ce5260e199bf1d38a359a.tar.bz2 |
more sensible idler clearance
-rw-r--r-- | another.scad | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/another.scad b/another.scad index 5a590db..4af7d29 100644 --- a/another.scad +++ b/another.scad | |||
@@ -270,15 +270,16 @@ module the_extruder( | |||
270 | // idler clearance | 270 | // idler clearance |
271 | a=cos(45)*(pulley_d+idler_d)/2; | 271 | a=cos(45)*(pulley_d+idler_d)/2; |
272 | b=mount_d/2-a; | 272 | b=mount_d/2-a; |
273 | x=sqrt(pow(a,2)+pow(b,2)); | 273 | x=sqrt(pow(a,2)+pow(b,2)); |
274 | translate([mount_d/2,0,ls_z]) | 274 | translate([mount_d/2,0,ls_z]) |
275 | intersection() { | 275 | intersection() { |
276 | r = x+idler_d/2+1;/* TODO: */ | 276 | r = x+idler_d/2+idler_clearance; |
277 | cylinder(r=r,h=ls_h,center=true); | 277 | cylinder(r=r,h=ls_h,center=true); |
278 | translate([-r-1,0,-1]) cube(size=[2*r+2,r+1,ls_h+2]); | 278 | translate([-r-1,0,-ls_h/2-1]) cube(size=[2*r+2,r+1,ls_h+2]); |
279 | } | ||
279 | } | 280 | } |
280 | 281 | ||
281 | rotate([0,0,-45]) | 282 | rotate([0,0,-45]) |
282 | translate([0,0,ls_z-ls_h/2]) | 283 | translate([0,0,ls_z-ls_h/2]) |
283 | cube(size=[gearbox_d,gearbox_d,lever_thickness+lever_v_clearance]); | 284 | cube(size=[gearbox_d,gearbox_d,lever_thickness+lever_v_clearance]); |
284 | translate([0,0,ls_z-ls_h/2]) { | 285 | translate([0,0,ls_z-ls_h/2]) { |