Skip to content
hw.dev
hw.dev/signal/pcbcraft-rule-area-prewrite-gate-2026
SignalPCBcraft

A PCB Tool Refuses Keepout Violations Before Writing Copper

PCBcraft now blocks new copper inside a footprint keepout before an automated edit changes the board.

Thesis connection

Automated board edits fail at the unsafe command instead of leaving a later design check to explain the damage.

#pcb#eda#tools#verification
Read Original

PCBcraft now refuses a new track or via when it enters a footprint rule area that forbids copper. A footprint rule area is a keepout attached to a component, often used beneath an antenna or around a mechanical feature. The route planner already honored these areas, but direct add_tracks and add_via commands wrote the copper and left a later design rule check to find the violation.

The new check uses the same geometry as the router and names both the blocked area and its footprint. It leaves the board unchanged when the command fails. Existing copper can still be moved, reshaped, or resized, which matters because an automated repair needs a way to move a violating track out of the keepout.

Board agents need this kind of refusal at every write boundary. A final printed circuit board (PCB) check is still necessary, but it is a poor place to discover which command introduced an error several steps earlier. Agent developers should test direct edit commands separately from routing commands because shared board rules do not guarantee shared enforcement.