MitjaNemec / Kicad_action_plugins

Kicad action plugins
414 stars 62 forks source link

Temporary fix: not found vias. #1

Closed TheSlowGrowth closed 6 years ago

TheSlowGrowth commented 6 years ago

It seems that in some occasions, GetViaByPosition(track.GetPosition()) (line 333) returns NoneType. The proposed change will stop the script from crashing, but also won't correctly replicate those vias. I don't know how to properly fix this, but this at least makes the script usable again for me.

MitjaNemec commented 6 years ago

Hi can you attach a test board in this discussion, so that I can test a solution. I do understand if you can't.

MitjaNemec commented 6 years ago

Can you try the solution in "via_replication_bug_fix" branch