Offsets › JLCPCB › SOP-20
The wide 20-pin SOP matches the wide SOIC-20 outline. Same body, same pitch, same 270° correction.
The offset comes from the community rotation table rule ^SOP-.*. SOP is the same gull-wing family as SOIC (1.27 mm pitch) under a different name. KiCad's IPC pin-1-top-left drawing and JLCPCB's tape orientation disagree by the same 270°, so the correction is identical to SOIC. Check the exact body width in the JLCPCB preview — wide SOP-28 (7.5 mm body) and narrow SOP-16 (3.9 mm body) are different footprints with the same delta.
| KiCad rotation | CPL rotation — top | CPL rotation — bottom |
|---|---|---|
| 0° | 270° | 90° |
| 90° | 0° | 0° |
| 180° | 90° | 270° |
| 270° | 180° | 180° |
Read it as: if KiCad says SOP-20 is at 0°, write 270° in the CPL for a top-side part and 90° for a bottom-side part. Top: (rot + 270) % 360. Bottom (JLCPCB): (180 − rot + 270) % 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: SOP-20 · 20 pins · 1.27 mm pitch · body 7.5 × 12.8 mm (wide) · KiCad footprint SOP-20_7.5x12.8mm_P1.27mm. Commonly used for: Logic, op-amps and interface ICs in 1.27 mm-pitch gull-wing packages.
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.