jsreynaud / kicad-action-scripts

Some KiCad plugins in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Random it" does not check for clearance

CGrassin opened this issue · comments

The "random it" function does not properly account for clearance.
Example:
Screenshot from 2023-02-21 14-19-41
Result:
image

This is because the random offset is not properly bounded.

I'm experiencing a similar issue except that the vias violate the clearance of other objects like traces.

example

Actually I'm seeing this issue occasionally even if I don't select randomization. For example:

example_nonrand

settings

@matthuszagh Good catch, I managed to reproduce it, I am creating a new issue to track it.