Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EasyEda / LCSC Part Importer for KiCad!

A KiCad plugin that allows you to easily import parts (symbols, footprints, and 3D models) from the LCSC library directly into KiCad, based on the easyeda2kicad command line tool.

Key Features

  • Seamless Import: Quickly import LCSC parts by entering their part number.
  • Direct Access: Integrated into the toolbar for easy access within the PCB editor.

Toolbar Screenshot

How It Works

  1. Enter LCSC Part Number: Type in the LCSC part number to import its symbol, footprint, and 3D model directly into KiCad.

Import Menu Screenshot

  1. Auto-Save: Imported parts are stored in /KiCad/easyeda2kicad, ready for use.

Installation

  1. Clone the Repository
    Clone this repository to your downloads folder.

  2. Move Files to KiCad Plugin Folder
    Move all contents to your KiCad plugins directory:
    Windows: KiCad/(version)/scripting/plugins
    Macos: /Users/[USER]/Documents/KiCad/[x.x]/scripting/plugins

  3. Install dependencies (Macos)
    Install Pydantic dependency on Macos execute: /Applications/KiCad/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/bin/pip3.9 install pydantic

  4. Organize the Files
    Ensure LCSC Importer.py is not inside any subfolder.

  5. Install dependencies
    When you first launch KiCad, you may be missing one or more dependencies to run the plugin. Install these using pip. On Windows you may have to install them through the KiCad Command Promt found in programs/KiCadX/.

  6. Run the plugin
    Once all dependencies are installed, run the plugin by clicking the LCSC icon in the top menu bar in the PCB editor, and import your first component! This will generate the required libraries, KiCad needs to import your parts.

  7. Add libraries in KiCad
    Lastly, we just need to tell KiCad where to find the parts you import!

    • In KiCad, Go to Preferences > Configure Paths, and add the environment variables EASYEDA2KICAD :
      • Windows : C:/Users/your_username/Documents/Kicad/easyeda2kicad/,
      • Linux : /home/your_username/Documents/Kicad/easyeda2kicad/
    • Go to Preferences > Manage Symbol Libraries, and Add the global library easyeda2kicad : ${EASYEDA2KICAD}/easyeda2kicad.kicad_sym
    • Go to Preferences > Manage Footprint Libraries, and Add the global library easyeda2kicad : ${EASYEDA2KICAD}/easyeda2kicad.pretty

Enjoy simplified part importing from LCSC directly into your KiCad designs!

About

Import EasyEda / LCSC symbols, footprints and 3d models directly into KiCad!

Resources

Stars

57 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages