author | Michael Krelin <hacker@klever.net> | 2016-07-01 13:21:49 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2016-07-01 13:21:49 (UTC) |
commit | f61be2097df0d1ff480b177bd300688c5d89d1a0 (patch) (unidiff) | |
tree | 4e11baa7c8ae08e4b2fe159edb4b96fb3653ec9c | |
parent | d2047c9ea37c0d61e1ec0e8210ec73cd25fc9003 (diff) | |
download | fanductory-f61be2097df0d1ff480b177bd300688c5d89d1a0.zip fanductory-f61be2097df0d1ff480b177bd300688c5d89d1a0.tar.gz fanductory-f61be2097df0d1ff480b177bd300688c5d89d1a0.tar.bz2 |
moved definitions around
-rw-r--r-- | fanduct.scad | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/fanduct.scad b/fanduct.scad index 302ea07..a18ce56 100644 --- a/fanduct.scad +++ b/fanduct.scad | |||
@@ -1,11 +1,25 @@ | |||
1 | use <snapper.scad>; | 1 | use <snapper.scad>; |
2 | extrusion_width=.5; layer_height=.2; // print parameters | 2 | extrusion_width=.5; layer_height=.2; // print parameters |
3 | 3 | ||
4 | epsilon=.005; // for finer cuts | 4 | epsilon=.005; // for finer cuts |
5 | 5 | ||
6 | type="circular"; // circular|3jets | ||
7 | ductshape="square"; // square|round | ||
8 | dual=true; // dual or single | ||
9 | |||
10 | nozzles_apart = 18; // distance between nozzles for dual hotend | ||
11 | space_behind_nozzle = 10;// space behind the nozzle where we're allowed to go | ||
12 | // without the fear of hitting carriage | ||
13 | |||
14 | inlet_w = 12.5; // inlet width | ||
15 | inlet_h = 17; // inlet height | ||
16 | inlet_short_l = 7;// inlet length of protrusion (or depth of intrusion:)) | ||
17 | inlet_away = 15;// how far away inlet is | ||
18 | |||
19 | inlet_long_l = inlet_short_l+inlet_h; | ||
6 | function hypothenuse(a,b) = sqrt(pow(a,2)+pow(b,2)); | 20 | function hypothenuse(a,b) = sqrt(pow(a,2)+pow(b,2)); |
7 | 21 | ||
8 | silicone_shell = 2; | 22 | silicone_shell = 2; |
9 | heater_clearance = max( | 23 | heater_clearance = max( |
10 | hypothenuse(16/2 +silicone_shell, 20-4.5 +silicone_shell),// E3D v6 | 24 | hypothenuse(16/2 +silicone_shell, 20-4.5 +silicone_shell),// E3D v6 |
11 | hypothenuse(11.5-4.5 +silicone_shell, 15.5 +silicone_shell)// E3D volcano | 25 | hypothenuse(11.5-4.5 +silicone_shell, 15.5 +silicone_shell)// E3D volcano |
@@ -17,32 +31,18 @@ fanduct_h = 6; // inner height of the duct | |||
17 | fanduct_w = 7; // inner width of the duct | 31 | fanduct_w = 7; // inner width of the duct |
18 | fanduct_shell=1.2; // shell thickness | 32 | fanduct_shell=1.2; // shell thickness |
19 | fanduct_ir = heater_clearance+5; // inner radius | 33 | fanduct_ir = heater_clearance+5; // inner radius |
20 | 34 | ||
21 | jet_angle = 60-2; // angular width of the jet | 35 | jet_angle = 60-2; // angular width of the jet |
22 | 36 | ||
23 | inlet_w = 12.5; // inlet width | ||
24 | inlet_h = 17; // inlet height | ||
25 | inlet_short_l = 7;// inlet length of protrusion (or depth of intrusion:)) | ||
26 | inlet_away = 15;// how far away inlet is | ||
27 | |||
28 | inlet_long_l = inlet_short_l+inlet_h; | ||
29 | hotend_clearance = heater_clearance; | 37 | hotend_clearance = heater_clearance; |
30 | 38 | ||
31 | nozzles_apart = 18; // distance between nozzles for dual hotend | ||
32 | space_behind_nozzle = 10;// space behind the nozzle where we're allowed to go | ||
33 | // without the fear of hitting carriage | ||
34 | |||
35 | snapper_d = 8; snapper_overlap=0.2;// snip snap | 39 | snapper_d = 8; snapper_overlap=0.2;// snip snap |
36 | 40 | ||
37 | smooth_f = 120; | 41 | smooth_f = 120; |
38 | 42 | ||
39 | type="circular"; // circular|3jets | ||
40 | ductshape="square"; // square|round | ||
41 | dual=false; // dual or single | ||
42 | |||
43 | to_midduct = fanduct_ir+fanduct_shell+fanduct_w/2; | 43 | to_midduct = fanduct_ir+fanduct_shell+fanduct_w/2; |
44 | dual_spots = [ [+space_behind_nozzle, -(to_midduct+nozzles_apart/2)], | 44 | dual_spots = [ [+space_behind_nozzle, -(to_midduct+nozzles_apart/2)], |
45 | [- to_midduct, -(to_midduct+nozzles_apart/2)], | 45 | [- to_midduct, -(to_midduct+nozzles_apart/2)], |
46 | [- to_midduct, 0] ]; | 46 | [- to_midduct, 0] ]; |
47 | 47 | ||
48 | module fanduct(type=type,ductshape=ductshape,dual=dual) { | 48 | module fanduct(type=type,ductshape=ductshape,dual=dual) { |