author | Michael Krelin <hacker@klever.net> | 2018-08-31 20:47:26 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2018-08-31 20:47:26 (UTC) |
commit | 2357cec93756daaa7aee810792c1fbb205cdb151 (patch) (side-by-side diff) | |
tree | 23b1615c66969538e6c11f79bf0a837f6a6fb37c /another.scad | |
parent | f2ae6a17ee134663fc78e930e2348c466fd97540 (diff) | |
download | extrudery-2357cec93756daaa7aee810792c1fbb205cdb151.zip extrudery-2357cec93756daaa7aee810792c1fbb205cdb151.tar.gz extrudery-2357cec93756daaa7aee810792c1fbb205cdb151.tar.bz2 |
debug cutouts improvements
-rw-r--r-- | another.scad | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/another.scad b/another.scad index 5ea0845..116344e 100644 --- a/another.scad +++ b/another.scad @@ -441,52 +441,52 @@ module the_extruder( for(a=[0:360/knob_indents:359]) rotate([0,0,a]) translate([0,gearbox_d/2,-1]) cylinder(d=knob_indent_d,h=knob_h+2,$fn=fnd*knob_indent_d); } } }//knob module module debug() { difference() { children(); if(debug) { // spring tensioner debug cutout translate([-gearbox_d/2,-longwing,ls_z]) rotate([0,-90,0]) translate([0,-lever_thickness/2-1,-gearbox_d]) cube(size=[body_h/2+1,lever_thickness/2+1,gearbox_d+2]); // lever axis debug cutout translate([mount_d/2,0,-1]) rotate([0,0,-45]) cube(size=[gearbox_d-mount_d,gearbox_d-mount_d,body_h+knob_h+2]); // idler debug cutout translate([0,0,ls_z]) place_idler() rotate([0,0,-45]) translate([0,0,-lever_thickness/2-epsilon]) - cube(size=[(idler_d+idler_clearance)/2,(idler_d+idler_clearance)/2, + cube(size=[lsd*sqrt(2)/2+1,lsd*sqrt(2)/2+1, lever_thickness+2*epsilon]); // pushfit debug cutout place_idler() translate([-idler_d/2+filament_offset,0,ls_z]) - cube(size=[gearbox_d/2,gearbox_d/2+pf_h(pf),body_h-ls_z+1]); + cube(size=[gearbox_d/2,gearbox_d/2+pf_h(pf),body_h-ls_z+knob_h+1]); }//if debug }//difference } mirrorleft() debug() if(what=="lever") color("green",0.7) lever(); else if(what=="body") color("yellow",0.7) body(); else if(what=="knob") color("red",0.7) knob(); else if(what=="springpad") color("blue",0.7) springpad(); else if(what=="both") { color("green",0.7) lever(); color("yellow",0.7) body(); }else{ color("green",0.7) lever(); color("yellow",0.7) body(); color("red",0.7) knob(); color("blue",0.7) springpad(); } } the_extruder(what="*",left=false,debug=true); |