KiCad can produce a complete, fabrication-ready file set in about two minutes. It can also produce a set that looks complete and is wrong in one detail — a missing drill file, a mirrored layer, an origin that does not match, units in mils when the fabricator expects millimetres.
The export is easy; the checking is the work. This guide covers the export settings that matter, the traps that cause boards to be built wrong, and a checklist to run before you send.
Does KiCad Support Gerber Files?
Yes. KiCad generates standard RS-274X Gerber files plus Excellon drill files, which is what nearly every fabricator accepts. No third-party tool is needed.
The output is manufacturing data, not a design file. A Gerber describes shapes on layers — it contains no nets, no component references, no design intent. That distinction explains why fabricators cannot "just fix" a design issue from Gerber alone.
The Export Path
Gerbers:File → Fabrication Outputs → Gerbers (.gbr)
In the plot dialog:
- Output directory — a dedicated folder, not the project root, so you do not mix revisions
- Layers to plot — the manufacturing set (below)
- Format — Gerber, RS-274X
- Units — millimetres (match what your fabricator asks for)
- Use Protel filename extensions — optional; it produces
.GTL,.GBLstyle suffixes that some fabricators expect. Plain.gbris standard and fine for most. - Subtract soldermask from silkscreen — usually enabled, so legend does not print over exposed pads
- Plot footprint values/references — usually disabled; fabrication does not need them, and they clutter the silkscreen
Drill files:File → Fabrication Outputs → Drill Files (.drl)
- Format — Excellon
- Units — millimetres, matching the Gerber units
- Zeros — decimal format is the safest; avoid leading/trailing zero suppression unless the fabricator requests it
- Drill origin — absolute, matching the Gerber origin
- cURL Too many subrequests by single Worker invocation. To configure this limit, refer to https://developers.cloudflare.com/workers/wrangler/configuration/#limits cURL Too many subrequests by single Worker invocation. To configure this limit, refer to https://developers.cloudflare.com/workers/wrangler/configuration/#limits
- cURL Too many subrequests by single Worker invocation. To configure this limit, refer to https://developers.cloudflare.com/workers/wrangler/configuration/#limits cURL Too many subrequests by single Worker invocation. To configure this limit, refer to https://developers.cloudflare.com/workers/wrangler/configuration/#limits
- cURL Too many subrequests by single Worker invocation. To configure this limit, refer to https://developers.cloudflare.com/workers/wrangler/configuration/#limits cURL Too many subrequests by single Worker invocation. To configure this limit, refer to https://developers.cloudflare.com/workers/wrangler/configuration/#limits
cURL Too many subrequests by single Worker invocation. To configure this limit, refer to https://developers.cloudflare.com/workers/wrangler/configuration/#limits cURL Too many subrequests by single Worker invocation. To configure this limit, refer to https://developers.cloudflare.com/workers/wrangler/configuration/#limits.
cURL Too many subrequests by single Worker invocation. To configure this limit, refer to https://developers.cloudflare.com/workers/wrangler/configuration/#limits
| Layer | 目的 | Notes |
|---|---|---|
| F.Cu | Top copper | |
| B.Cu | Bottom copper | |
| Inner copper layers | Each inner layer separately | Confirm the mapping to physical stack order |
| F.Mask | Top solder mask | Mask layers are negative — openings, not coverage |
| B.Mask | Bottom solder mask | |
| F.Silkscreen | Top legend | Exclude references if not wanted |
| B.Silkscreen | Bottom legend | |
| Edge.Cuts | Board outline | Must be a closed contour |
| F.Paste / B.Paste | Stencil apertures | Needed for assembly, not for bare board fabrication |
Two layers get forgotten: Edge.Cuts (the board has no outline, and the fabricator cannot panelise) and inner layers (the layer count is wrong, and the quote is wrong).
Two layers people forget, and why
Edge.Cuts has no electrical function, so it is easy to leave off when you plot "the copper". Without it there is no board outline, no panel array and no routing path — the file set is incomplete in a way that stops CAM work rather than producing a defect.
Inner layers are forgotten after a layer count change. The design grows from four to six layers, the new layers are drawn, but the old plot settings are reused. The Gerber set then has four copper layers while the stack-up says six, and the quote is built on the wrong board.
The Traps That Produce Wrong Boards
Nine traps, in the order they cost money
1. Units mismatch. Gerber in inches and drill in millimetres produces a board where the holes are in the wrong place by a factor of 25.4. Always plot both in the same units, and state the units in the file name or the cover note.
2. Origin mismatch. The drill origin must match the Gerber origin. If the Gerber uses absolute coordinates and the drill uses a plot-relative origin, every hole shifts.
3. Mirroring. A mirrored bottom layer puts the copper on the wrong side of the board. Mirror should be off. Some tools default to mirroring for bottom layers in certain export paths.
4. Missing drill file. Gerber alone gives pads with no holes. The board is quoted as if it had no through-holes, or the fabricator asks and delays.
5. Edge.Cuts not closed. cURL Too many subrequests by single Worker invocation. To configure this limit, refer to https://developers.cloudflare.com/workers/wrangler/configuration/#limits.
cURL Too many subrequests by single Worker invocation. To configure this limit, refer to https://developers.cloudflare.com/workers/wrangler/configuration/#limits. cURL Too many subrequests by single Worker invocation. To configure this limit, refer to https://developers.cloudflare.com/workers/wrangler/configuration/#limits.
cURL Too many subrequests by single Worker invocation. To configure this limit, refer to https://developers.cloudflare.com/workers/wrangler/configuration/#limits. cURL Too many subrequests by single Worker invocation. To configure this limit, refer to https://developers.cloudflare.com/workers/wrangler/configuration/#limits.
cURL Too many subrequests by single Worker invocation. To configure this limit, refer to https://developers.cloudflare.com/workers/wrangler/configuration/#limits. cURL Too many subrequests by single Worker invocation. To configure this limit, refer to https://developers.cloudflare.com/workers/wrangler/configuration/#limits.
cURL Too many subrequests by single Worker invocation. To configure this limit, refer to https://developers.cloudflare.com/workers/wrangler/configuration/#limits. cURL Too many subrequests by single Worker invocation. To configure this limit, refer to https://developers.cloudflare.com/workers/wrangler/configuration/#limits.
Is a Gerber File a CAD File?
No. A Gerber is a photoplot format — a description of shapes per layer. It cannot be opened in a CAD tool and edited as a design, and it contains no component or net information.
This matters practically: if you send only Gerber, the fabricator cannot fix a design error for you. They can flag a manufacturability issue, but the fix has to happen in your source design and be re-exported.
How Do You Convert Gerber Files to PDF?
Three ways, in order of convenience:
- KiCad's own Gerber viewer —
File → Gerber Viewer(or the standalone Gerber Viewer application). It opens all layers and can export an image, but PDF output is limited. - gerbv — a free, open-source Gerber viewer that handles layer stacking and exports PDF directly. This is the standard choice for a quick visual check.
- Fabricator preview tools — most suppliers offer an online Gerber preview as part of quotation. Useful as a second opinion, because it shows what their CAM system sees.
A PDF is for verification only. Never send a PDF instead of Gerber.
Why a PDF cannot replace the file set
A PDF is a picture of the board. It has no coordinates, no layer identity and no drill data, so a CAM engineer cannot build from it. Sending one as a convenience check is fine and often welcome; sending one instead of the export means the fabricator has to reconstruct your board by eye, and reconstruction is where errors enter.
Pre-Send Checklist
File set:
- All copper layers present, including every inner layer
- Both mask layers, both silkscreen layers
- Edge.Cuts is a single closed contour
- Paste layers included if the order includes assembly
- Drill file generated, with PTH and NPTH accounted for
- Every file named with the same board revision
- Exported as one set, at the same time, after the final save
Settings:
- Gerber and drill both in millimetres (or both in inches, if requested)
- Gerber format RS-274X
- Drill format Excellon, decimal, no mirror
- Drill origin matches Gerber origin
- Soldermask subtracted from silkscreen
- References and values not plotted on fabrication layers unless requested
Visual check:
- Open the set in a Gerber viewer and inspect each layer
- Confirm the outline matches the mechanical drawing
- Confirm the drill pattern matches the pads
- Check that mask openings align with pads, not cover them
- Compare the layer count with the stack-up you intend to order
cURL Too many subrequests by single Worker invocation. To configure this limit, refer to https://developers.cloudflare.com/workers/wrangler/configuration/#limits
cURL Too many subrequests by single Worker invocation. To configure this limit, refer to https://developers.cloudflare.com/workers/wrangler/configuration/#limits. cURL Too many subrequests by single Worker invocation. To configure this limit, refer to https://developers.cloudflare.com/workers/wrangler/configuration/#limits.
cURL Too many subrequests by single Worker invocation. To configure this limit, refer to https://developers.cloudflare.com/workers/wrangler/configuration/#limits. cURL Too many subrequests by single Worker invocation. To configure this limit, refer to https://developers.cloudflare.com/workers/wrangler/configuration/#limits.
cURL Too many subrequests by single Worker invocation. To configure this limit, refer to https://developers.cloudflare.com/workers/wrangler/configuration/#limits. cURL Too many subrequests by single Worker invocation. To configure this limit, refer to https://developers.cloudflare.com/workers/wrangler/configuration/#limits.
cURL Too many subrequests by single Worker invocation. To configure this limit, refer to https://developers.cloudflare.com/workers/wrangler/configuration/#limits. A footprint with a silkscreen box overlapping pads passes DRC and annoys assembly. Check the fabrication layers visually.
No cover note. A short note stating the revision, layer count, thickness, copper weight, finish and quantity prevents most clarification rounds.
よくある質問
What is the most common KiCad export mistake?
Plotting a stale revision. The plot settings persist between sessions, so the export looks correct while the source has moved on. Confirm the project was saved, then export the entire set at once with the revision in every filename.
Why is my drill file in the wrong place?
Almost always an origin mismatch. The drill dialog has its own origin setting, and if it does not match the Gerber origin the whole hole pattern shifts. Set both to absolute and confirm the drill origin against a known datum on the board.
Do I need to send paste layers?
Only if the order includes assembly. Paste layers define stencil apertures, which the assembly house needs and the bare-board fabricator does not. Sending them for a bare-board order is harmless; omitting them for an assembly order means the stencil has to be inferred.
Can I send a Gerber viewer screenshot instead of the files?
No. A screenshot carries no coordinates or layer identity, so it cannot be used to build. Send the RS-274X and Excellon set, and keep the viewer image as a visual cross-check for yourself or as a courtesy preview alongside the real files.
Why YC PCB
- 20+ years of PCB and PCBA manufacturing, exporting to 20+ countries
- File review that checks Gerber, drill, outline and stack-up against each other before quoting
- DFM feedback on the actual manufacturing data, not a summary
- FR4, aluminum and copper metal-core, multilayer (6–32 layer route), HDI, FPC and rigid-flex
- AOI and electrical test on bare boards; X-Ray, ICT and FCT for assembly projects
- ISO 9001 and UL certification; NDA available for customer IP
- No MOQ / No MOV on standard boards, quoted per project for special materials
Get a Quote — Send your exported Gerber and drill set with layer count, thickness, copper weight, finish and quantity. Our engineers reply with a file check, DFM notes and pricing within one working day.
