Closed matthew-suter closed 2 years ago
Thanks!
Hey. Just to let you know, the previous code (before this PR) was correct for all components. However JLCPCB has recently changed how they interpret bottom layer rotation, as a result all components that used the previous code were 180-degrees rotated (not just the 0 and 180 offset components). So this fix only addresses the issue partially. I will submit a PR to solve this in a couple seconds.
If a component has a rotation offset of 0° or 180°, it will be 180° off if it is on the bottom of the board. This fix does not affect components with 90° or 270° offsets, which I assume is what this script was tested with.