summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--another.scad19
1 files changed, 4 insertions, 15 deletions
diff --git a/another.scad b/another.scad
index 9ff7f6a..e6d9ca3 100644
--- a/another.scad
+++ b/another.scad
@@ -72,7 +72,6 @@ module the_extruder(
72 left=false, 72 left=false,
73 vitamins = true, 73 vitamins = true,
74 bridges = true, 74 bridges = true,
75 tensioner = true,
76 debug = false 75 debug = false
77) { 76) {
78 fnd = 2*PI; fnr = 2*fnd; 77 fnd = 2*PI; fnr = 2*fnd;
@@ -348,17 +347,8 @@ module the_extruder(
348 cylinder(d=gearbox_d-mount_d,h=ls_h+2,center=true,$fn=fnd*(gearbox_d-mount_d)); 347 cylinder(d=gearbox_d-mount_d,h=ls_h+2,center=true,$fn=fnd*(gearbox_d-mount_d));
349 }//difference translate 348 }//difference translate
350 349
351 //translate([-mount_d/2,-longwing,filament_elevation])
352 if(!tensioner) /* XXX: this seems to be bullshit, but it's so old, that it's historical bullshit */
353 translate([mount_d/2,-longwing,filament_elevation])
354 rotate([0,-90,0]) difference() {
355 cylinder(d=spring_d+spring_d_clearance,h=spring_lc+spring_dl,$fn=fnd*(spring_d+spring_d_clearance));
356 translate([0,0,spring_lc+spring_dl]) sphere(d=spring_d*3/4,$fn=fnd*spring_d*3/4);
357 }
358
359 // spring tensioner 350 // spring tensioner
360 translate([-gearbox_d/2,-longwing,ls_z]) rotate([0,-90,0]) { 351 translate([-gearbox_d/2,-longwing,ls_z]) rotate([0,-90,0]) {
361 if(!tensioner) finger_indent(d=lever_thickness-1,r=15); else {
362 mirror([0,0,1]) { 352 mirror([0,0,1]) {
363 translate([0,0,st_thickshell]) 353 translate([0,0,st_thickshell])
364 hull() for(o=[0,spring_d]) translate([0,-o,0]) 354 hull() for(o=[0,spring_d]) translate([0,-o,0])
@@ -372,12 +362,11 @@ module the_extruder(
372 h=hf+epsilon, $fn=fnd*bigd); 362 h=hf+epsilon, $fn=fnd*bigd);
373 translate([0,-(st_thinshell+st_split_w_tolerance)/2,0]) 363 translate([0,-(st_thinshell+st_split_w_tolerance)/2,0])
374 cube(size=[body_h-ls_z+1,st_thinshell+st_split_w_tolerance,fsw+1]); 364 cube(size=[body_h-ls_z+1,st_thinshell+st_split_w_tolerance,fsw+1]);
375 } 365 }//translate
376 translate([0,0,st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell+hf-epsilon]) 366 translate([0,0,st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell+hf-epsilon])
377 cylinder(d=bigd,h=fsw+1,$fn=fnd*bigd); 367 cylinder(d=bigd,h=fsw+1,$fn=fnd*bigd);
378 } 368 }//mirror
379 } 369 }//translate
380 }
381 370
382 }//difference 371 }//difference
383 372
@@ -442,7 +431,7 @@ module the_extruder(
442 children(); 431 children();
443 if(debug) { 432 if(debug) {
444 // spring tensioner debug cutout 433 // spring tensioner debug cutout
445 if(tensioner) // TODO: collapse copypasted transformations 434 // TODO: collapse copypasted transformations
446 translate([-gearbox_d/2,0,0]) 435 translate([-gearbox_d/2,0,0])
447 translate([0,-longwing,ls_z]) rotate([0,-90,0]) 436 translate([0,-longwing,ls_z]) rotate([0,-90,0])
448 translate([0,-lever_thickness/2-1,-gearbox_d]) 437 translate([0,-lever_thickness/2-1,-gearbox_d])