From a222b4e32dd88c5d398c693317b17d40ef7a0dc7 Mon Sep 17 00:00:00 2001
From: Jochen Vothknecht <jochen3120@gmail.com>
Date: Mon, 20 Sep 2021 14:05:03 +0200
Subject: [PATCH] Begin developing air funnel split

---
 HeatSink.scad | 22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)

diff --git a/HeatSink.scad b/HeatSink.scad
index 00839a2..4455b5c 100644
--- a/HeatSink.scad
+++ b/HeatSink.scad
@@ -159,19 +159,25 @@ module tri(w, h) {
 
 
 // length of the outlet
-x = 10;  // TODO: rename!!!!
-
-// difference between x and the split
-xx = 10;
+x = 5;  // TODO: rename!!!!
 
 // The profile of the funnel, ready for extrusion
 module funnel2D() {
   
   _y = hs_w/2 - fu_outlet_w;
-  translate([0, _y, 0]) square([x, fu_outlet_w]);
-  translate([0, -_y - fu_outlet_w, 0]) square([x, fu_outlet_w]);
-  
-  translate([0, 0, 0]) tri(xx, _y);
+
+  difference() {
+    union() {
+      translate([0, _y, 0]) square([x, fu_outlet_w]);
+      translate([0, -_y - fu_outlet_w, 0]) square([x, fu_outlet_w]);
+      
+      // air funnel split
+      translate([x, 0, 0]) tri(_y*4, hs_w);
+    }
+
+    // air funnel split
+    translate([x, 0, 0]) tri(x*2, _y*2);
+  }
 }
 
 
-- 
GitLab