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

Update README.md #21

Closed udu3324 closed 3 months ago

udu3324 commented 3 months ago

I have reformatted some stuff, added badges, and made the installation process more clear

Steffen-W commented 3 months ago

@udu3324 Many thanks for your pull request. I will add it as soon as possible. Give me some time. Maybe I'll manage to make the plugin more comfortable so that some of the instructions are no longer absolutely necessary. What is your opinion if I make a button in the plugin with which the setting of kicad is made in the background?

This "_kicad_sym.kicad_sym" is really unattractive, which you must have noticed negatively. Unfortunately, I have not yet implemented the solution, so this name is unnecessary. I am working on it.

udu3324 commented 3 months ago

What is your opinion if I make a button in the plugin with which the setting of kicad is made in the background?

I think that would be awesome. KiCad might have an api that can do that

Steffen-W commented 3 months ago

As far as I know, KiCad does not have direct access to it, which is a pity. But I can change the config files directly. The disadvantage is that a restart is necessary to read in the config files. I had already prepared something for this a long time ago, but unfortunately did not continue due to time constraints. impart_helper_func.py#L84

udu3324 commented 3 months ago

I also found this forum post showing how to get paths. It is through pcbnew and could simplify the ui. image

I would love to try contributing more, but i am not sure how to setup a dev environment

Steffen-W commented 3 months ago

Hi @udu3324 ,

It is not necessary to create a separate environment. You can simply change the plugin at the installed location and output to the terminal, provided you start kicad from there. Which platform are you using?

udu3324 commented 3 months ago

@Steffen-W I am running KiCad on Windows 11. If that is the case though, i will go ahead and try to add some stuff to the plugin.

Steffen-W commented 3 months ago

It is best to use PowerShell and go to the KiCad directory on your pc.

PS C:\ ......\KiCad\8.0\bin> .\kicad.exe

You can find out the plugin directory in the plugin manager. You can then make the changes in the Python files. use print() to output this to the console. Try it and write if it does not work. As a rule, the python files are also reloaded if you only close and reopen the PCB viewer.

Steffen-W commented 3 months ago

@udu3324 , I have added the option of automatic KiCad settings customization. If you like, have a look at it and please give me feedback. tag/2024.08.03