I've committed the patch to a bugfix branch, LP1095516-fix-rotations.
Please build from that branch and check wether it was applied correctly
and still works. I'll move it over to the master branch, then.
You received this bug notification because you are a member of PCB Bug
Team, which is subscribed to pcb.
XY file rotations don't work for advanced SMD elements
Status in PCB: Printed Circuit Board CAD package:
BGA, PGA, and all packages with pin 1 in the top centre produce
incorrect XY file rotations.
Attached patch does the following:
- Revises current rotation detection to match IPC-7351, as described
- Looks for pins "A1","B1" etc as well as "1" & "2" to handle BGAs and
- Looks for element attribute "xy-centre" which can be set to "origin"
to use the element's origin, rather than the pin centroid as the
centre reference point. Needed to sensibly handle BGAs/PGAs with a
single missing pin.
- Looks for element attribute "xy-fixed-rotation" which can be used to
force a given rotation, for when all else fails.
To manage notifications about this bug go to: