Date:2013-11-02 01:15:43 (5 months 23 days ago)
Author:Werner Almesberger
Commit:e62da4e2bb84d9588e367b16c31d83cf59dfd138
Message:cae-tools/cameo/fped2stl.pl (flush): substitute coordinates only once

If a layer was at exactly z = 1 mm, we would set it to $z1 (after temporarily
setting it to $z) even in cases where it should be at $z.
Files: cameo/fped2stl.pl (1 diff)

Change Details

cameo/fped2stl.pl
5151
5252    while (<RR>) {
5353        s/cameo/$name/;
54        s/(vertex.*)0\.0*e\+00$/$1$z/;
55        s/(vertex.*)1\.0*e\+00$/$1$z1/;
54        s/(vertex.*)0\.0*e\+00$/$1$z/ || s/(vertex.*)1\.0*e\+00$/$1$z1/;
5655        print;
5756    }
5857    close RR;

Archive Download the corresponding diff file

Branches:
master



interactive