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

index c84f359..83907c6 100644 (file)
@@ -84,7 +84,7 @@ m4_define(`INREFFRAME',`
 m4_dnl  INREFFRAME(left_post, right_post, morevars)
 m4_dnl    INREFFRAME_EDGE { body; }
 m4_define(`INREFFRAME_EDGE',`
-  translate([-thehd[0], -thehd[1], -round_edge_rad])
+  translate(concat(-thehd, [-round_edge_rad]))
 ')
 
 module RoundEdge(left_post, right_post) {