-rw-r--r-- | fanduct.scad | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fanduct.scad b/fanduct.scad index a18ce56..132b9e8 100644 --- a/fanduct.scad +++ b/fanduct.scad | |||
@@ -17,16 +17,18 @@ inlet_short_l = 7; // inlet length of protrusion (or depth of intrusion:)) | |||
17 | inlet_away = 15;// how far away inlet is | 17 | inlet_away = 15;// how far away inlet is |
18 | 18 | ||
19 | inlet_long_l = inlet_short_l+inlet_h; | 19 | inlet_long_l = inlet_short_l+inlet_h; |
20 | function hypothenuse(a,b) = sqrt(pow(a,2)+pow(b,2)); | 20 | function hypothenuse(a,b) = sqrt(pow(a,2)+pow(b,2)); |
21 | 21 | ||
22 | silicone_shell = 2; | 22 | silicone_shell = 2; |
23 | heater_clearance = max( | 23 | heater_clearance = dual |
24 | ? max(20,15.5) - 4.5 + silicone_shell | ||
25 | : max( | ||
24 | hypothenuse(16/2 +silicone_shell, 20-4.5 +silicone_shell),// E3D v6 | 26 | hypothenuse(16/2 +silicone_shell, 20-4.5 +silicone_shell),// E3D v6 |
25 | hypothenuse(11.5-4.5 +silicone_shell, 15.5 +silicone_shell)// E3D volcano | 27 | hypothenuse(11.5-4.5 +silicone_shell, 15.5 +silicone_shell)// E3D volcano |
26 | ); | 28 | ); |
27 | 29 | ||
28 | fanduct_elevation = 3; // fanduct elevation above nozzle tip | 30 | fanduct_elevation = 3; // fanduct elevation above nozzle tip |
29 | fanduct_blowtarget = -2; // what to blow at | 31 | fanduct_blowtarget = -2; // what to blow at |
30 | fanduct_h = 6; // inner height of the duct | 32 | fanduct_h = 6; // inner height of the duct |
31 | fanduct_w = 7; // inner width of the duct | 33 | fanduct_w = 7; // inner width of the duct |
32 | fanduct_shell=1.2; // shell thickness | 34 | fanduct_shell=1.2; // shell thickness |