PCBARENA.EU

Supported Ucamco RS-274X GBR standard

Our parser is written according to Ucamco RS-274X Gerber Format Specification.
Revision 2016.12 is fully supported and revision 2017.05 compatibility is under development. The following commands and functions are tested:

FSCoordinate format
Absolute notationSupported
Leading zero omissionSupported
Incremental NotationDeprecated Not Supported
Trailing zero omissionDeprecated Not Supported
MOUnit modeSupported
ADAperture definition
CircleSupported
RectangleSupported
ObroundSupported
PolygonSupported
Circular hole in standard aperturesSupported
Rectangular hole in standard aperturesDeprecated Supported
AMDeclare aperture macro
Comment, Primitive Code 0Supported
Circle, Primitive Code 1Supported
Vector line, Primitive Code 20Supported
Center line, Primitive Code 21Supported
Outline, Primitive Code 4Supported
Polygon, Primitive Code 5Supported
Moire, Primitive Code 6Supported
Thermal, Primitive Code 7Supported
Variable valuesSupported
Arithmetic expressionsSupported
Lower left line, Primitive Code 22Deprecated Supported
Primitive Code 2Deprecated Not Supported
ABBlock apertureUnder development
DnnCurrent apertureSupported
D01Interpolate operation
LineSupported
Single quadrant arcSupported
Multi quadrant arcSupported
Coordinate data without operationDeprecated Supported
G01/G02/G03 in a data block with D01/D02Deprecated Supported
D02Move operationSupported
D03Flash operationSupported
G01Linear interpolation modeSupported
G02Clockwise circular interpolationSupported
G03Counterclockwise circular interpolationSupported
G04CommentSupported
G36Start region statementSupported
G37Ends region statementSupported
G74Single quadrant modeSupported
G75Multi quadrant modeSupported
LPLoad polaritySupported
LMLoad mirrorUnder development
LRLoad rotationUnder development
LSLoad scaleUnder development
SRStep and repeatSupported
Closing SR with the M02Deprecated Supported
SR and AB nestingUnder development
TFFile attributesSupported
TAAperture attributes Supported
TOObject attributesSupported
TDDelete one or all attributesSupported
M02End of fileSupported
G54Select apertureDeprecated Supported
G55Prepare for flashDeprecated Supported
G70Set the unit mode to inchDeprecated Supported
G71Set the unit mode to mmDeprecated Supported
G90Absolute notationDeprecated Supported
G91Incremental notationDeprecated Not Supported
M00Program stopDeprecated Supported
M01Optional stopDeprecated Supported
IPImage polarityDeprecated Ignored
ASAxes correspondenceDeprecated Ignored
IRImage rotationDeprecated Ignored
MIMirror imageDeprecated Ignored
OFOffsetDeprecated Ignored
SFScale factorDeprecated Ignored
INImage nameDeprecated Ignored
LNLevel nameDeprecated Ignored

Deprecated - occurrence of such commands is out of actual standard
Supported - the command is fully supported
Not Supported - parts of image can be missing or incorrectly rendered
Ignored - command has not effect or it cause minor modifications like mirroring or rotation
Under development - function fill be ready soon

For the purpose of commonly used drill files under Excellon NC format. Following commands from standard are supported:

;CommentSupported
TTool definition/selection (circular)Supported
METRIC
METRIC,LZ
METRIC,TZ
INCH
INCH,LZ
INCH,TZ
M71
M72
Measure modeSupported
Xnn / Ynn / XnnYnnCoordinate change / DrillSupported
G00RouteSupported
G01Linear moveSupported
G05Drill modeSupported
G85SlotSupported
G90Absolute modeSupported
G91Incremental modeSupported
M30End of programSupported
M48Start of headerSupported
M95
%
End of headerSupported

All not listed commands are unsupported or have not effect on rendering.

Copyright © PCBARENA.EU 2025.