I watched a very confusing youtube video [https://www.youtube.com/watch?v=hk6o5_-ox1c] and feel almost like giving up. It seems so complicated to make a simple baseline plugin.
I just want to know how i can make a simple hello world plugin.
I want to know how even i could have a plugin in kicad. Like is there maybe an example that i can drop into my plugin folder and go from there?
I tried copying existing installed plugins but that didnt work.
This is such a steep learning curve and i feel like its mainly due to confusing information online.
Can anyone help me and point me into the right direction?
This is my tutorial for version7 (and should work in v8/v9) It does Not use the newer approach - just put the file into the scripting/Plugins folderâŚ
Also i am kinda lost. why do people have standalone scripts where they have to manually put in bord paths etc. canât i make a plugin for kicad âingameâ usage?
I want a button and context menus inside kicad. the whole writing a script outside of kicad seems like a buggy mess that will break any moment?
maybe i am not really getting what the intended workflow is here.
No, nothing goes into the Board Path.
Once Pluginâs are placed into the Plugins folder, the Plugin is available to all your Kicad projects.
Until it changes, there is a Scripting Folder that contains the Plugins Folder. That is where to put your .py and Icon file.
The âNewerâ way is to use the API. With a Meta file/etc it registers the Plugin. But, I prefer the older way.
In either case, the .py is about the same.
The Plugin (either old or newer) can be a complete Code contaiing GUI/Buttons/the whole enchilada. And, it can call other Appâs