Closed debreczeni closed 6 months ago
Thanks for the pull request! I'll take a look and merge it shortly.
It looks good, but the underlying problem appears to be completely fixed in KiCAD 8. I'll figure out if we can support KiCAD 8 with the next release, if not I'll merge this and release it as an update.
Its now compatible with KiCAD 8, so I'm closing this as wontfix. Thanks for the report!
Hello, Here is a fix for an issue I am having on windows 10 with kicad 7.0.10. I noticed that the vias are not getting copied over, so after a little debugging it turned out that the class id for pcbnew.PCB_TRACK is not the same as for the track instance's class id itself. I have no experience with python, so I don't know what is an elegant solution for this. If I understand well, the same module/class might refer to different modules/classes in Python, or it might be due to the SWIG binding, so I made a fallback on the track class' name. What system is this being developed on? Anyway, here is the patch.
KiCad Version