chiark / gitweb /
sewing-table: interlock
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 30 Dec 2016 16:35:31 +0000 (16:35 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 30 Dec 2016 16:35:31 +0000 (16:35 +0000)
sewing-table.scad.m4

index e8f6b7a..eb7dc2a 100644 (file)
@@ -103,10 +103,20 @@ module RoundLeftCorner(this_post, right_post) {
 }
 
 module InterlockCore(r) {
+  dx = sqrt(3) * r;
+  $fn= 80;
   translate([0, -thehd[0], 1]){
     mirror([0,0,1]){
       linear_extrude(height=tile_th+2){
-       circle(r=r, $fn=40);
+       circle(r=r);
+       difference(){
+         translate([-dx, -0.1])
+           square([ dx*2, r/2 + 0.1 ]);
+         for (xi = [-1, 1]) {
+           translate([ xi*dx, r ])
+             circle(r=r);
+         }
+       }
       }
     }
   }