chiark / gitweb /
sewing-table: FitTest bracing wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 26 May 2017 16:31:31 +0000 (17:31 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 26 May 2017 16:31:31 +0000 (17:31 +0100)
sewing-table.scad.m4

index 3964850626759c1d3276c3fb47157a2060b4d2bb..c12931527d4a0f24913686180946b2b4676eb62c 100644 (file)
@@ -531,9 +531,23 @@ m4_dnl    that denoted by ix, and the next one anticlockwise
 m4_define(`R_EDGE',`$1[$2],$1[(($2)+1)%4]')
 
 module FitTest(){ ////toplevel
+  sz = [280,180];
+  c0 = [-50,-80];
+  c = Rectangle_corners(c0, sz);
+  brace = [7,7,9];
   difference(){
-    cube([200,200,200]);
-    #Machine();
+    union(){
+      Rectangle_TileBase(c);
+      translate(concat(c0, [-brace[2] + 0.1])){
+       %difference(){
+         cube(concat(sz,[brace[2]]) - [5,0,0]);
+         translate(brace + [0,0, -25])
+           cube(concat(sz, [50]) - brace*2 + [10,0,0]);
+       }
+      }
+      RoundEdge(R_EDGE(c,1));
+    }
+    Machine();
   }
 }