How to check Gerber files before ordering a PCB

Updated

A board spin costs weeks. Most of the mistakes that cause one are visible in the Gerber and drill files, and take a few minutes to catch. Open your files in a viewer — Gerber3D's is free and needs no upload — and go through this list.

1. Every layer is there, and is what it should be

Count the layers: copper for each layer of the stack, mask and silkscreen for each side that has them, paste for each side with SMD parts, the outline, and the drill files. Check that each was recognised as the right layer; a bottom silkscreen read as top paste is easy to miss in a file list and obvious in 3D. In Gerber3D, pull the stack apart with the Stack slider and read the labels.

2. The outline is closed and the size is right

The board should have one closed outline, with any cut-outs inside it. Compare the size in the Board section with your mechanical drawing, and measure a mounting hole's position. An outline drawn on a copper layer, or not closed, is a common reason for a fabricator's query.

3. The holes are in the right place

Look at the board in 3D from the top: every through-hole pad and via should have its hole in its centre. Holes that are scattered, all in one corner or far outside the board mean the drill file's units or zero format were misread or misexported — re-export it with explicit units and decimal format. Check plated and non-plated holes: mounting holes are usually non-plated.

4. Solder mask opens where it should

Every pad that will be soldered needs a mask opening; vias are usually covered (tented). Look for pads covered by mask, mask openings with nothing under them, and mask slivers between fine-pitch pads, which the solder-mask dam check finds.

5. Silkscreen is readable and off the pads

Legend over a pad will not print, or will print on the solder joint. Check designators are legible, not upside-down or mirrored on the wrong side, and that line widths meet the fabricator's minimum.

6. Run the design checks against your fabricator's limits

Choose a profile that matches your fabricator — Gerber3D includes Generic IPC Class 2 and draft JLCPCB and PCBWay profiles — and run the checks. Look first at errors: trace width, clearance, annular ring, drill size, copper to edge, hole to hole. Then the warnings: acid traps, slivers, copper balance.

7. If the board is assembled: the parts

Add the placement file and BOM. Every part should sit on its pads, the right way round, with a polarity mark where it needs one, and the placement file, BOM and Gerbers should agree. The assembly checks list parts off their lands, colliding parts and lands without a part.

8. Keep a record

Download the check report and keep it with the order: if a question comes back from the fabricator, you know what you sent and what you checked.

Questions

Why check Gerbers if my design passed DRC?

Because the fabricator builds from the exported files, not from your design. Export settings can leave out a layer, change the mask expansion or write the drill file in a different unit, and DRC never sees those.

How long does a review take?

For a typical board, a few minutes: open the files, walk through the checklist, run the design checks against your fabricator's profile.