chiark / gitweb /
salter-scale-hook: CutProfile
[reprap-play.git] / 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(){