summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show 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
@@ -57,7 +57,7 @@ module the_extruder(
what="lever", // lever|body|knob|springpad|*
left=false,
vitamins = true,
- supports = false,
+ supports = false, bridges = true,
tensioner = true,
debug = false
) {
@@ -178,7 +178,7 @@ module the_extruder(
}//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);
@@ -239,10 +239,10 @@ module the_extruder(
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);