author | Michael Krelin <hacker@klever.net> | 2018-08-23 18:16:32 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2018-08-23 18:16:32 (UTC) |
commit | 9b29b0901630b818bda37481184d12b27042d36d (patch) (unidiff) | |
tree | e624923b6ce35c5f72e9a8a4d71334ec0b1f2b7c | |
parent | 005f630a7c6e8d5d2c828b82c0ca5b84811a75a3 (diff) | |
download | extrudery-9b29b0901630b818bda37481184d12b27042d36d.zip extrudery-9b29b0901630b818bda37481184d12b27042d36d.tar.gz extrudery-9b29b0901630b818bda37481184d12b27042d36d.tar.bz2 |
springpad: add protrusion/indicator
-rw-r--r-- | another.scad | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/another.scad b/another.scad index b1cbdeb..cc3194e 100644 --- a/another.scad +++ b/another.scad | |||
@@ -395,56 +395,64 @@ module the_extruder( | |||
395 | difference() { | 395 | difference() { |
396 | translate([0,0,ls_z-ls_h/2-epsilon]) | 396 | translate([0,0,ls_z-ls_h/2-epsilon]) |
397 | cylinder(d=gearbox_d,h=ls_h+2*epsilon,$fn=fnd*gearbox_d); | 397 | cylinder(d=gearbox_d,h=ls_h+2*epsilon,$fn=fnd*gearbox_d); |
398 | cylinder(d=pulley_d+pulley_d_clearance,h=body_h+1,$fn=fnd*(pulley_d+pulley_d_clearance)); | 398 | cylinder(d=pulley_d+pulley_d_clearance,h=body_h+1,$fn=fnd*(pulley_d+pulley_d_clearance)); |
399 | } | 399 | } |
400 | // supports | 400 | // supports |
401 | // TODO: hardcoded stuff below… | 401 | // TODO: hardcoded stuff below… |
402 | if(false) { // parallel | 402 | if(false) { // parallel |
403 | for(y=[-gearbox_d:4:gearbox_d]) | 403 | for(y=[-gearbox_d:4:gearbox_d]) |
404 | translate([0,y-extrusion_width/2,0]) | 404 | translate([0,y-extrusion_width/2,0]) |
405 | cube(size=[gearbox_d,extrusion_width,body_h]); | 405 | cube(size=[gearbox_d,extrusion_width,body_h]); |
406 | }else{ // radial | 406 | }else{ // radial |
407 | for(zr=[-65:(65+50)/7:50]) | 407 | for(zr=[-65:(65+50)/7:50]) |
408 | rotate([0,0,zr]) translate([0,-extrusion_width/2,0]) | 408 | rotate([0,0,zr]) translate([0,-extrusion_width/2,0]) |
409 | cube(size=[gearbox_d,extrusion_width,body_h]); | 409 | cube(size=[gearbox_d,extrusion_width,body_h]); |
410 | } | 410 | } |
411 | } | 411 | } |
412 | 412 | ||
413 | }//body module | 413 | }//body module |
414 | 414 | ||
415 | module springpad() { | 415 | module springpad() { |
416 | smalld=st_screw_d+st_screw_d_tolerance+2*extrusion_width; | 416 | smalld=st_screw_d+st_screw_d_tolerance+2*extrusion_width; |
417 | bigd = spring_d+spring_d_clearance/2; | 417 | bigd = spring_d+spring_d_clearance/2; |
418 | hf = (bigd-smalld)/2; | 418 | hf = (bigd-smalld)/2; |
419 | h = hf*3.5; | ||
419 | translate([-gearbox_d/2+st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell+1,-longwing,filament_elevation]) | 420 | translate([-gearbox_d/2+st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell+1,-longwing,filament_elevation]) |
420 | rotate([0,90,0]) difference() { | 421 | rotate([0,90,0]) difference() { |
421 | union() { | 422 | union() { |
422 | cylinder(d1=smalld,d2=bigd,h=hf,$fn=fnd*bigd); | 423 | cylinder(d1=smalld,d2=bigd,h=hf,$fn=fnd*bigd); |
423 | translate([0,0,hf-epsilon]) | 424 | translate([0,0,hf-epsilon]) |
424 | cylinder(d=bigd,h=hf*2,$fn=fnd*bigd); | 425 | cylinder(d=bigd,h=h-hf,$fn=fnd*bigd); |
425 | translate([0,0,3*hf]) | 426 | translate([0,0,h]) |
426 | sphere(d=spring_d*3/4,$fn=fnd*spring_d*3/4); | 427 | sphere(d=spring_d*3/4,$fn=fnd*spring_d*3/4); |
428 | l = body_h-ls_z; | ||
429 | w = st_thinshell; | ||
430 | hull() translate([0,-st_thinshell/2,0]) mirror([1,0,0]) { | ||
431 | translate([0,0,w]) | ||
432 | cube(size=[l,st_thinshell,w]); | ||
433 | cube(size=[l-w,st_thinshell,2*w]); | ||
434 | } | ||
427 | } | 435 | } |
428 | translate([0,0,-epsilon]) | 436 | translate([0,0,-epsilon]) |
429 | cylinder(d=st_screw_d+st_screw_d_tolerance,h=2*hf+epsilon,$fn=fnd*(st_screw_d+st_screw_d_tolerance)); | 437 | cylinder(d=st_screw_d+st_screw_d_tolerance,h=2*hf+epsilon,$fn=fnd*(st_screw_d+st_screw_d_tolerance)); |
430 | } | 438 | } |
431 | } | 439 | } |
432 | 440 | ||
433 | module knob() { | 441 | module knob() { |
434 | ch = knob_indent_d/2; | 442 | ch = knob_indent_d/2; |
435 | translate([0,0,body_h+epsilon]) { | 443 | translate([0,0,body_h+epsilon]) { |
436 | mirror([0,0,1]) translate([0,0,-epsilon]) { | 444 | mirror([0,0,1]) translate([0,0,-epsilon]) { |
437 | difference() { | 445 | difference() { |
438 | cylinder(d=pulley_d,h=knob_bore_l,$fn=fnd*pulley_d); | 446 | cylinder(d=pulley_d,h=knob_bore_l,$fn=fnd*pulley_d); |
439 | translate([0,0,-1]) difference() { | 447 | translate([0,0,-1]) difference() { |
440 | cylinder(d=bore_d+knob_bore_d_tolerance,h=knob_bore_l+2); | 448 | cylinder(d=bore_d+knob_bore_d_tolerance,h=knob_bore_l+2); |
441 | translate([-bore_d/2-1,bore_dd-bore_d/2+knob_bore_d_tolerance/2,-1]) | 449 | translate([-bore_d/2-1,bore_dd-bore_d/2+knob_bore_d_tolerance/2,-1]) |
442 | cube([bore_d+2,bore_d/2,knob_bore_l+4]); | 450 | cube([bore_d+2,bore_d/2,knob_bore_l+4]); |
443 | } | 451 | } |
444 | } | 452 | } |
445 | } | 453 | } |
446 | difference() { | 454 | difference() { |
447 | union() { | 455 | union() { |
448 | cylinder(d1=gearbox_d-2*ch,d2=gearbox_d,h=ch+epsilon,$fn=fnd*gearbox_d); | 456 | cylinder(d1=gearbox_d-2*ch,d2=gearbox_d,h=ch+epsilon,$fn=fnd*gearbox_d); |
449 | translate([0,0,ch]) | 457 | translate([0,0,ch]) |
450 | cylinder(d=gearbox_d,h=knob_h-2*ch+epsilon,$fn=fnd*gearbox_d); | 458 | cylinder(d=gearbox_d,h=knob_h-2*ch+epsilon,$fn=fnd*gearbox_d); |