summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2016-07-20 18:49:37 (UTC)
committer Michael Krelin <hacker@klever.net>2016-07-20 18:49:37 (UTC)
commite173381d925698388e85d253b874a8d9a5efbc06 (patch) (unidiff)
tree0ad3f1f9df6bc1d7d361654d57c6ed146a82dc2f
parent098bb6886664983fa14c2f37ddaf117406534521 (diff)
downloadfanductory-e173381d925698388e85d253b874a8d9a5efbc06.zip
fanductory-e173381d925698388e85d253b874a8d9a5efbc06.tar.gz
fanductory-e173381d925698388e85d253b874a8d9a5efbc06.tar.bz2
don't make curves too smooth unless we're rendering
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile1
-rw-r--r--fanduct.scad3
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 998b0ac..c52cfe7 100644
--- a/Makefile
+++ b/Makefile
@@ -3,4 +3,5 @@
3OPENSCAD_APP?=/Applications/OpenSCAD.app 3OPENSCAD_APP?=/Applications/OpenSCAD.app
4OPENSCAD_BIN?=${OPENSCAD_APP}/Contents/MacOS/OpenSCAD 4OPENSCAD_BIN?=${OPENSCAD_APP}/Contents/MacOS/OpenSCAD
5OPENSCAD_FLAGS=-D draft=false
5 6
6default: fanduct-circular.stl fanduct-3jets.stl fanduct-dual.stl 7default: fanduct-circular.stl fanduct-3jets.stl fanduct-dual.stl
diff --git a/fanduct.scad b/fanduct.scad
index 690a4c8..8d0414f 100644
--- a/fanduct.scad
+++ b/fanduct.scad
@@ -41,5 +41,6 @@ hotend_clearance = heater_clearance;
41 snapper_d = 8; snapper_overlap=0.2;// snip snap 41 snapper_d = 8; snapper_overlap=0.2;// snip snap
42 42
43smooth_f = 120; 43draft=true;
44smooth_f = draft? 30 : 120;
44 45
45to_midduct = fanduct_ir+fanduct_shell+fanduct_w/2; 46to_midduct = fanduct_ir+fanduct_shell+fanduct_w/2;