← Back to team overview

kicad-developers team 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.
> 
> Background:
> - %FSD is used by older versions of Altium Designer [1], 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[2] and is parsed
> by other gerber viewers[3][4][5].
> 
> 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 [6][7][8].
> 
> -Seth
> 
> [1] http://www.altium.com/documentation/sites/default/files/wiki_attachments/255441/Gerber%20Advanced%20AD.png
> [2] https://www.eurocircuits.com/rs274x-extended-gerber/
> [3] www.gerber-viewer.com/ <http://www.gerber-viewer.com/>
> [4] https://circuitpeople.com/
> [5] http://gerbv.geda-project.org/
> [6]
> https://github.com/spqr/umichmoo/blob/master/schematics/moo1_1/altium-progheader/Gerbers/programmer.gbs
> [7] https://github.com/sonyxperiadev/CDB-Assist/blob/master/Hardware/CDBAssist-v3.1-OutlineRoute.gbr
> [8] http://zeus.pd.infn.it/MVD/download/pitch/pitch.ger
> 

Hi Seth,

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.


-- 
Jean-Pierre CHARRAS


References