chiark / gitweb /
sewing-table: introduce a concat (nfc)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 1 Jan 2017 21:44:47 +0000 (21:44 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 1 Jan 2017 21:44:47 +0000 (21:44 +0000)
sewing-table.scad.m4

index 83907c6..4d818ef 100644 (file)
@@ -47,7 +47,7 @@ module Post(){
 
 module Posts(posts) {
   for (p= posts) {
-    translate([p[0], p[1], 0])
+    translate(concat(p, [0]))
       Post();
   }
 }