You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.
KiCad/kicad-footprints#570 has an issue with centering horizontally, according to Travis, with the footprint center at (-8.025,0.0)mm. I verified with the current HEAD scripts run locally.
But actually, there is no problem. The extents of the pads on the left and fab lines on the right are +/-10.9mm.
I don't see anything obviously wrong with the footprint. A few tests:
If I move the fab lines on the right side leftward, the calculated center doesn't change.
If I move the two pad 5s, the calculated center does change.
So it seems the scripts are not taking into account the fab lines when calculating the footprint center.
The text was updated successfully, but these errors were encountered:
evanshultz
changed the title
Centering does consider pads and fab
Centering does not consider pads and fab lines
May 18, 2018
Ratfink
changed the title
Centering does not consider pads and fab lines
F6.2 center check does not consider pads and fab lines
May 18, 2018
Yes, it only calculates the center based on the pads' shapes, which happens on line 27 of pcb/rules/F6_2.py. This works for many packages, but as you point out it really isn't the right approach overall. It would be better to consider the fab layer lines as well.
Ratfink
changed the title
F6.2 center check does not consider pads and fab lines
F6.2 center check does not consider fab lines
May 18, 2018
KiCad/kicad-footprints#570 has an issue with centering horizontally, according to Travis, with the footprint center at
(-8.025,0.0)mm
. I verified with the current HEAD scripts run locally.But actually, there is no problem. The extents of the pads on the left and fab lines on the right are +/-10.9mm.
I don't see anything obviously wrong with the footprint. A few tests:
So it seems the scripts are not taking into account the fab lines when calculating the footprint center.
The text was updated successfully, but these errors were encountered: