From 3fe2d75f4a4161e9a62c4692909af942c7b2a487 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 1 Mar 2019 20:16:44 +0000 Subject: [PATCH] salter-scale-hook: CutProfile Signed-off-by: Ian Jackson --- salter-scale-hook.scad | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/salter-scale-hook.scad b/salter-scale-hook.scad index 025e54a..b9dc7b7 100644 --- a/salter-scale-hook.scad +++ b/salter-scale-hook.scad @@ -9,7 +9,7 @@ screw_head_dia = 8.2 + 1.0; rod_offset = 14 + 2; mainheight = 25; width = 40; -rearthick = 3; +rearthick = 4; // calculated @@ -42,8 +42,13 @@ module Profile() { } module CutProfile(){ - x = rod_dia/2 + rearthick; - rectfromto([x,yminc], [30,ymaxc]); + hull(){ + for (x = [rod_dia/2 + thick/2, 30]) { + for (y= [yminc,ymaxc] ) { + translate([x,y]) circle(r = (thick-rearthick)/2, $fn=20); + } + } + } } module ProfileDemo(){ -- 2.30.2