The gbrplt library includes a module that performs validation checks on the input Gerber file and either corrects problems or flags an error for problems that are not correctable. This module is ON by default.
What is CheckedAperture Definitions defined and then redefined.
No more than 10,000 macro and d-code definitions.
Consistent use of the G74/G75 commands.
Consistent use of the I and J circular coordinates.
Format precision/dynamic range does not exceed 8 - i.e. 3.5 is OK but 5.5 is not.
Data coordinate range consistent with format statement.
The input data format is actually RS274X and not some other unrecognized format.
A re-formulated Gerber file is written to disk as the output of this module.
This check does add time to the "setup" time required by the rasterizer. The additional time is not noticeable for small files but may become significant for very large Gerber files. However it makes the RIP much more robust and will exit gracefully for files that previously caused the RIP to crash.
Yes. If you know, based on the source of the Gerber data, that none of the listed issues are present, you can turn off validation using the -nosplit
argument. For example, Gerber that comes out of Artwork's ODB2GBR translator or OASIS2GBR translator does not require input validation as none of the violations listed above will ever be produced.
However, if you do use the -nosplit
argument to turn off the input validation, it also turns off the G36/G37 shape compensation.