Offsets › JLCPCB › D_SOD-523
SOD-523 is the smallest common diode package, used where board space is tight. Two pins, 180° JLCPCB delta. At this size the cathode band is hard to see after assembly, so the rotation number is the only check you get before reflow.
The offset comes from the community rotation table rule ^D_SOD-.*. SOD diodes are two-pin parts, so a 180° error is the only rotation that matters — and it is the one that kills the board, because the diode is backwards. The 180° delta flips the cathode to the pad JLCPCB expects. For a symmetric-looking diode, always check the cathode band against the silkscreen, not just the rotation number.
| KiCad rotation | CPL rotation — top | CPL rotation — bottom |
|---|---|---|
| 0° | 180° | 0° |
| 90° | 270° | 270° |
| 180° | 0° | 180° |
| 270° | 90° | 90° |
Read it as: if KiCad says D_SOD-523 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.
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°. Top is cyan, bottom is amber. The diagram is schematic — it shows direction, not the package outline to scale.
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: D_SOD-523 · 2 pins · body 1.6 × 0.8 mm · KiCad footprint D_SOD-523. Commonly used for: Signal diodes (1N4148 in SOD-123/SOD-323) and TVS diodes.
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.
.pos or .csv file here, or click to choose one.