Bugs item #2999618, was opened at 2010-05-10 21:28 Message generated for change (Tracker Item Submitted) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=409538&aid=2999618&group_id=33921
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Gerber Parser Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Stefan Petersen (spetm) Summary: 2.4.0 macro written is missing a coordinate Initial Comment: I've played with the gerber import of www.klayout.de and got an error message when reading the "save as" gerbv output of copper.gbx from the gerbv bugreport #2994471. It seems that a) gerbv 2.4.0 doesn't write the macro correctly and b) gerbv 2.4.0 doesn't detect that the macro is missing a coordinate klayout is more picky about reading c.gbr, it complains like this "Expected ',' here: *(expanding macro MACRO10) in line 17, reading file c.gbr". Both reduced testcase b.gbr and gerbv output c.gbr attached. Best Regards Stefan 1 * 2 %FSLAX26Y26*% 3 %MOIN*% 4 G04 A4 - i274x.oc8.d36 * 5 %AMA4top* 6 4,1,8, 7 0.034500,0.014290, 8 0.034500,-0.014290, 9 0.014290,-0.034500, 10 -0.014290,-0.034500, 11 -0.034500,-0.014290, 12 -0.034500,0.014290, 13 -0.014290,0.034500, 14 0.014290,0.034500, 15 0.034500,0.014290, 16 0.0000* 17 % 18 %ADD40A4top*% 19 %IPPOS*% 20 %LNfp0149448top.gbx*% 21 %LPD*% 22 G75* 23 G54D40* 24 X04750000Y00344900D03* 25 X04856300Y00246400D03* 26 X04750000Y00148000D03* 27 M02* 1 G04 This is an RS-274x file exported by * 2 G04 gerbv version 2.4.0 * 3 G04 More information is available about gerbv at * 4 G04 http://gerbv.gpleda.org/ * 5 G04 --End of header info--* 6 %MOIN*% 7 %FSLAX23Y23*% 8 %IPPOS*% 9 G04 --Define apertures--* 10 %AMMACRO10* 11 4,1,8, 12 0.034500,0.014290,0.034500,-0.014290,0.014290,-0.034500,-0.014290,-0.034500, 13 % 14 %ADD10MACRO10*% 15 G04 --Start main section--* 16 G54D10* 17 G01X04750Y00345D03* 18 G01X04856Y00246D03* 19 G01X04750Y00148D03* 20 M02* ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=409538&aid=2999618&group_id=33921 ------------------------------------------------------------------------------ _______________________________________________ Gerbv-devel mailing list Gerbv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gerbv-devel