chiark / gitweb /
air-hockey-puck: wip
[reprap-play.git] / powerbank-bike-clamp.scad
index 1fd250792f279fff5521260f7f559371137c7862..2a755a878f8186848eb3e1bf4f6dea7dcdcc394d 100644 (file)
@@ -27,6 +27,8 @@ clamp_min_width = 20;
 
 clamp_gap = 2;
 
+corner_rounding_r = 10;
+
 lower_th = 1;
 
 overlap_l = 0.1;
@@ -149,12 +151,15 @@ 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 ],
                   [ clamp_gap/2 + behind_knob_th,  0     ]);
        intersection(){
-         circle(r= main_r);
+         circle(r= main_r); // maybe split off from main_r and increase?
          union(){
            rectfromto([0,0],
                       main_r *  [5,5]);