What It Does
DRC Import lets you load a.kicad_dru (KiCad Design Rule) file from any manufacturer and apply their constraints to your project. Name the manufacturer when you import, and the AI uses those constraints for all subsequent design checks — trace widths, clearances, via sizes, and more are enforced in real time.
This bridges the gap between generic DRC (which only catches obvious violations) and manufacturer-specific DRC (which catches the issues that actually cause fab failures). A board that passes generic DRC but violates your fab’s minimum annular ring is a board that fails at the factory.
How to Import
From the Desktop App
Ask the AI in the chat panel:- Parse the
.kicad_drufile - Apply the constraints to your project
- Re-run DRC and report any new violations
- Record the manufacturer target in your
.trace/rules.mdfor future sessions
From the DRC Rule Editor
- Open Inspect → DRC Rule Editor
- Click Import Rules (or drag-and-drop a
.kicad_drufile) - Name the manufacturer source in the dialog
- Review the imported constraints in the editor panels
- Save with Ctrl+S
From the CLI
What Gets Imported
A.kicad_dru file can contain any combination of:
How Constraints Flow Into TraceRules
When you import a DRC file and name the manufacturer, the AI records this in your.trace/rules.md:
Manufacturer Presets
Trace ships with built-in presets for common manufacturers. Ask the AI to load one:Workflow: Import → Design → Validate
1
Import constraints
Load your manufacturer’s
.kicad_dru file or ask the AI to apply a preset.2
Design with confidence
The AI enforces imported constraints in real time. As it places components and routes traces, it respects your fab’s minimums automatically.
3
Run DRC before ordering
A final DRC pass (
Ctrl+Shift+D) catches any remaining violations. The Design Review runs this automatically before manufacturing submission.4
Iterate on violations
Ask the AI to fix violations: “Fix all clearance violations” or “Widen traces that are below minimum.”
Overriding Imported Rules
Imported rules can be overridden in two ways:- Edit in the DRC Rule Editor — Open Inspect → DRC Rule Editor and modify specific values
- Override in TraceRules — Add a line to
.trace/rules.mdthat takes precedence:
Creating a .kicad_dru for Your Manufacturer
If your manufacturer doesn’t provide a.kicad_dru file directly, you can create one from their capability table:
my-manufacturer.kicad_dru and import it into Trace.
DRC Categories You Can Ignore
When importing rules, you can tell the AI to suppress certain categories in your TraceRules:Related
- DRC Rule Editor — Visual interface for managing design rules
- TraceRules — Project-specific AI preferences
- Design Review — Pre-flight manufacturing validation
- DFM & the Automated Line — How DRC fits into the manufacturing pipeline

