Custom DFM and DFA rule profiles: check boards against your fabricator's limits

Updated

Every fabricator and assembler has its own capability sheet. A rule profile holds those numbers — the narrowest trace, the smallest gap and drill, the annular ring, the part spacing and the rest — and Gerber3D checks your board against it. Start from a built-in profile, change what differs, and save it as your own.

Open the sample and edit its rules

The rule editor: each design rule with its limit in millimetres, its severity and whether it runs
The rule editor: each rule's limit, severity, source and note.

Built-in profiles

  • Generic IPC Class 2: a starting point, with IPC-2221B figures where IPC gives one and typical standard-process figures elsewhere, each citing its source.
  • JLCPCB standard (draft) and PCBWay standard (draft): modelled on those fabricators' published standard capabilities. Not reviewed by them; confirm the figures before you rely on them.

Make your own

  1. Open a board (or the sample), go to Checks and choose the profile closest to your fabricator.
  2. Open Edit, load or delete a profile and press Edit rules….
  3. For each rule: switch it on or off, set its limit (lengths in millimetres), make it an error or a warning, and note where the number comes from. Some rules take more: the stencil thickness for the paste area ratio, the diameter range of tooling holes, the target impedances (single-ended and differential, in ohms) for controlled impedance.
  4. Give the profile a name and press Save, or Save and run to check the board with it at once. The profile is checked before it is kept: a limit that makes no sense is refused with the reason.
  5. Press Export JSON to keep it as a file.

Saved profiles appear in the profile list in every board you open in this browser. Delete saved removes one; Profile file… checks a board against a JSON profile without saving it.

The profile file

A profile is a small JSON file you can read, review and keep under version control. Lengths are in nanometres (127000 nm = 0.127 mm = 5 mil), so they are exact in both millimetres and inches. Each rule cites one of the profile's sources by its position in the list, starting from 0, so every number says where it came from.

{
  "id": "my-fab-standard",
  "name": "My fabricator, standard",
  "version": "2026-12-01",
  "reviewed": false,
  "sources": ["My fabricator's capability sheet, rev C"],
  "rules": {
    "min_trace_width": { "limit_nm": 127000, "severity": "error", "source": 0 },
    "min_copper_clearance": { "limit_nm": 127000, "severity": "error", "source": 0 },
    "min_drill": { "limit_nm": 300000, "severity": "error", "source": 0 },
    "min_annular_ring": { "limit_nm": 130000, "severity": "warning", "source": 0 },
    "max_aspect_ratio": { "limit_ratio": 8.0, "severity": "warning", "source": 0 },
    "min_paste_area_ratio": { "limit_ratio": 0.66, "stencil_thickness_nm": 120000, "severity": "warning", "source": 0 }
  }
}

Each rule takes one limit of its kind — a length (limit_nm), a ratio, a count, an angle or a percentage — or none for a rule that checks for presence. Rules not listed are not run. Unknown fields are refused, so a typo is caught rather than ignored.

Why profiles matter

A board that passes one fabricator's standard process can fail another's, and the cheapest process is often stricter than the tool's defaults. Checking against the profile of the fabricator you will order from turns its engineering questions into findings you fix before ordering. The rules themselves are described on the DFM check and DFA check pages.

Questions

Where are my profiles kept?

In your browser's own storage, on your computer. Nothing is sent anywhere. Use Export JSON to keep a copy or to give it to a colleague; a private window, or a browser that blocks site data, keeps nothing, and the editor says so.

Can I share a profile with my team?

Yes. Export it as a JSON file and send it, or keep it in your project's repository. Anyone can check a board against it with Profile file…, or open it in the editor and save it as their own.

What happens to rules a profile leaves out?

They are not run, and the report says so. A profile can be as short as the few limits your fabricator states.

Are the JLCPCB and PCBWay profiles official?

No. They are drafts modelled on those fabricators' published standard capabilities, marked as not reviewed. Fabricators change their limits: check the current figures on their sites and edit the profile to match.

Can I make a profile for my assembler too?

Yes. The assembly rules — part spacing, part to edge, fiducials, tooling holes and their diameter range, pin pitch, paste area ratio with your stencil thickness, component height — are in the same profile.