I created a *huge* via array (by mistake) but it does look nice :)

There is a nice pattern going on:

Zooming on the center to see that the ratnest is the origin of the pattern:

No wonder why KiCad is feeling sluggish afterwards

The array’s parameters

3 Likes

Can you navigate through it, from upper left corner to lower right?

Unfortunately not anymore, when I tried to delete it KiCad became unresponsive (I close it after 20min :man_shrugging:)

EDIT: But even an small array (50x50) starts showing a pattern already

Zooming in:

1 Like

This makes me wonder what are the numerical oddities of the Minimum Spanning Tree algorithm we use for ratsnest calculations… It really produces intricate patterns :slight_smile: and also makes a nice stress test case. Thanks!

T.

2 Likes

KiCad still works reasonably well with an array of 200x200 via’s.
I did have to assign a net to the via to get the ratsnest to render.
In the screenshot below I deleted a few smallish rectangular arrays of via’s from it and this takes less then a second.


Selecting the whole array is also quick, but deleting the whole array in one go takes 6 seconds to complete.

Generating a 300x300 array takes 6s, zooming and scrolling is also still doable, but beyond that its suddenly not workable anymore. I tried to delete a small rectangular section out of it, and KiCad is just sitting there at 8% CPU time (6 core 12 tread Ryzen 5600G 16GiB Ram, KiCAd uses 1.1GiB) So I just closed it after a few minutes, and Linux gives the nice popup after a few seconds that the program is not responding:

image

3 Likes

I wonder why the pattern on your screen is more like concentric circles and for me produces some linear artifacts coming from the center.

1 Like

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