author | Michael Krelin <hacker@klever.net> | 2018-09-01 15:17:10 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2018-09-01 15:17:10 (UTC) |
commit | 416fff4142cc472af0e4c26a89df0c2e0957b518 (patch) (unidiff) | |
tree | 8c4f0ffb2629615f6bf3b4a25fe76a5005143883 | |
parent | bcd075fbc4d1413999bf9870b5ed39b3d8f1c190 (diff) | |
download | extrudery-416fff4142cc472af0e4c26a89df0c2e0957b518.zip extrudery-416fff4142cc472af0e4c26a89df0c2e0957b518.tar.gz extrudery-416fff4142cc472af0e4c26a89df0c2e0957b518.tar.bz2 |
improve st debug cutout
-rw-r--r-- | another.scad | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/another.scad b/another.scad index 2825c07..f3305a1 100644 --- a/another.scad +++ b/another.scad | |||
@@ -450,33 +450,33 @@ module the_extruder( | |||
450 | ll = len(knob_label); | 450 | ll = len(knob_label); |
451 | lsl = gearbox_d-knob_indent_d; | 451 | lsl = gearbox_d-knob_indent_d; |
452 | ts = knob_label_size?knob_label_size:min(lsl/ll,gearbox_d/4); | 452 | ts = knob_label_size?knob_label_size:min(lsl/ll,gearbox_d/4); |
453 | translate([0,0,body_h+epsilon+knob_h-knob_label_thickness]) | 453 | translate([0,0,body_h+epsilon+knob_h-knob_label_thickness]) |
454 | linear_extrude(height=knob_label_thickness+epsilon,convexity=64) | 454 | linear_extrude(height=knob_label_thickness+epsilon,convexity=64) |
455 | mirror([left?0:1,0]) | 455 | mirror([left?0:1,0]) |
456 | text(text=knob_label,size=ts,halign="center",valign="center",font="Arial Black"); | 456 | text(text=knob_label,size=ts,halign="center",valign="center",font="Arial Black"); |
457 | }else sphere(d=epsilon); // to avoid makefile breakage | 457 | }else sphere(d=epsilon); // to avoid makefile breakage |
458 | } | 458 | } |
459 | 459 | ||
460 | module debug() { | 460 | module debug() { |
461 | difference() { | 461 | difference() { |
462 | children(); | 462 | children(); |
463 | if(debug) { | 463 | if(debug) { |
464 | // spring tensioner debug cutout | 464 | // spring tensioner debug cutout |
465 | translate([-gearbox_d/2,-longwing,ls_z]) rotate([0,-90,0]) | 465 | translate([-gearbox_d/2,-longwing,ls_z]) rotate([0,-90,0]) |
466 | translate([0,-lever_thickness/2-1,-gearbox_d]) | 466 | translate([0,-lever_thickness/2-1,-gearbox_d-1]) |
467 | cube(size=[body_h/2+1,lever_thickness/2+1,gearbox_d+2]); | 467 | cube(size=[body_h/2+1,lever_thickness/2+1,gearbox_d+2]); |
468 | // lever axis debug cutout | 468 | // lever axis debug cutout |
469 | translate([mount_d/2,0,-1]) | 469 | translate([mount_d/2,0,-1]) |
470 | rotate([0,0,-45]) | 470 | rotate([0,0,-45]) |
471 | cube(size=[gearbox_d-mount_d,gearbox_d-mount_d,body_h+knob_h+2]); | 471 | cube(size=[gearbox_d-mount_d,gearbox_d-mount_d,body_h+knob_h+2]); |
472 | // idler debug cutout | 472 | // idler debug cutout |
473 | translate([0,0,ls_z]) | 473 | translate([0,0,ls_z]) |
474 | place_idler() | 474 | place_idler() |
475 | rotate([0,0,-45]) | 475 | rotate([0,0,-45]) |
476 | translate([0,0,-lever_thickness/2-epsilon]) | 476 | translate([0,0,-lever_thickness/2-epsilon]) |
477 | cube(size=[lsd*sqrt(2)/2+1,lsd*sqrt(2)/2+1, | 477 | cube(size=[lsd*sqrt(2)/2+1,lsd*sqrt(2)/2+1, |
478 | lever_thickness+2*epsilon]); | 478 | lever_thickness+2*epsilon]); |
479 | // pushfit debug cutout | 479 | // pushfit debug cutout |
480 | place_idler() | 480 | place_idler() |
481 | translate([-idler_d/2+filament_offset,0,ls_z]) | 481 | translate([-idler_d/2+filament_offset,0,ls_z]) |
482 | cube(size=[gearbox_d/2,gearbox_d/2+pf_h(pf),body_h-ls_z+knob_h+1]); | 482 | cube(size=[gearbox_d/2,gearbox_d/2+pf_h(pf),body_h-ls_z+knob_h+1]); |