Import a part into a KiCad library
import_part_to_kicadImports an LCSC part's KiCad symbol, footprint, and 3D model into a KiCad project and registers them in its library tables for immediate use.
Instructions
Fetch an LCSC part's KiCad symbol, footprint, and 3D model (STEP + WRL) and add them to a KiCad project's libraries, registering them in the project's sym/fp-lib-table so the part is immediately usable. Reuses the kicad-lcsc-manager engine (github.com/hulryung/kicad-lcsc-manager) — install it or set KICAD_LCSC_MANAGER if missing. Requires python3. Run after picking parts with suggest_bom_parts / find_alternatives to make them usable in the schematic.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lcsc | Yes | LCSC part number(s), e.g. "C25804" or ["C25804","C7593"] | |
| include | No | Which assets to import (default: all three) | |
| overwrite | No | Overwrite an existing entry for this LCSC id (default false) | |
| project_dir | Yes | KiCad project directory (or a .kicad_pro path). Library files are written under it (libs/lcsc/...) and registered in its lib tables. | |
| manager_path | No | Path to a kicad-lcsc-manager checkout, if not auto-detected |