audit_find_components_outside_board_outline
Detect PCB components placed outside the board outline to catch accidental off-board moves that standard DRC misses.
Instructions
Find PCB components whose origin sits outside the board outline.
Editing accident catch: the user grabbed a component and moved it off the PCB by mistake. Usually invisible during normal review because the component is off-canvas; DRC doesn't catch it (DRC is between primitives, not "is this object on the board").
Uses IPCB_BoardOutline.PrimitiveInsidePoly for the actual
polygon-inside test, so non-rectangular boards are handled
correctly.
Pattern: brett's SelectCMPInOutSideBOL.pas.
Returns:
Dict with:
- checked: total components inspected
- violations: components outside the outline
- items: per-violation {designator, layer, at} with
at = "(x,y)" mils.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "audit_find_components_outside_board_outline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||