horizon-eda / horizon

Horizon is a free EDA package
https://horizon-eda.org/
GNU General Public License v3.0
1.11k stars 82 forks source link

Plane collision with packages that contain planes #719

Open atoav opened 1 year ago

atoav commented 1 year ago

Hi, I found an edge case where plane filling doesn't work as expected.

Maybe this is something that was never intended™, but I found it has some useful use cases¹.

In this example I created an "universal footprint" for toggle switches, which allows one to use switches with 1.27 mm and 2.54 mm spacing, with pins or solder lugs alike. Because the "outer" pins are essentially the same ones as the inner ones I connected them on the footprint as follows:
image

If I recalculate the planes these added connections are not taken into account (the outer pins are not on the same net as the ground plane, so this would short them to ground):

image

Maybe I am just doing this wrong and there is totally a better way to achieve the same thing, but my expectation would still be that the planes should not touch the plane on the part.

¹: I used it for example for solder pads and test points

atoav commented 1 year ago

Fixed it like this (no worries this was a 5 piece prototype run):
File_003