I designed a PCB using Kicad. The PCB contains a USB micro B connector; LCSC component C10418. I designed my own footprint for the connector since I couldn't find a pre-existing footprint for Kicad:
![kicad-footprint.png](//image.easyeda.com/pullimage/U8T3oxNPIlumqe0kB90C7UXE6bQXJgTd0o01fQkz.png)
I placed this component on my circuit board, rotated in the orientation that I wanted:
![kicad-pcb.png](//image.easyeda.com/pullimage/qjy7vk9mJjMRblRcwWTnfiBulf9eiSVh5evDxety.png)
I then uploaded the PCB design (as a Gerber, BOM, and CPL file) to JLCPCB's order page. This yielded a PCB preview as shown below, which looks correct:
![jlcpcb-smt-preview.png](//image.easyeda.com/pullimage/xKTeEoNUEdrEsfMQFKBLoyU6yDkuI7N4JbZD4huc.png)
The first time I did this, the rotation of the USB connector did not match in Kicad and JLCPCB preview. So, I redesigned (rotated) the footprint in the Kicad footprint editor and also in the PCB design and re-uploaded the files to JLPCB until the JLCPCB preview looked correct. I ended up with the Kicad footprint orientation shown above, and a 270 degree rotation in the CPL file.
However, when I ordered the PCB from JLCPCB, the DFM analysis showed that the rotation of the USB connector was wrong; it had to be rotated 180 degrees:
![jlcpcb-dfm-analysis.png](//image.easyeda.com/pullimage/SoRJBRgOVCtNAO3Ue3NRPYP2Hoe1shX2YkkEIq1B.png)
I understand that JLCPCB's engineers fixed the issue, so my component will be placed correctly when the board is assembled. However, would prefer that my CPL file is correct when I upload it; I want the JLCPCB preview and DFM analysis to look the same, so that JLCPCB engineers don't have to fix my CPL file. Since the inconsistency is between JLCPCB's preview (270 degree rotation shows correctly) and DFM analysis (I guess that 90 degree rotation is required here), I believe that only JLCPCB can fix this; can this be fixed? Thanks.