LAY-2 Parts in their areas, nothing in forbidden ones¶
| Severity | Status | Implementation |
|---|---|---|
| warning | planned | hard, depends on TOOL-3, CFG-2 |
Looks at. Part positions, rule areas or a placement plan from the project.
What it catches. Parts outside the area meant for them (components in the enclosure's keep-out, a connector not at the edge it must reach), test points outside the area the bed-of-nails fixture can probe, and anything placed in a forbidden zone (under a heatsink, in the clamping strip, under a label).
Why it matters. Mechanical constraints are invisible in the schematic and often only half known to the layout tool: a part 1 mm into the screw boss area is found when the board does not go into its housing. Test points outside the probe grid make the test fixture more expensive or impossible.
Example. A 6.5 mm tall electrolytic placed under the area where the enclosure lid has a 4 mm rib: the board passes DRC, the lid does not close. Or a test point placed on the bottom side under a connector body where no probe can reach it.
How to check. Read part positions and courtyards (TOOL-3) and the areas from the project (KiCad rule areas with placement restrictions, or a mechanical outline per height class in the project data, CFG-2); report parts and test points outside or inside the wrong areas.
Fix. Draw the mechanical constraints into the board as rule areas (keep-outs with height or component restrictions) before placement, so DRC enforces them.
References. KiCad PCB "Rule areas (keepouts)" (docs.kicad.org/9.0/en/pcbnew).