Hacking KiCad (app)

new here. i’m trying to build something with some of the functionalities of KiCad (specifically, an app X that will be able to import .kicad_pcb files, provide a GUI, and also allow for free manipulation of trace segments)

i’m trying to understand the source code of kicad (trying to find the “main”, what’s actually executed first)

advice would be much appreciated. thanks!

This will help in combination with lots of reading.

You might try the developers list for this kind of question. There are some developers here but…

This is the “main”

It doesn’t look like your run of the mill entry point, does it? To understand it read the wxWidgets docs. KiCad has one more layer of obscu… hm I mean abstraction on top of it but good news is you rarely need to bother yourself with these low lever details.
If you understand how GUI apps work with event listeners and handlers you will understand 80% of KiCad code.

3 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.