My general 2c is that this is the sort of thing a plugin is good for handling. Just need a good plugin API. If you put this into the C++ code, you have to drag in the zip and maybe the rar libraries for something which is only used a tiny fraction of the time, and it gets harder to maintain because it’s in C++ instead of Python.
Also there doesn’t have to be one true way to do things. Both a simple plugin, the extensive KiBot and others that may come along can coexist. The first is good for people who have a simple workflow. It would be good to encourage more participation in the KiCad software ecosystem by plugins and libraries of them. You can see the power of systems like the Arduino IDE. The IDE provides the framework and the breadth of the library is vast. The IDE even accommodates toolchains for different CPUs like ESP32.
Hi @set, I found about your KiBot plugin (on some dead threads :P) and I looks great! I haven’t hear about it and I didn’t found it in the plugin section of the forum, maybe talk with @hermit about it, it looks like something many people need and it would be nice if it gets more visibility.
Testing on Linux (Nightly version): now the control and interface appear being working fine but it just generated a empty “Gerber” folder and give no error / warning.
I’m not familiar with the nightly version.
I have confirmed that there is no problem with 5.1.6-release on Ubuntu, but is it a nightly-specific problem?
I made some debug (because there is no error messages of the plugin), the error is originated in the line 455 refill(board) that appear be not successfully executed.
My guess is some recent Python API changes on pcbnew.ZONE_FILLER(board).
I understand the problem, but apparently, not only ZONE_FILLER but also various other APIs are changing, so it is necessary to take some time to investigate.
It works with 5.99 for me.
The latest GerberZipper will show 1.0.2 in the title bar. Can you confirm?
The change is that the Locale folder is required for language support.