Adom Library
Public Made by Adomby 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.
THT oval and roundrect pads: EAGLE long pad takes the LONG side as diameter, so JST PH pad 2 becomes 3.5 x 1.75 mm and reaches inside pad 1
Still present in 2.31.0, so it did not ride the #17 fix (the "four asks" there were the body's; this one was in the first follow-up comment). Found while verifying the git-wiki re-vendor on staging with the real export of adom/b2b-ph-k-s (JST PH 2-pin).
Source (B2B-PH-K-S.kicad_mod): pad 1 thru_hole roundrect (size 1.2 1.75) (drill 0.75), pad 2 thru_hole oval (size 1.2 1.75) (drill 0.75), 2.0 mm pitch. Both pads are 1.2 wide and 1.75 tall.
Output (2.31.0, and identical on 2.18.0):
<pad name="1" x="0.0000" y="-0.0000" drill="0.7500" diameter="1.2000" shape="round"/>
<pad name="2" x="2.0000" y="-0.0000" drill="0.7500" diameter="1.7500" shape="long"/>
EAGLE draws long as 2:1 along the pad's rotation axis with diameter as the short axis, so pad 2 is rendered 3.5 x 1.75 mm elongated along X, and its copper ends 0.25 mm from pad 1's centre, inside pad 1. Fusion shows exactly that. Pad 1 lost its long side too (1.2 round instead of 1.2 x 1.75).
Where: generate maps the THT diameter as if shape == "round" { dx } else { dx.max(dy) } (src/main.rs, the two THT emit sites near 1296 and 2162). For long the max is the wrong axis: the diameter must be the SHORT side, and the elongation must follow the source's long axis (this pad is tall, so rot="R90" with diameter 1.2 gives 1.2 x 2.4, clear of the neighbour on a 2.0 pitch). A 2.4 length overshoots 1.75, which is EAGLE's fixed 2:1 ratio and worth a lint warning, but it is no longer a short.
Asks:
long: diameter = min(dx, dy), rotate to the long axis, warn when the 2:1 overshoot exceeds the source by more than a threshold.roundrectTHT: EAGLE has no roundness on through-hole pads; eitherlongby the same rule when the aspect is > 1.2, orroundwith the SHORT side and a warning that the long side was dropped, never silently round-with-the-short-side.- A clearance lint on THT and SMD pads (copper to copper under 0.2 mm, shape-aware, in the pad's rotated frame) as a hard error, so no mapping can grow a pad into its neighbour again. The fusion-bridge preflight is getting the same check; the converter should refuse first.
Verification will be the staging Cloud Library export of adom/b2b-ph-k-s plus a Fusion import of the result, since the earlier report came from Fusion's own rendering.