From e1753602f99f416eb58dc7e33ef41e27443edc0f Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 5 Feb 2016 18:09:52 +0000 Subject: [PATCH] commitid.scad.pl: 2d demo has bounding rectangles --- commitid.scad.pl | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/commitid.scad.pl b/commitid.scad.pl index 489d5c2..f4a0d19 100755 --- a/commitid.scad.pl +++ b/commitid.scad.pl @@ -165,9 +165,15 @@ sub gentextmodule ($@) { p sprintf "function %s_sz() = Commitid__scale() * 0.1 * [ %d, %d ];\n", $modb, 2 * ($cols * 4 - 1), 2 * (@lines * 6 - 1); - push @gtm_demo_o, - " translate([$gtm_demo_i * st[0], $gtm_demo_j * st[1]])". - " ${modb}_2D();\n"; + push @gtm_demo_o, <