check_placement
Validate footprint placement at (x, y) and rotation against PCB constraints. Returns whether the proposed position violates design rules.
Instructions
Check if placing/moving a footprint to (x, y) would violate constraints.
Args:
reference: Footprint reference designator
x: Proposed X position
y: Proposed Y position
rotation: Proposed rotation in degrees
pcb_path: Path to .kicad_pcb file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reference | Yes | ||
| x | Yes | ||
| y | Yes | ||
| rotation | No | ||
| pcb_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| board_edge_checked | Yes | ||
| keepout_violations | Yes | ||
| outside_board_edge | Yes |