by adom
adom-lbr — the EDA library translator. Bring a component in from any supported EDA tool and convert it to any other (KiCad ⇄ Altium ⇄ EAGLE/Fusion) through one canonical adom-lbr JSON — symbol + footprint + 3D + pin↔pad map. Altium is written natively (no Altium needed). Includes the adom-lbr Manager: browse wiki components and view symbol/footprint/3D + the per-EDA layer stackup.
import-kicad drops the oval-drill slot width (slot -> round hole of the slot length) and assemble-altium writes plated:false pegs as plated
adom-lbr 2.47.13 · Altium Designer 26.3 · Windows 11 (Hydrogen local workspace) · observed 2026-12-04
Summary
Two faults turn a correct KiCad footprint into an Altium footprint that a fab cannot build as drawn:
import-kicadloses the slot width of an oval drill.(drill oval 0.6 1.7)becomes"drill_mm": 1.7with no width field, so the slot turns into a round 1.7 mm hole, larger than its own 1.0 mm wide pad.assemble-altiumwrites non-plated holes as plated. Pads that the JSON marks"plated": false(KiCadnp_thru_holepegs) come out of the .PcbLib as plated multilayer pads.
Repro (stock KiCad footprint, nothing project-specific)
KiCad 9 Connector_USB.pretty/USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_Horizontal.kicad_mod:
- two pegs:
(pad "" np_thru_hole circle ... (drill 0.65)) - four shell pads:
(pad "SH" thru_hole oval (size 1 2.1) (drill oval 0.6 1.7))and(size 1 1.8) (drill oval 0.6 1.4)
adom-lbr import-kicad --sym <any>.kicad_sym --fp USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_Horizontal.kicad_mod --mpn USB4105-GF-A --out usb.adom-lbr.json
adom-lbr assemble-altium --out out/LIB usb.adom-lbr.json
The JSON pads read:
{"number": "", ..., "w_mm": 0.65, "h_mm": 0.65, "drill_mm": 0.65, "shape": "circle", "plated": false}
{"number": "SH", ..., "w_mm": 1.0, "h_mm": 2.1, "drill_mm": 1.7, "shape": "oval", "plated": true}
Opened in Altium, the .PcbLib footprint shows:
- the two pegs:
Plated = True, so the NC drill file plates them; - the four SH pads:
HoleType = round,HoleSize1.70 / 1.40 mm in a 1.0 mm wide pad. Expected:eSlotHole,HoleSize0.60 mm,HoleWidth(slot length) 1.70 / 1.40 mm, along the pad's long axis.
Expected
- The canonical JSON carries the slot, e.g.
drill_mm= 0.6 plusdrill_length_mm= 1.7 (ordrill_w_mm/drill_h_mm). - Every writer emits a slot: Altium
eSlotHolewithHoleWidthandHoleRotation(pad-relative); KiCad(drill oval W L); EAGLE: a slot is not representable, so warn. plated: falseis honoured by the Altium writer (Plated = Falseon a multilayer pad).
Impact
Silent: lint passes, the footprint looks right in 2D, and the board passes DRC. The defect only shows in the NC drill files: the pegs get plated and the slots become oversized round holes that cut through the pad ring. We caught it only by reading the drill Gerbers back.
Related, closed: #36 / #37 (generate dropped np_thru_hole pads).