chiark / gitweb /
powerbank-bike-clamp: Round inner corners master
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 14 Jul 2022 19:40:14 +0000 (20:40 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 14 Jul 2022 19:40:39 +0000 (20:40 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
powerbank-bike-clamp.scad

index 1fd250792f279fff5521260f7f559371137c7862..bedb11bc999b6c2cd315a5d104acbdd2954c5956 100644 (file)
@@ -27,6 +27,8 @@ clamp_min_width = 20;
 
 clamp_gap = 2;
 
+corner_rounding_r = 4;
+
 lower_th = 1;
 
 overlap_l = 0.1;
@@ -149,6 +151,9 @@ module TubeClampLeft() { ////toplevel
 
 module TubeClampRightPlan(){ ////toplevel
   difference(){
+    // It broke at the inside corner, round these a bit
+    offset(r=-corner_rounding_r)
+    offset(r=+corner_rounding_r)
     difference(){
       union(){
        rectfromto([ clamp_gap/2,                   bot_y ],