Register Footprint Library
register_footprint_libraryRegisters a .pretty footprint library in KiCAD's fp-lib-table, enabling KiCAD to locate footprints. Use after creating footprints if KiCAD reports 'library not found'.
Instructions
Register a .pretty footprint library in KiCAD's fp-lib-table so KiCAD can find the footprints. Run this after create_footprint when KiCAD shows 'library not found in footprint library table'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | project = writes fp-lib-table next to the .kicad_pro file (default); global = writes to the user's global KiCAD config | |
| description | No | Optional description | |
| libraryName | No | Nickname for the library in KiCAD (default: directory name without .pretty) | |
| libraryPath | Yes | Full path to the .pretty directory to register | |
| projectPath | No | Path to the .kicad_pro file or its directory (required for scope=project when the library is not in the project folder) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |