Offsets › MacroFab › LQFP-64

LQFP-64 rotation for MacroFab: +0°

The 64-pin LQFP is the classic STM32 package size — 10 × 10 mm, 16 leads per side at 0.5 mm pitch. A 90° rotation error here shorts power to ground on some pins, so the 270° correction and the preview check both matter.

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

No rule matches LQFP-64 in the MacroFab table, so the offset is 0° — the normalizer leaves the rotation alone. LQFP is a quad flat pack with gull-wing leads on all four sides and 0.5 mm pitch (0.8 mm on the 32-pin size). Pin 1 is marked by a dot and a chamfered corner in KiCad; JLCPCB's library draws the same package rotated 270° relative to KiCad, so the delta is 270°. With 64–144 pins, a 90° error shorts power to ground on some pins — verify the dot in the JLCPCB placement preview, not just the number.

Worked rotation table

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

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

Pin-1 diagram

Top side — final 0°KiCad 0° → CPL 0°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°. Top is cyan, bottom is amber. The diagram is schematic — it shows direction, not the package outline to scale.

How the MacroFab bottom layer works

For MacroFab, there is no mirror term and no delta: KiCad rotations are passed through as-is, top and bottom. MacroFab handles rotation in its placement workspace and asks you to approve it visually. Output coordinates are in mils (not mm), the origin is the bottom-left of the board outline, and Side is 1 = top / 2 = bottom. One open warning: MacroFab's XYRS format states rotation is clockwise while KiCad's is counter-clockwise — the sign here is passed through unverified, so approve placement in the MacroFab workspace before production.

Package: LQFP-64 · 64 pins · 0.5 mm pitch · body 10 × 10 mm · KiCad footprint LQFP-64_10x10mm_P0.5mm. Commonly used for: MCUs (STM32F103 in LQFP-64), and larger logic / interface ICs.

Verify in the MacroFab placement preview. This offset comes from a community table (JLCKicadTools / Fabrication Toolkit), not from MacroFab'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 MacroFab.

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


Related offsets