From: Ian Jackson Date: Fri, 5 Feb 2016 16:08:23 +0000 (+0000) Subject: commitid.scad.pl: Get %s_sz x and y the right way round X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=15f864ec10493f3960306de2bb2c7d4d988eab0a;p=reprap-play.git commitid.scad.pl: Get %s_sz x and y the right way round --- diff --git a/commitid.scad.pl b/commitid.scad.pl index e4da3b5..a2793ea 100755 --- a/commitid.scad.pl +++ b/commitid.scad.pl @@ -110,7 +110,7 @@ sub gentextmodule ($@) { p " translate([0,0,-d]) linear_extrude(height=d*2) ${modb}_2D();\n"; p "}\n"; p sprintf "function %s_sz() = Commitid__scale() * 0.1 * [ %d, %d ];\n", - $modb, 2 * (@lines * 6 - 1), 2 * ($cols * 4 - 1); + $modb, 2 * ($cols * 4 - 1), 2 * (@lines * 6 - 1); } our @demo;