summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--another.scad2
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
@@ -442,49 +442,49 @@ module the_extruder(
translate([0,gearbox_d/2,-1])
cylinder(d=knob_indent_d,h=knob_h+2,$fn=fnd*knob_indent_d);
translate([0,0,-body_h-epsilon]) knob_label();
}
}
}//knob module
module knob_label() {
if(knob_label) {
ll = len(knob_label);
lsl = gearbox_d-knob_indent_d;
ts = knob_label_size?knob_label_size:min(lsl/ll,gearbox_d/4);
translate([0,0,body_h+epsilon+knob_h-knob_label_thickness])
linear_extrude(height=knob_label_thickness+epsilon,convexity=64)
mirror([left?0:1,0])
text(text=knob_label,size=ts,halign="center",valign="center",font="Arial Black");
}else sphere(d=epsilon); // to avoid makefile breakage
}
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])
+ translate([0,-lever_thickness/2-1,-gearbox_d-1])
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=[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+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();