From 78438183e2168f00ce7c8c70f2537c6ab47e7a7f Mon Sep 17 00:00:00 2001 From: Jochen Vothknecht <jochen3120@gmail.com> Date: Tue, 21 Sep 2021 20:01:03 +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 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/HeatSink.scad b/HeatSink.scad index 090cdf0..773a8bb 100644 --- a/HeatSink.scad +++ b/HeatSink.scad @@ -220,7 +220,7 @@ module funnelFins( _str = ff_str ) { - module fin(y) { + module fin(x, y) { module _fF(y) { translate([0, -y/2, 0]) square([x, y]); translate([0, 0, 0]) roundTri((x*9) * (y/w), y, 5); @@ -232,7 +232,8 @@ module funnelFins( } } - for (y=[0:fin_cnt/2 - 1]) fin(w - y * (fin_w0 + fin_spacing) * 2); + _x = 5; + for (y=[0:fin_cnt/2 - 1]) fin( -(y/fin_cnt/2 - 1) * _x, w - y * (fin_w0 + fin_spacing) * 2); } -- GitLab