author | Michael Krelin <hacker@klever.net> | 2018-08-06 11:32:37 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2018-08-06 11:32:37 (UTC) |
commit | 94730f0a772dab12295fbf71ba436e9e06efd00a (patch) (side-by-side diff) | |
tree | fdba7f0d93bf990d0b3e3bf2ac22265e35dc7dff | |
parent | 62c1ffcff93a1880b26829bd5cd5fed9c3eb6293 (diff) | |
download | extrudery-94730f0a772dab12295fbf71ba436e9e06efd00a.zip extrudery-94730f0a772dab12295fbf71ba436e9e06efd00a.tar.gz extrudery-94730f0a772dab12295fbf71ba436e9e06efd00a.tar.bz2 |
another: conditional bridging patches
-rw-r--r-- | another.scad | 8 |
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]) |