summaryrefslogtreecommitdiffabout
path: root/fanduct.scad
Side-by-side diff
Diffstat (limited to 'fanduct.scad') (more/less context) (show whitespace changes)
-rw-r--r--fanduct.scad4
1 files changed, 3 insertions, 1 deletions
diff --git a/fanduct.scad b/fanduct.scad
index a18ce56..132b9e8 100644
--- a/fanduct.scad
+++ b/fanduct.scad
@@ -17,13 +17,15 @@ inlet_short_l = 7; // inlet length of protrusion (or depth of intrusion:))
inlet_away = 15; // how far away inlet is
inlet_long_l = inlet_short_l+inlet_h;
function hypothenuse(a,b) = sqrt(pow(a,2)+pow(b,2));
silicone_shell = 2;
-heater_clearance = max(
+heater_clearance = dual
+ ? max(20,15.5) - 4.5 + silicone_shell
+ : max(
hypothenuse(16/2 +silicone_shell, 20-4.5 +silicone_shell), // E3D v6
hypothenuse(11.5-4.5 +silicone_shell, 15.5 +silicone_shell) // E3D volcano
);
fanduct_elevation = 3; // fanduct elevation above nozzle tip
fanduct_blowtarget = -2; // what to blow at