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 85715db..2be24e4 100644
--- a/another.scad
+++ b/another.scad
@@ -53,5 +53,6 @@ module the_extruder(
what="lever",
left=false,
- vitamins = true
+ vitamins = true,
+ supports = false
) {
lever_shell = mount_screwhead_h+0.5;
@@ -146,6 +147,5 @@ module the_extruder(
difference() {
cylinder(d=idler_d+idler_clearance*2,h=idler_h+idler_v_tolerance,center=true,$fn=60);
- // supports
- for(y=[-lsd/2+extrusion_width:(lsd-2*extrusion_width)/3:lsd/2-extrusion_width])
+ if(supports) for(y=[-lsd/2+extrusion_width:(lsd-2*extrusion_width)/3:lsd/2-extrusion_width])
translate([-lsd/2-1,y-extrusion_width/2,-idler_h/2-idler_v_tolerance/2-1])
cube(size=[lsd+2,extrusion_width,idler_h+idler_v_tolerance+2]);
@@ -275,5 +275,5 @@ module the_extruder(
}//difference
- intersection() {
+ if(supports) intersection() {
difference() {
translate([0,0,ls_z-ls_h/2-epsilon])