Steffen-W / Import-LIB-KiCad-Plugin

Helps to import KiCad component libraries imported from ultralibrarian and snapeda zipfiles.
GNU General Public License v3.0
78 stars 8 forks source link

Fix multi-line symbol names #19

Closed KJ7LNW closed 4 months ago

KJ7LNW commented 4 months ago

Symbols exported by easyeda2kicad have multi-line footprint lines that look like this:

(property
  "Footprint"
  "part:SOIC-14_L8.7-W3.9-P1.27-LS6.0-BL"
  (id 2)
  (at 0 -15.24 0)
  (effects (font (size 1.27 1.27) ) hide)
)

This commit relaxes the regex to support multi-line matches

Steffen-W commented 4 months ago

Thank you very much. Looks good.

Steffen-W commented 3 months ago

Hi @KJ7LNW,

I've made a lot of improvements that I'm sure you'll like. I think it would be great if you could try out the plugin on your site before I distribute it via KiCad. tag/2024.08.13

Among other things, I have direct support for easyeda2kicad.

KJ7LNW commented 3 months ago

thank you, I will check it out! I was looking at your commit 3ad5a355612462590fb9849b9cabe9b999a4f1f9 but I do not understand how integrates. how does easyeda2kicad work with your imparter plugin?

Steffen-W commented 3 months ago

The integration is direct. You only have to enter the part number and the plugin does the rest.

https://github.com/Steffen-W/Import-LIB-KiCad-Plugin/blob/master/doc/2024-08-17_Example_Import.png?raw=true

KJ7LNW commented 3 months ago

Awesome, that is amazing! If you can push it to the plugin marketplace then it will be easier for us to test because kicad is installed through flat pack (which has had its fair share challenges manually adding plugins; However, if we install them through the application directly, then it seems to work quite well).

Steffen-W commented 3 months ago

It should now be ready for update via kicad. If you have any suggestions for improvement or comments, please open an issue.