-rw-r--r-- | fanduct.scad | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fanduct.scad b/fanduct.scad index 421dd5a..975f1cc 100644 --- a/fanduct.scad +++ b/fanduct.scad | |||
@@ -1,45 +1,45 @@ | |||
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 | function hypothenuse(a,b) = sqrt(pow(a,2)+pow(b,2)); | 6 | function hypothenuse(a,b) = sqrt(pow(a,2)+pow(b,2)); |
7 | 7 | ||
8 | silicone_shell = 2; | 8 | silicone_shell = 2; |
9 | heater_clearance = max( | 9 | heater_clearance = max( |
10 | hypothenuse(16/2 +silicone_shell, 20-4.5 +silicone_shell),// E3D v6 | 10 | 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 | 11 | hypothenuse(11.5-4.5 +silicone_shell, 15.5 +silicone_shell)// E3D volcano |
12 | ); | 12 | ); |
13 | 13 | ||
14 | fanduct_elevation = 3; // fanduct elevation above nozzle tip | 14 | fanduct_elevation = 3; // fanduct elevation above nozzle tip |
15 | fanduct_blowtarget = -2; // what to blow at | 15 | fanduct_blowtarget = -2; // what to blow at |
16 | fanduct_h = 6; // inner height of the duct | 16 | fanduct_h = 6; // inner height of the duct |
17 | fanduct_w = 7; // inner width of the duct | 17 | fanduct_w = 7; // inner width of the duct |
18 | fanduct_shell=1.2; // shell thickness | 18 | fanduct_shell=1.2; // shell thickness |
19 | fanduct_ir = heater_clearance+5; // inner radius | 19 | fanduct_ir = heater_clearance+5; // inner radius |
20 | 20 | ||
21 | jet_angle = 60; // angular width of the jet | 21 | jet_angle = 60-2; // angular width of the jet |
22 | 22 | ||
23 | inlet_w = 12.5; // inlet width | 23 | inlet_w = 12.5; // inlet width |
24 | inlet_h = 17; // inlet height | 24 | inlet_h = 17; // inlet height |
25 | inlet_l = 7; // inlet length of protrusion (or depth of intrusion:)) | 25 | inlet_l = 7; // inlet length of protrusion (or depth of intrusion:)) |
26 | inlet_away = 15;// how far away inlet is | 26 | inlet_away = 15;// how far away inlet is |
27 | 27 | ||
28 | hotend_clearance = 12; | 28 | hotend_clearance = 12; |
29 | 29 | ||
30 | snapper_d = 8; snapper_overlap=0.2;// snip snap | 30 | snapper_d = 8; snapper_overlap=0.2;// snip snap |
31 | 31 | ||
32 | smooth_f = 120; | 32 | smooth_f = 120; |
33 | 33 | ||
34 | type="3jets"; // "3jets" ; // circular|3jets | 34 | type="3jets"; // "3jets" ; // circular|3jets |
35 | 35 | ||
36 | 36 | ||
37 | module fanduct(type=type) { | 37 | module fanduct(type=type) { |
38 | 38 | ||
39 | // ***duct is all around! | 39 | // ***duct is all around! |
40 | module duct(what) { | 40 | module duct(what) { |
41 | if(what=="in") { | 41 | if(what=="in") { |
42 | sh = fanduct_w+2*fanduct_shell; sv = fanduct_h+2*fanduct_shell; | 42 | sh = fanduct_w+2*fanduct_shell; sv = fanduct_h+2*fanduct_shell; |
43 | smax = max(sh,sv); | 43 | smax = max(sh,sv); |
44 | rotate_extrude($fn=smooth_f) | 44 | rotate_extrude($fn=smooth_f) |
45 | translate([sh/2+fanduct_ir,sv/2]) | 45 | translate([sh/2+fanduct_ir,sv/2]) |