Bugs item #2999618, was opened at 2010-05-10 16:28 Message generated for change (Settings changed) made by thepurlieu 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: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) >Assigned to: Julian Lamb (thepurlieu) 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* ---------------------------------------------------------------------- >Comment By: Julian Lamb (thepurlieu) Date: 2010-05-10 20:08 Message: Stefan, Thanks for the bug report. I think the problem you're seeing was fixed with the fix for bug #2994471. Using the latest git version of gerbv, the export works correctly for me. Please feel free to try the latest git version and let me know if you still see the problem. Cheers, Julian ---------------------------------------------------------------------- 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