LC2KiCad

A C++ utility that converts EasyEDA (LCEDA) file to KiCad 5 Documents.

View the Project on GitHub

LC2KiCad

The LC2KiCad Logo. This Logo is licensed under CC-BY-SA 3.0 license.

中文版本README


Overview

LC2KiCad is a software that is designed to be able to convert documents of EasyEDA (or aka. LCEDA, since it’s owned by LCSC) to documents of KiCad 5.0 or higher. It is completely free, main part of code is licensed under GNU LGPL v3 license.

LC2KiCad is no longer in active development, and its feature is incomplete.* Only schematic symbols, PCB footprints and PCBs are supported.

A newly created browser plugin can be used to extract footprints, symbols and 3D models may be interesting to you. Link: lckiconverter

LC2KiCad was initially started as a project that practices my C++ knowledge learned from C++ Primer Plus, so I managed to use as many features of the language as possible. Don’t blame me for the messy overall architecture!


How to compile the program

Dependency

LC2KiCad requires C++ standard libraries to be present. Compilation process requires GCC and CMake. Other compilers were not tested. You will also need Git to be able to pull the repository (if required).

“8” of -j 8 in the command, is the count of parallel jobs used during compilation. You could change the number according to your CPU core count.

Linux

git clone https://github.com/rigoligorlc/lc2kicad.git
cd lc2kicad
mkdir build && cd build
cmake .. && make -j 8

The compiled executable is right in lc2kicad/build/.

Windows

You need to get Git, CMake and Mingw working, and make sure all of them are available in PATH. The commands are virtually the same as Linux.

git clone https://github.com/rigoligorlc/lc2kicad.git
cd lc2kicad
mkdir build && cd build
cmake -G "MinGW Makefiles" .. && mingw32-make -j 8 

MSVC and Ninja are also supported. You may import the project into Visual Studio via CMakeLists.txt, or use cmake CLI directly.

macOS

No macOS compilation has been done. But things should be similar to Linux environment. Install gcc, cmake with brew and try similar procedures.


How to use LC2KiCad

Important Notes!

Usable commands

Not implemented functions

Functions planned

If LC2KiCad cannot open a new file to write into, it will write everything into the standard output stream.

To be filled with other information


Licensing

LC2KiCad core part is licensed under GNU Lesser General Public License v3.

LC2KiCad utilized RapidJSON libraries which is licensed under MIT License.

Part of the program is ported from code licensed under Apache 2.0 License.


Important Notes!

We FORBID the illegal use of converting others’ files and libraries with the binary distribution of this program.

We FORBID the use that is outside the EasyEDA Terms of Use with the binary distribution of this program.


© Copyright RigoLigoRLC 2020.