chiark / gitweb /
hole-repair-20191117: abandon roundedness
[reprap-play.git] / hole-repair-20191117.scad
index 173fe830a84879e0a6e71bb9b0591f7e4bb945a9..e4682a03157935d5fbadbc9fdd0270c25d2ae019 100644 (file)
@@ -6,26 +6,16 @@ th = 4;
 
 nom_hole = 22;
 min_r = 15 + nom_hole/2;
-maj_r = 22 + nom_hole/2;
+maj_r = 30 + nom_hole/2;
 
 //$fa=1;
 //$fs=1;
 
 module Profile(r) {
-  prof_r = th/(1-cos(45));
-  prof_R = r - prof_r * cos(45);
-
-  intersection(){
-    hull(){
-      translate([0, th-prof_r]){
-       translate([1,0])
-         square(center=true, 2*[1,prof_r]);
-       translate([prof_R, 0])
-         circle(prof_r);
-      }
-    }
-    square([r, th]);
-  }
+  polygon([ [0,        0],
+           [maj_r,    0],
+           [maj_r-th, th],
+           [0,        th] ]);
 }
 
 module Body(){