Offsets › JLCPCB › USB_C_Receptacle

USB_C_Receptacle rotation for JLCPCB: +180°

The USB-C receptacle (commonly the HRO TYPE-C-31-M-12) is a 24-pin connector that is 180°-symmetric in outline but not in pins. JLCPCB's library footprint is drawn 180° from KiCad's, so the delta is 180°. Flip it and D+/D−, CC1/CC2 and VBUS swap sides — the port will not enumerate. Also verify the shell sits on the board edge in the preview.

KiCad 0° → CPL 180° on top, 0° on the bottom. Offset: +180°.

The offset comes from the community rotation table rule USB_C_Receptacle. USB-C receptacles are 180°-symmetric in outline but not in pins: flip one and D+/D−, CC1/CC2 and VBUS swap sides. JLCPCB's library footprint for the common HRO TYPE-C-31-M-12 receptacle is drawn 180° from KiCad's, so the delta is 180°. The shell also has to land on the board edge — verify the connector sits on the edge in the preview, not just its rotation.

Worked rotation table

KiCad rotationCPL rotation — topCPL rotation — bottom
0°180°0°
90°270°270°
180°0°180°
270°90°90°

Read it as: if KiCad says USB_C_Receptacle is at 0°, write 180° in the CPL for a top-side part and 0° for a bottom-side part. Top: (rot + 180) % 360. Bottom (JLCPCB): (180 − rot + 180) % 360.

Pin-1 diagram

Top side — final 180°KiCad 0° → CPL 180°Bottom side — final 0°KiCad 0° → CPL 0°

The dot is pin 1. The arrow is the direction pin 1 points after the offset is applied, for a part KiCad drew at 0°. The left diagram is the top side, the right diagram is the bottom side. The diagram is schematic — it shows direction, not the package outline to scale.

How the JLCPCB bottom layer works

For JLCPCB, the bottom-side formula is (180 − rot + delta) % 360 — a bottom part is seen from below, so its rotation is mirrored before the delta is added. Mid Y is also negated (KiCad Y points down, JLCPCB Y points up) and Mid X is unchanged (bottomMirrorX is false). The (360 − rot + delta) formula you will see in some write-ups is wrong: it agrees at 0° and 180° but rotates every 90°/270° part by 180°.

Package: USB_C_Receptacle · 24 pins · body 7.4 × 9.2 mm · KiCad footprint USB_C_Receptacle_HRO_TYPE-C-31-M-12. Commonly used for: USB-C receptacles (HRO TYPE-C-31-M-12 and equivalents).

Verify in the JLCPCB placement preview. This offset comes from a community table (JLCKicadTools / Fabrication Toolkit), not from JLCPCB's library for your exact part number. If the preview's pin-1 mark disagrees with this page, trust the preview — it is final.

Fix your whole CPL file

Drop your KiCad .pos or Altium / Eagle .csv here — the normalizer applies this offset (and every other footprint's) and returns a corrected CPL for JLCPCB.

Drop a .pos or .csv file here, or click to choose one.


Related offsets