Incorrect orientation of components in Footprint Position File (KiCad)

I am using a PCB(A) factory where they have an online system where you can get a preview of your PCBA once you upload your files. As part of the process, I have to upload the Gerbers, the Bill of Materials (BOM) and the component placement list (or footprint position file, as it's called in KiCad).

The last one is generated through the PCB Layout editor from the File --> Fabrication Outputs --> Footprint Position (.pos) File menu and contains the orientation of the components among other information.

The issue is that the orientation of most of the components is incorrect, according to the factory's preview system. Of course it doesn't matter that much for resistors and capacitors, but as you can imagine I have to manually rotate all the rest, everytime I place a new order or do a small change.

Am I doing something wrong or is there a convention for the KiCad footprints (e.g. pin 1 has to face at a certain corner always) that I am missing?

• Contact the factory, rather than relying on the preview - this is the sort of thing they should catch. There is the KiCad Library Conventions kicad-pcb.org/libraries/klc which should be helpful. Check the match with the packaging information in the datasheet. – awjlogan May 7 at 19:08
• Are you using a single layer PCB? There is a setting in Kicad how the components should be placed and on which layer. – CFCBazar com May 8 at 6:52
• @CFCBazarcom No I am using a 4-layer PCB. Which setting are you referring to? – DimP May 11 at 1:03
• First please tell me are all of your footprints oriented wrong, or only some of them. Also any identification for which footprints are oriented wrong, can help(only SMD, only THT or other paramter if possible). – CFCBazar com May 11 at 11:09
• I am using only SMD components. There doesn't seem to be a pattern on the components that are wrong, however they are grouped according to the footprint (so for example, all SOT23-5 components are off by 90° degrees. – DimP May 11 at 22:39