summaryrefslogtreecommitdiff
authorMichael Krelin <hacker@klever.net>2018-08-23 19:13:43 (UTC)
committer Michael Krelin <hacker@klever.net>2018-08-23 19:13:43 (UTC)
commit4cb9b4ab0175173b4c89b8d22c571ec05a3aeea7 (patch) (unidiff)
treec620493267cf9c70df0d3685dc89562ecc42670b
parent942136568980e54b372af0fdbe2af074c89bed86 (diff)
downloadextrudery-4cb9b4ab0175173b4c89b8d22c571ec05a3aeea7.zip
extrudery-4cb9b4ab0175173b4c89b8d22c571ec05a3aeea7.tar.gz
extrudery-4cb9b4ab0175173b4c89b8d22c571ec05a3aeea7.tar.bz2
move stuff around
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--another.scad18
1 files changed, 10 insertions, 8 deletions
diff --git a/another.scad b/another.scad
index 79cebdd..a3f5dc9 100644
--- a/another.scad
+++ b/another.scad
@@ -333,12 +333,13 @@ module the_extruder(
333 translate([0,0,fo+epsilon]) 333 translate([0,0,fo+epsilon])
334 cylinder(d1=filament_path_d,d2=filament_guide_d,h=fh,$fn=fnd*filament_guide_d); 334 cylinder(d1=filament_path_d,d2=filament_guide_d,h=fh,$fn=fnd*filament_guide_d);
335 }//mirror 335 }//mirror
336 }//rotate translate rotate translate rotate translate 336 }//rotate translate rotate translate rotate translate
337 // pulley 337 // pulley
338 cylinder(d=pulley_d+pulley_d_clearance,h=body_h+1,$fn=fnd*(pulley_d+pulley_d_clearance)); 338 cylinder(d=pulley_d+pulley_d_clearance,h=body_h+1,$fn=fnd*(pulley_d+pulley_d_clearance));
339
339 // leverspace 340 // leverspace
340 hull() for(x=[0,gearbox_d]) 341 hull() for(x=[0,gearbox_d])
341 rotate([0,0,45]) 342 rotate([0,0,45])
342 translate([x,0,ls_z-ls_h/2]) 343 translate([x,0,ls_z-ls_h/2])
343 cylinder(d=idler_d+idler_clearance,h=ls_h,$fn=fnd*(idler_d+idler_clearance)); 344 cylinder(d=idler_d+idler_clearance,h=ls_h,$fn=fnd*(idler_d+idler_clearance));
344 345
@@ -350,12 +351,21 @@ module the_extruder(
350 intersection() { 351 intersection() {
351 r = x+idler_d/2+idler_clearance; 352 r = x+idler_d/2+idler_clearance;
352 cylinder(r=r,h=ls_h,center=true); 353 cylinder(r=r,h=ls_h,center=true);
353 translate([-r-1,0,-ls_h/2-1]) cube(size=[2*r+2,r+1,ls_h+2]); 354 translate([-r-1,0,-ls_h/2-1]) cube(size=[2*r+2,r+1,ls_h+2]);
354 } 355 }
355 356
357 rotate([0,0,-45])
358 translate([0,0,ls_z-ls_h/2])
359 cube(size=[gearbox_d,gearbox_d,lever_thickness+lever_v_clearance]);
360 translate([0,0,ls_z-ls_h/2]) {
361 translate([mount_screwhead_d/2,0,0])
362 mirror([0,1,0])
363 cube(size=[gearbox_d,gearbox_d/2+1,lever_thickness+lever_v_clearance]);
364 }
365
356 // back side cutout 366 // back side cutout
357 // XXX: this is somewhat ugly and potentially bugged, 367 // XXX: this is somewhat ugly and potentially bugged,
358 // but I want to sleep. 368 // but I want to sleep.
359 a0_ = atan( 369 a0_ = atan(
360 (mount_d/sqrt(2)/2+mount_screw_d+pf_h(pf)+gearbox_d/2) 370 (mount_d/sqrt(2)/2+mount_screw_d+pf_h(pf)+gearbox_d/2)
361 / 371 /
@@ -373,20 +383,12 @@ module the_extruder(
373 square([sqrt(pow(gearbox_d/2,2)+pow(longwing-lever_thickness/2,2))+1, 383 square([sqrt(pow(gearbox_d/2,2)+pow(longwing-lever_thickness/2,2))+1,
374 ls_h]); 384 ls_h]);
375 translate([-mount_d/2,0,0]) 385 translate([-mount_d/2,0,0])
376 cylinder(d=gearbox_d-mount_d,h=ls_h+2,center=true,$fn=fnd*(gearbox_d-mount_d)); 386 cylinder(d=gearbox_d-mount_d,h=ls_h+2,center=true,$fn=fnd*(gearbox_d-mount_d));
377 }//difference translate 387 }//difference translate
378 388
379 rotate([0,0,-45])
380 translate([0,0,ls_z-ls_h/2])
381 cube(size=[gearbox_d,gearbox_d,lever_thickness+lever_v_clearance]);
382 translate([0,0,ls_z-ls_h/2]) {
383 translate([mount_screwhead_d/2,0,0])
384 mirror([0,1,0])
385 cube(size=[gearbox_d,gearbox_d/2+1,lever_thickness+lever_v_clearance]);
386 }
387 //translate([-mount_d/2,-longwing,filament_elevation]) 389 //translate([-mount_d/2,-longwing,filament_elevation])
388 if(!tensioner) /* XXX: this seems to be bullshit, but it's so old, that it's historical bullshit */ 390 if(!tensioner) /* XXX: this seems to be bullshit, but it's so old, that it's historical bullshit */
389 translate([mount_d/2,-longwing,filament_elevation]) 391 translate([mount_d/2,-longwing,filament_elevation])
390 rotate([0,-90,0]) difference() { 392 rotate([0,-90,0]) difference() {
391 cylinder(d=spring_d+spring_d_clearance,h=spring_lc+spring_dl,$fn=fnd*(spring_d+spring_d_clearance)); 393 cylinder(d=spring_d+spring_d_clearance,h=spring_lc+spring_dl,$fn=fnd*(spring_d+spring_d_clearance));
392 translate([0,0,spring_lc+spring_dl]) sphere(d=spring_d*3/4,$fn=fnd*spring_d*3/4); 394 translate([0,0,spring_lc+spring_dl]) sphere(d=spring_d*3/4,$fn=fnd*spring_d*3/4);