pcb-components
Installation
SKILL.md
Component Placement Operations
Map KiCAD MCP component placement tools to our project's programmatic PCB generation.
Overview
Component placement is managed in scripts/generate_pcb/board.py via the _component_placeholders() function (line 251+). All components are defined with reference designator, position (x, y), rotation, layer, footprint, and value. The board uses enclosure-center coordinates converted to PCB top-left origin via enc_to_pcb(ex, ey).
Layout convention:
- F.Cu (top): Face buttons (D-pad, ABXY, Start, Select, Menu) + charging LEDs
- B.Cu (bottom): All electronics (ESP32, ICs, connectors, speaker, power, passives) + L/R shoulder buttons
Steps
- Read current placements: