ViaStitching 1.2: KiCad 10 support, remember last values

- numeric KiCad version check (string compare broke on 10.x)
- GetBoardPolygonOutlines, PCB_VIA.GetWidth, PAD.GetEffectivePolygon: KiCad 10 API
- default grid 2.5 mm
- dialog values saved to ViaStitching.json in KiCad user settings dir
- net list: only nets with a zone, GND first and preselected
- add metadata.json
- README: KiCad 10
This commit is contained in:
Zdeněk committed 2026-11-15 10:23:11 +01:00
1 parent 46e744d886
commit ae5f101eda
4 files changed
+171 -18

No files matched your search

+11 -3
View File
@@ -1,8 +1,8 @@
# This branch is the plugin for development version of KiCad
# This branch is the plugin for KiCad 10.0 and development version of KiCad
Please select the right branch according your KiCad version:
- master for development version of KiCad
- master for KiCad version 10.0.* and development version of KiCad
- master for KiCad V6 (until python API changes in dev version of KiCad)
- v5.1 for KiCad version 5.1.*
- v6.0 for KiCad version 6.0.*
@@ -27,7 +27,8 @@ Please select the right branch according your KiCad version:
Thoses plugins must be copied inside KiCad's python plugins
directory (~/.kicad_plugins or /usr/share/kicad/scripting/plugins/ for
Linux).
Linux). For KiCad 10 the user plugin directory on Linux is
~/.local/share/kicad/10.0/scripting/plugins/.
Most of them use python plugin (Action plugins) in KiCad. This feature
is enabled in daily builds of KiCad.
See https://forum.kicad.info/t/howto-register-a-python-plugin-inside-pcbnew-tools-menu/5540
@@ -42,6 +43,13 @@ interface.
![The interface](images/via1.png)
The "Net name" list contains only nets that have a zone; GND is listed
first and preselected. The values entered in the dialog are remembered
after clicking OK and offered again on the next run. They are stored in
ViaStitching.json in the KiCad user settings directory
(~/.config/kicad/10.0/ on Linux); delete this file to get the defaults
back (via drill and clearance from the board design settings).
Then the result should be:
![The result](images/via2.png)