Generating Gerber files

Gerber files

When generating Gerber files, try to use the following settings (where available):

File formatExtended Gerber (RS-274X), preferably with Gerber X2/X3 extensions
Polygons (G36/G37)Enabled
Multi-quadrant arcsDisabled
Stroke width for filled areas (if unable to use polygons)preferably at least 0.635 mm; avoid less than 0.150 mm
UnitMM
Number formatat least 3.5; 4.6 (or 6.6) is best
Zero SuppressionLeading

All Gerber files must have the same origin. If you generate Gerber files with INCH units, you should use at least 2.4 (preferably 2.6) as the number format.

If possible, include the Gerber X2 "File function" attribute in each file.

Drill files

When generating Drill files, try to use the following settings (where available):

File formatExcellon, or preferably XNC
Include tool listEnabled
UnitMM
Number format3.3
Decimal pointsIncluded
Zero SuppressionLeading

All drill files must have the same origin. Drill files should have the same origin as Gerber files. If you generate Drill files with INCH units, you should use 2.4 as the number format.

File naming

Macaos supports numerous filename conventions. The best to use are Protel/Altium, Eagle or OrCad conventions.

The Protel/Altium convention specifies the layer with the filename extension:

Board layerFilename extensions
Board outline.GKO, .GM or .GML
Drill through.TXT
Copper top.GTL
Copper bottom.GBL
Solder mask top.GTS
Solder mask bottom.GBS
Legend (silkscreen) top.GTO
Legend (silkscreen) bottom.GBO
Paste mask top.GTP or .GPT
Paste mask bottom.GBP or .GPB
Inner layers (x=1-8 or y=2-9 for layers 2-9).Gx or .GyL
Inner ground plane (negative) layers (x=1-8 for layers 2-9).GPx

Other files

If possible, include a Gerber Job file. This file will give additional information about your files, which layers they represent, and more.