summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--another.scad8
1 files changed, 4 insertions, 4 deletions
diff --git a/another.scad b/another.scad
index 9ed285d..7e7f22d 100644
--- a/another.scad
+++ b/another.scad
@@ -54,13 +54,13 @@ module the_extruder(
idler_v_tolerance=.5,
knob_bore_d_tolerance=.6,
what="lever", // lever|body|knob|springpad|*
left=false,
vitamins = true,
- supports = false,
+ supports = false, bridges = true,
tensioner = true,
debug = false
) {
fnd = 2*PI; fnr = 2*fnd;
lever_shell = mount_screwhead_h+0.5;
@@ -175,13 +175,13 @@ module the_extruder(
cylinder(d=spring_d+spring_d_clearance,h=lsd,$fn=fnd*(spring_d+spring_d_clearance));
sphere(d=spring_d*3/4,$fn=fnd*spring_d*3/4);
}
}//rotate-translate
}//difference
// bridging patch
- place_idler()
+ if(bridges) place_idler()
translate([0,0,lever_thickness/2-mount_screwhead_h])
mirror([0,0,1])
cylinder(d=mount_screwhead_d,h=layer_height);
}//translate
}//lever module
@@ -236,16 +236,16 @@ module the_extruder(
// protrusion
translate([0,0,-1])
cylinder(d=protrusion_d+protrusion_tolerance_h,h=protrusion_h+protrusion_tolerance_v+1,$fn=fnd*(protrusion_d+protrusion_tolerance_h));
// mount screw holes
for(zr=[0:90:359]) rotate([0,0,zr]) translate([mount_d/2,0,0]) {
- translate([0,0,mount_screw_l-mounthole_depth/2-layer_height-1])
+ translate([0,0,mount_screw_l-mounthole_depth/2-(bridges?layer_height:-epsilon)])
mirror([0,0,1])
cylinder(d=mount_screw_d+mount_screw_d_tolerance,
- h=mount_screw_l-mounthole_depth/2-layer_height+1,
+ h=mount_screw_l-mounthole_depth/2+1,
$fn=fnd*(mount_screw_d+mount_screw_d_tolerance));
translate([0,0,mount_screw_l-mounthole_depth/2])
cylinder(d=mount_screwhead_d,h=body_h+1,$fn=fnd*mount_screwhead_d);
}//for
// pushfit
translate([0,0,filament_elevation])