Commit Graph

1 Commits

Author SHA1 Message Date
KiCAD MCP Bot
203572cd1a docs: Create comprehensive schematic wiring implementation plan
Created detailed 500+ line implementation plan for schematic wiring tools
addressing user questions from Issue #26.

## Plan Overview

**Phases:**
1. Core Wire Functionality (Week 1) - 26 hours
   - Research kicad-skip wire API
   - Fix wire creation
   - Implement pin discovery
   - Fix add_schematic_connection

2. Net Labels & Named Nets (Week 1-2) - 28 hours
   - Net label creation
   - connect_to_net implementation
   - Net connection discovery
   - Power symbol support

3. Advanced Features (Week 2-3) - 28 hours
   - Junction support
   - No-connect flags
   - Orthogonal routing
   - Bus and hierarchical labels

4. Validation & Polish (Week 3-4) - 28 hours
   - ERC integration
   - Comprehensive testing
   - Error handling
   - Documentation

**Total Timeline:** 5 weeks (110 hours)
**Accelerated:** 2-3 weeks (core features only)

## Technical Approach

**Option A:** Use kicad-skip native API (preferred)
**Option B:** S-expression manipulation (fallback, like dynamic loading)
**Recommended:** Hybrid approach

## Key Challenges Identified

1. kicad-skip wire API uncertainty - needs research
2. Pin location calculation with rotation
3. Smart wire routing (orthogonal preferred)
4. Net label attachment to wires

## Current State

- ConnectionManager class exists with methods
- MCP handlers registered (6 tools)
- Basic implementation present but untested
- User reported add_schematic_wire fails

## Next Steps

1. Research kicad-skip wire API (TODAY)
2. Create test environment (TOMORROW)
3. Implement basic wire (THIS WEEK)
4. Fix pin discovery (THIS WEEK)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-10 10:24:25 -05:00