author | Michael Krelin <hacker@klever.net> | 2016-07-20 18:49:37 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2016-07-20 18:49:37 (UTC) |
commit | e173381d925698388e85d253b874a8d9a5efbc06 (patch) (unidiff) | |
tree | 0ad3f1f9df6bc1d7d361654d57c6ed146a82dc2f | |
parent | 098bb6886664983fa14c2f37ddaf117406534521 (diff) | |
download | fanductory-e173381d925698388e85d253b874a8d9a5efbc06.zip fanductory-e173381d925698388e85d253b874a8d9a5efbc06.tar.gz fanductory-e173381d925698388e85d253b874a8d9a5efbc06.tar.bz2 |
don't make curves too smooth unless we're rendering
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | fanduct.scad | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -1,10 +1,11 @@ | |||
1 | -include Makefile.local | 1 | -include Makefile.local |
2 | 2 | ||
3 | OPENSCAD_APP?=/Applications/OpenSCAD.app | 3 | OPENSCAD_APP?=/Applications/OpenSCAD.app |
4 | OPENSCAD_BIN?=${OPENSCAD_APP}/Contents/MacOS/OpenSCAD | 4 | OPENSCAD_BIN?=${OPENSCAD_APP}/Contents/MacOS/OpenSCAD |
5 | OPENSCAD_FLAGS=-D draft=false | ||
5 | 6 | ||
6 | default: fanduct-circular.stl fanduct-3jets.stl fanduct-dual.stl | 7 | default: fanduct-circular.stl fanduct-3jets.stl fanduct-dual.stl |
7 | 8 | ||
8 | clean: | 9 | clean: |
9 | rm -f *.stl | 10 | rm -f *.stl |
10 | 11 | ||
diff --git a/fanduct.scad b/fanduct.scad index 690a4c8..8d0414f 100644 --- a/fanduct.scad +++ b/fanduct.scad | |||
@@ -37,13 +37,14 @@ fanduct_ir = heater_clearance+5; // inner radius | |||
37 | jet_angle = 60-2; // angular width of the jet | 37 | jet_angle = 60-2; // angular width of the jet |
38 | 38 | ||
39 | hotend_clearance = heater_clearance; | 39 | hotend_clearance = heater_clearance; |
40 | 40 | ||
41 | snapper_d = 8; snapper_overlap=0.2;// snip snap | 41 | snapper_d = 8; snapper_overlap=0.2;// snip snap |
42 | 42 | ||
43 | smooth_f = 120; | 43 | draft=true; |
44 | smooth_f = draft? 30 : 120; | ||
44 | 45 | ||
45 | to_midduct = fanduct_ir+fanduct_shell+fanduct_w/2; | 46 | to_midduct = fanduct_ir+fanduct_shell+fanduct_w/2; |
46 | dual_spots = [ [+space_behind_nozzle, -(to_midduct+nozzles_apart/2)], | 47 | dual_spots = [ [+space_behind_nozzle, -(to_midduct+nozzles_apart/2)], |
47 | [- to_midduct, -(to_midduct+nozzles_apart/2)], | 48 | [- to_midduct, -(to_midduct+nozzles_apart/2)], |
48 | [- to_midduct, 0] ]; | 49 | [- to_midduct, 0] ]; |
49 | 50 | ||