create_library_part
Create a component library part from a KiCad footprint, generating its symbol and JLCPCB metadata for Fusion Electronics.
Instructions
Create a part in this server's component library from a KiCad footprint (.kicad_mod): from
KiCad's own libraries, or JLCPCB's footprint for a part exported with easyeda2kicad --full --lcsc_id=C... (set jlc_native=true for those: no rotation correction needed at JLC). The
symbol is generated: two-pin passives get the standard symbols (resistor, capacitor, diode,
LED, ...), anything else a box with its pins (pin_names maps pad -> pin name, pads sharing a
name join one pin; directions maps pin name -> in/out/io/pwr/pas/oc). jlc_code (C-number)
fills JLCPCB, and MF/MP from cached EasyEDA data when not given. Then open your Fusion library
and run insert_library_part, save_design, attach_3d_model (with the part's STEP file).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mpn | No | ||
| value | Yes | ||
| prefix | Yes | ||
| part_id | Yes | ||
| jlc_code | No | ||
| deviceset | Yes | ||
| overwrite | No | ||
| pin_names | No | ||
| directions | No | ||
| jlc_native | No | ||
| description | No | ||
| manufacturer | No | ||
| footprint_path | Yes |