1
0
mirror of git://projects.qi-hardware.com/cae-tools.git synced 2024-12-22 23:26:27 +02:00

cameo/fped2d2z.pl: outpout a dummy point at Z=0 (experimental)

This is signal for genpiece.pl to generate the top layer.
This commit is contained in:
Werner Almesberger 2012-03-21 01:02:43 -03:00
parent 6d70656ab2
commit 3e7fca45b3

View File

@ -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