994965e041
Phase 1: Schematic Workflow Fix (Issue #26) - Fixed broken schematic workflow using template-based symbol cloning - Updated create_project to generate both PCB and schematic files - Rewrote add_schematic_component to use kicad-skip clone() API - Added template schematics with cloneable R, C, LED symbols - All schematic tests now passing Phase 2: JLCPCB Integration Complete - Integrated JLCSearch public API (no authentication required) - Access to ~100k JLCPCB parts with real-time stock and pricing - Implemented parametric search for resistors, capacitors, components - Added package-to-footprint mapping for KiCad integration - Cost optimization with Basic vs Extended library classification - Alternative part suggestions with price comparison New Components: - python/commands/jlcsearch.py - JLCSearch API client - python/templates/ - Template schematics for symbol cloning - docs/JLCPCB_INTEGRATION.md - Comprehensive API documentation - docs/SCHEMATIC_WORKFLOW_FIX.md - Phase 1 technical details - CHANGELOG.md - Consolidated unified changelog - PHASE_2_COMPLETE.md - Phase 2 implementation summary MCP Tools Available: - download_jlcpcb_database - Download full parts catalog - search_jlcpcb_parts - Parametric search with filters - get_jlcpcb_part - Part details + footprint suggestions - get_jlcpcb_database_stats - Database statistics - suggest_jlcpcb_alternatives - Find similar/cheaper parts Technical Improvements: - SQLite database with FTS5 full-text search - HMAC-SHA256 authentication support (official JLCPCB API) - Improved .gitignore to exclude credentials and databases - Template-based schematic creation workflow Testing: - All integration tests passing - Database operations validated - Live API connectivity confirmed - Schematic workflow end-to-end verified Credits: - JLCSearch API: @tscircuit - Local JLCPCB search: @l3wi Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
195 lines
6.2 KiB
Plaintext
195 lines
6.2 KiB
Plaintext
(kicad_sch (version 20230121) (generator "KiCAD-MCP-Server")
|
|
|
|
(uuid 00000000-0000-0000-0000-000000000000)
|
|
|
|
(paper "A4")
|
|
|
|
(lib_symbols
|
|
(symbol "Device:R" (pin_numbers hide) (pin_names (offset 0)) (in_bom yes) (on_board yes)
|
|
(property "Reference" "R" (at 2.032 0 90)
|
|
(effects (font (size 1.27 1.27)))
|
|
)
|
|
(property "Value" "R" (at 0 0 90)
|
|
(effects (font (size 1.27 1.27)))
|
|
)
|
|
(property "Footprint" "" (at -1.778 0 90)
|
|
(effects (font (size 1.27 1.27)) hide)
|
|
)
|
|
(property "Datasheet" "~" (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) hide)
|
|
)
|
|
(symbol "R_0_1"
|
|
(rectangle (start -1.016 -2.54) (end 1.016 2.54)
|
|
(stroke (width 0.254) (type default))
|
|
(fill (type none))
|
|
)
|
|
)
|
|
(symbol "R_1_1"
|
|
(pin passive line (at 0 3.81 270) (length 1.27)
|
|
(name "~" (effects (font (size 1.27 1.27))))
|
|
(number "1" (effects (font (size 1.27 1.27))))
|
|
)
|
|
(pin passive line (at 0 -3.81 90) (length 1.27)
|
|
(name "~" (effects (font (size 1.27 1.27))))
|
|
(number "2" (effects (font (size 1.27 1.27))))
|
|
)
|
|
)
|
|
)
|
|
(symbol "Device:C" (pin_numbers hide) (pin_names (offset 0.254)) (in_bom yes) (on_board yes)
|
|
(property "Reference" "C" (at 0.635 2.54 0)
|
|
(effects (font (size 1.27 1.27)) (justify left))
|
|
)
|
|
(property "Value" "C" (at 0.635 -2.54 0)
|
|
(effects (font (size 1.27 1.27)) (justify left))
|
|
)
|
|
(property "Footprint" "" (at 0.9652 -3.81 0)
|
|
(effects (font (size 1.27 1.27)) hide)
|
|
)
|
|
(property "Datasheet" "~" (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) hide)
|
|
)
|
|
(symbol "C_0_1"
|
|
(polyline
|
|
(pts
|
|
(xy -2.032 -0.762)
|
|
(xy 2.032 -0.762)
|
|
)
|
|
(stroke (width 0.508) (type default))
|
|
(fill (type none))
|
|
)
|
|
(polyline
|
|
(pts
|
|
(xy -2.032 0.762)
|
|
(xy 2.032 0.762)
|
|
)
|
|
(stroke (width 0.508) (type default))
|
|
(fill (type none))
|
|
)
|
|
)
|
|
(symbol "C_1_1"
|
|
(pin passive line (at 0 3.81 270) (length 2.794)
|
|
(name "~" (effects (font (size 1.27 1.27))))
|
|
(number "1" (effects (font (size 1.27 1.27))))
|
|
)
|
|
(pin passive line (at 0 -3.81 90) (length 2.794)
|
|
(name "~" (effects (font (size 1.27 1.27))))
|
|
(number "2" (effects (font (size 1.27 1.27))))
|
|
)
|
|
)
|
|
)
|
|
(symbol "Device:LED" (pin_numbers hide) (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes)
|
|
(property "Reference" "D" (at 0 2.54 0)
|
|
(effects (font (size 1.27 1.27)))
|
|
)
|
|
(property "Value" "LED" (at 0 -2.54 0)
|
|
(effects (font (size 1.27 1.27)))
|
|
)
|
|
(property "Footprint" "" (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) hide)
|
|
)
|
|
(property "Datasheet" "~" (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) hide)
|
|
)
|
|
(symbol "LED_0_1"
|
|
(polyline
|
|
(pts
|
|
(xy -1.27 -1.27)
|
|
(xy -1.27 1.27)
|
|
)
|
|
(stroke (width 0.254) (type default))
|
|
(fill (type none))
|
|
)
|
|
(polyline
|
|
(pts
|
|
(xy -1.27 0)
|
|
(xy 1.27 0)
|
|
)
|
|
(stroke (width 0) (type default))
|
|
(fill (type none))
|
|
)
|
|
(polyline
|
|
(pts
|
|
(xy 1.27 -1.27)
|
|
(xy 1.27 1.27)
|
|
(xy -1.27 0)
|
|
(xy 1.27 -1.27)
|
|
)
|
|
(stroke (width 0.254) (type default))
|
|
(fill (type none))
|
|
)
|
|
)
|
|
(symbol "LED_1_1"
|
|
(pin passive line (at -3.81 0 0) (length 2.54)
|
|
(name "K" (effects (font (size 1.27 1.27))))
|
|
(number "1" (effects (font (size 1.27 1.27))))
|
|
)
|
|
(pin passive line (at 3.81 0 180) (length 2.54)
|
|
(name "A" (effects (font (size 1.27 1.27))))
|
|
(number "2" (effects (font (size 1.27 1.27))))
|
|
)
|
|
)
|
|
)
|
|
)
|
|
|
|
(symbol (lib_id "Device:R") (at -100 -100 0) (unit 1)
|
|
(in_bom no) (on_board no) (dnp yes)
|
|
(uuid 00000000-0000-0000-0000-000000000001)
|
|
(property "Reference" "_TEMPLATE_R" (at -100 -102.54 0)
|
|
(effects (font (size 1.27 1.27)))
|
|
)
|
|
(property "Value" "R_TEMPLATE" (at -100 -100 90)
|
|
(effects (font (size 1.27 1.27)))
|
|
)
|
|
(property "Footprint" "" (at -100 -100 90)
|
|
(effects (font (size 1.27 1.27)) hide)
|
|
)
|
|
(property "Datasheet" "~" (at -100 -100 0)
|
|
(effects (font (size 1.27 1.27)) hide)
|
|
)
|
|
(pin "1" (uuid 00000000-0000-0000-0000-000000000010))
|
|
(pin "2" (uuid 00000000-0000-0000-0000-000000000011))
|
|
)
|
|
|
|
(symbol (lib_id "Device:C") (at -100 -110 0) (unit 1)
|
|
(in_bom no) (on_board no) (dnp yes)
|
|
(uuid 00000000-0000-0000-0000-000000000002)
|
|
(property "Reference" "_TEMPLATE_C" (at -100 -107.46 0)
|
|
(effects (font (size 1.27 1.27)))
|
|
)
|
|
(property "Value" "C_TEMPLATE" (at -100 -112.54 0)
|
|
(effects (font (size 1.27 1.27)))
|
|
)
|
|
(property "Footprint" "" (at -100 -110 0)
|
|
(effects (font (size 1.27 1.27)) hide)
|
|
)
|
|
(property "Datasheet" "~" (at -100 -110 0)
|
|
(effects (font (size 1.27 1.27)) hide)
|
|
)
|
|
(pin "1" (uuid 00000000-0000-0000-0000-000000000020))
|
|
(pin "2" (uuid 00000000-0000-0000-0000-000000000021))
|
|
)
|
|
|
|
(symbol (lib_id "Device:LED") (at -100 -120 0) (unit 1)
|
|
(in_bom no) (on_board no) (dnp yes)
|
|
(uuid 00000000-0000-0000-0000-000000000003)
|
|
(property "Reference" "_TEMPLATE_D" (at -100 -117.46 0)
|
|
(effects (font (size 1.27 1.27)))
|
|
)
|
|
(property "Value" "LED_TEMPLATE" (at -100 -122.54 0)
|
|
(effects (font (size 1.27 1.27)))
|
|
)
|
|
(property "Footprint" "" (at -100 -120 0)
|
|
(effects (font (size 1.27 1.27)) hide)
|
|
)
|
|
(property "Datasheet" "~" (at -100 -120 0)
|
|
(effects (font (size 1.27 1.27)) hide)
|
|
)
|
|
(pin "1" (uuid 00000000-0000-0000-0000-000000000030))
|
|
(pin "2" (uuid 00000000-0000-0000-0000-000000000031))
|
|
)
|
|
|
|
(sheet_instances
|
|
(path "/" (page "1"))
|
|
)
|
|
)
|