summaryrefslogtreecommitdiff
authorMichael Krelin <hacker@klever.net>2018-08-02 10:00:59 (UTC)
committer Michael Krelin <hacker@klever.net>2018-08-02 10:00:59 (UTC)
commita04582d4c163c58bd779e02e3de624ccd1f643f4 (patch) (side-by-side diff)
tree313e0ce03058ccb664d76c6fac51c43a34651e6b
parent5457897c14fd5bff296bdfed4a2744655585a3ab (diff)
downloadextrudery-a04582d4c163c58bd779e02e3de624ccd1f643f4.zip
extrudery-a04582d4c163c58bd779e02e3de624ccd1f643f4.tar.gz
extrudery-a04582d4c163c58bd779e02e3de624ccd1f643f4.tar.bz2
another: make supports optional
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 85715db..2be24e4 100644
--- a/another.scad
+++ b/another.scad
@@ -54,3 +54,4 @@ module the_extruder(
left=false,
- vitamins = true
+ vitamins = true,
+ supports = false
) {
@@ -147,4 +148,3 @@ module the_extruder(
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])
@@ -276,3 +276,3 @@ module the_extruder(
- intersection() {
+ if(supports) intersection() {
difference() {