kicad-developers team mailing list archive
Mailing list archive
Re: [PATCH] GerbView non-standard extensions
Le 29/09/2017 à 00:42, Seth Hillbrand a écrit :
> Attached is a patch to allow GerbView to "correctly" process %FSD commands. It also displays a
> warning message after processing the file that the Gerber is invalid.
> - %FSD is used by older versions of Altium Designer , PADS, Allergro and CircuitCAM, among
> others, to denote that coordinate zeros should include _both_ leading a trailing zeros. While this
> has never been part of the RS274 standard, it is understood by some manufacturers and is parsed
> by other gerber viewers.
> While we don't want to generate these invalid files, the attached patch will display them as
> intended by the EDAs that generated them. I've verified against ECAMII v6.0 and PADS X2 with the
> files from .
>  http://www.altium.com/documentation/sites/default/files/wiki_attachments/255441/Gerber%20Advanced%20AD.png
>  https://www.eurocircuits.com/rs274x-extended-gerber/
>  www.gerber-viewer.com/ <http://www.gerber-viewer.com/>
>  https://circuitpeople.com/
>  http://gerbv.geda-project.org/
>  https://github.com/sonyxperiadev/CDB-Assist/blob/master/Hardware/CDBAssist-v3.1-OutlineRoute.gbr
>  http://zeus.pd.infn.it/MVD/download/pitch/pitch.ger
I committed you patch, because it displays a warning message about the %FSD incorrect format
statement (previously this warning message was missing in Gerbview), and the %FSD was already
existing in Gerbview, but perhaps incorrectly handled (who knows, %FSD was never documented in the
official Gerber doc).
Thanks for your contribution.