summaryrefslogtreecommitdiff
authorMichael Krelin <hacker@klever.net>2018-08-06 11:32:37 (UTC)
committer Michael Krelin <hacker@klever.net>2018-08-06 11:32:37 (UTC)
commit94730f0a772dab12295fbf71ba436e9e06efd00a (patch) (side-by-side diff)
treefdba7f0d93bf990d0b3e3bf2ac22265e35dc7dff
parent62c1ffcff93a1880b26829bd5cd5fed9c3eb6293 (diff)
downloadextrudery-94730f0a772dab12295fbf71ba436e9e06efd00a.zip
extrudery-94730f0a772dab12295fbf71ba436e9e06efd00a.tar.gz
extrudery-94730f0a772dab12295fbf71ba436e9e06efd00a.tar.bz2
another: conditional bridging patches
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);