lib_kicad_import
Convert KiCad symbol and footprint files into an ordered Altium library plan, letting you import KiCad parts into Altium instead of hitting a dead end.
Instructions
Convert a KiCad .kicad_sym / .kicad_mod into an Altium plan.
Closes the gap that made KiCad-format part sources useless on
the Altium side: this server could export Altium to KiCad but
had no path back, so a hit from a KiCad registry or from the
local KiCad libraries (see part_search) was a dead end.
Parses into the SAME neutral model the EasyEDA importer uses, so the Altium plan is produced by one shared emitter rather than a second copy that would drift from it.
Give symbol_path, footprint_path, or both. Use
symbol_name to pick one symbol out of a multi-symbol library
(the first is used otherwise).
MULTI-PART COMPONENTS: a quad gate or dual op-amp converts in
ONE call to a real Altium multi-part symbol (part_count plus
per-pin owner_part_id), not to N symbols to merge by hand.
Set unit to a positive number to convert only that sub-part
instead. Units are never merged into a flat symbol: they share
coordinates by design, so a merged symbol has every unit's pins
stacked on the same points and still looks converted.
HIDDEN PINS: kept, and kept hidden. A hidden pin is electrically real (this is how symbols carry supply rails and no-connects), so dropping it would lose a pin while showing it would clutter the symbol.
DERIVED SYMBOLS: over half of KiCad's standard entries carry no
geometry of their own and inherit it from a parent. That link is
followed, and warnings says where the geometry came from.
target="altium": returns an ORDERED PLAN of this server's own library tools, exactly like lib_easyeda_import. Nothing is written to Altium; review the plan, then execute the steps.
target="inspect": parse only, return a summary and warnings. Use this first on an unfamiliar library.
DATASHEET DISCIPLINE: a converted footprint is somebody else's
drawing, not a verified land pattern. Audit it against the
manufacturer document with lib_audit_footprint_vs_datasheet
before trusting it.
Returns:
{"ok": ..., "component": {...}, "warnings": [...]} plus
"steps"/"summary" for target="altium".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | ||
| target | No | altium | |
| pcblib_path | No | ||
| schlib_path | No | ||
| symbol_name | No | ||
| symbol_path | No | ||
| model_3d_path | No | ||
| footprint_path | No | ||
| include_body_art | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||