From 3e7fca45b3c874eecdb88b3f13714c84957cbb54 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Wed, 21 Mar 2012 01:02:43 -0300 Subject: [PATCH] cameo/fped2d2z.pl: outpout a dummy point at Z=0 (experimental) This is signal for genpiece.pl to generate the top layer. --- cameo/fped2d2z.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cameo/fped2d2z.pl b/cameo/fped2d2z.pl index dda12ed..e4c5fe9 100755 --- a/cameo/fped2d2z.pl +++ b/cameo/fped2d2z.pl @@ -54,6 +54,9 @@ if ($reverse) { s/^(-?\d+(\.\d*)?)\s+(-?\d+(\.\d*)?)/$3 $1/mg; } %z = %t; + print "0 0 $zmax\n\n"; +} else { + print "0 0 0\n\n"; } # sort, to make output easier to examine manually