From be4e06e795dc14c8d133d692aa59a577f02f49f4 Mon Sep 17 00:00:00 2001
From: Jochen Vothknecht <jochen3120@gmail.com>
Date: Fri, 17 Sep 2021 12:50:16 +0200
Subject: [PATCH] =?UTF-8?q?=E2=80=A6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 HeatSink.scad | 36 ++++++++++++++++++++++++++++++++++--
 1 file changed, 34 insertions(+), 2 deletions(-)

diff --git a/HeatSink.scad b/HeatSink.scad
index a70634a..dd35785 100644
--- a/HeatSink.scad
+++ b/HeatSink.scad
@@ -142,6 +142,38 @@ fu_strength = 2;  // material strength
 
 fu_outlet_w = (hs_fin_cnt / 2) * hs_fin_w0 + (hs_fin_cnt / 2 - 1) * hs_fin_spacing;  // Σ of fins spacing and width calculated over one side;
 
+
+
+
+
+
+
+module tri(w, h) {
+  polygon([
+    [0, -h/2],
+    [0, h/2],
+    [w, 0]
+  ]);
+}
+
+
+
+// length of the outlet
+x = 10;  // TODO: rename!!!!
+
+// difference between x and the split
+xx = 10;
+
+// 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]);
+  
+}
+
+
 module  funnel() {
   color("#1CFF2F20") {
     // TODO: implement!
@@ -158,6 +190,6 @@ module preview() {
 }
 
 
-
-preview();
+funnel2D();
+// preview();
 
-- 
GitLab