chiark / gitweb /
salter-scale-hook: CutProfile
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 1 Mar 2019 20:16:44 +0000 (20:16 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 1 Mar 2019 20:16:44 +0000 (20:16 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
salter-scale-hook.scad

index 025e54a97e9d99dcc1ef2e553959c2371129783f..b9dc7b7a3fae47694644ad1cdd911291f84d6434 100644 (file)
@@ -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(){