Bugs item #3162395, was opened at 2011-01-19 23:19 Message generated for change (Tracker Item Submitted) made by gustep12 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=409538&aid=3162395&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: Sebastian (gustep12) Assigned to: Stefan Petersen (spetm) Summary: gerv-2.5.0 aperture macro problem Initial Comment: I had some gerber files here which were displayed incorrectly in v2.5.0 and also v2.4.0. I spent some hours trying to figure out where the problem occurred, until I determined that it must be related to the following aperture macro statement: %AMROTRECT*21,1,$1,$2,0,0,$3*% This macro is apparently used to define "rotated rectangle" apertures like this: %ADD21ROTRECT,0.087X0.087X270*% %ADD26ROTRECT,0.084X0.084X180*% Any aperture based on this macro was not parsed correctly. I know that rotations occur only at 90 degree intervals in the file in question, so I was able to fix the RS-274X file by converting the offending (rotated rectangle) statement to a normal rectangle macro like this, by swapping the width for the height. This works for 90 and 270 degree rotations, while for 180 degree rotated rectangles I just converted them to normal rectangles without swapping X and Y: %ADD21R0.087X0.087*% %ADD26R0.084X0.084*% However, a better fix would be to ensure that the macro in question works as intended to begin with... Just trying to be helpful. Thanks very much for releasing v2.5.0! Sebastian ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=409538&aid=3162395&group_id=33921 ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Gerbv-devel mailing list Gerbv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gerbv-devel