Major bummer. That is something I have never seen before. But a very quick look at-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Below is a reduced gerber from a board we produce that I tried to view with gerbv. It looked good where it was right but unfortunately it had some ghastly diagonal lines across several layers.
The problem seems to be that gerbv cannot parse the following two lines in the aperture macro MTHOLE definition:
$1=$1-$2*
$1=$1/2*
I had a look through src/amacro.c and unfortunately fixing this wouldA patch or a complete rewrite is always welcome. You get the copyright for the file,
exceed the trivial-change copyrightability threshold. It would need
either a proper precedence-aware parse, or a simple right-to-left rule.
There's an implementation of infix to postfix conversion at
http://andrewd.ces.clemson.edu/courses/cpsc215/spring01/hw/asg2/cal.c
The comment right above in2post() outlines the algorithm.
Regards, /spe
_______________________________________________ geda-dev mailing list geda-dev@xxxxxxxxxxxxxx http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev