Thanks for another insightful answer !
Since my layout is now more and more complex, another question came to mind :
Is it possible to separate the space check between two edges of the same shape and two edges of different shapes ?
I have tried it out and it seems to work okay. Could you be so kind as to confirm that ep.second.p1 gets the first point of the second edge of the spacing error ? If so, is p2 the second point (I'd rather use those than center).
Also, what ha…