Add DMT6007LFG-7, TPS2121RUXR, Lattice ECP5 FPGA symbols; fix quoted 3D model path check

- Add DMT6007LFG-7 (transistor) and TPS2121RUXR (dual-input power mux) with
  footprints and TPS2121RUXR's 3D model.
- Import Lattice_ECP_FPGA symbol library (ECP5U-45 CABGA256/381/554,
  CSFBGA285) from mattvenn/basic-ecp5-pcb's legacy .lib, converted via
  kicad-cli sym upgrade; symbol-only, footprints resolved via the standard
  Package_BGA KiCad library. Add a vendor-accurate BG256 3D body
  (LFE5U-25F-8BG256I) for manual per-instance assignment.
- Fix check_library.py's 3D model reference regex to strip surrounding
  quotes, which KiCad 10's re-save format adds around (model "...") paths
  -- was causing a false "missing 3D model" error for SJ-3506-SMT-TR after
  its footprint got re-saved in the new format.
This commit is contained in:
2026-09-02 20:35:53 +02:00
parent 58185c2215
commit 04632ea71f
14 changed files with 53797 additions and 55 deletions
@@ -0,0 +1,138 @@
(footprint IC_TPS2121RUXR (layer F.Cu) (tedit 6A949002)
(descr "")
(attr smd)
(fp_text reference REF** (at 0.532 -2.2064 0) (layer F.SilkS)
(effects (font (size 0.64 0.64) (thickness 0.15)))
)
(fp_text value IC_TPS2121RUXR (at 4.1896 2.1746 0) (layer F.Fab)
(effects (font (size 0.64 0.64) (thickness 0.15)))
)
(pad 1 smd roundrect (roundrect_rratio 0.25) (at -0.675 -0.35) (size 1.05 0.4) (layers F.Cu F.Paste))
(pad 2 smd roundrect (roundrect_rratio 0.25) (at -0.675 0.35) (size 1.05 0.4) (layers F.Cu F.Paste))
(pad 3 smd roundrect (roundrect_rratio 0.25) (at -0.75 1.15) (size 0.2 0.6) (layers F.Cu F.Paste))
(pad 4 smd roundrect (roundrect_rratio 0.25) (at -0.25 1.15) (size 0.2 0.6) (layers F.Cu F.Paste))
(pad 5 smd roundrect (roundrect_rratio 0.25) (at 0.25 1.15) (size 0.2 0.6) (layers F.Cu F.Paste))
(pad 6 smd roundrect (roundrect_rratio 0.25) (at 0.75 1.15) (size 0.2 0.6) (layers F.Cu F.Paste))
(pad 7 smd roundrect (roundrect_rratio 0.25) (at 0.675 0.35) (size 1.05 0.4) (layers F.Cu F.Paste))
(pad 8 smd roundrect (roundrect_rratio 0.25) (at 0.675 -0.35) (size 1.05 0.4) (layers F.Cu F.Paste))
(pad 9 smd roundrect (roundrect_rratio 0.25) (at 0.75 -1.15) (size 0.2 0.6) (layers F.Cu F.Paste))
(pad 10 smd roundrect (roundrect_rratio 0.25) (at 0.25 -1.15) (size 0.2 0.6) (layers F.Cu F.Paste))
(pad 11 smd roundrect (roundrect_rratio 0.25) (at -0.25 -1.15) (size 0.2 0.6) (layers F.Cu F.Paste))
(pad 12 smd roundrect (roundrect_rratio 0.25) (at -0.75 -1.15) (size 0.2 0.6) (layers F.Cu F.Paste))
(pad 1_1 thru_hole circle (at -0.4 -0.35) (size 0.3 0.3) (drill 0.2) (layers *.Cu))
(pad 2_1 thru_hole circle (at -0.4 0.35) (size 0.3 0.3) (drill 0.2) (layers *.Cu))
(pad 7_1 thru_hole circle (at 0.4 0.35) (size 0.3 0.3) (drill 0.2) (layers *.Cu))
(pad 8_1 thru_hole circle (at 0.4 -0.35) (size 0.3 0.3) (drill 0.2) (layers *.Cu))
(fp_poly
(pts
(xy -1.25 -0.6)
(xy -0.1 -0.6)
(xy -0.1 -0.1)
(xy -1.25 -0.1)
) (layer F.Mask) (width 0.01)
)
(fp_poly
(pts
(xy 0.1 -0.6)
(xy 1.25 -0.6)
(xy 1.25 -0.1)
(xy 0.1 -0.1)
) (layer F.Mask) (width 0.01)
)
(fp_poly
(pts
(xy -1.25 0.1)
(xy -0.1 0.1)
(xy -0.1 0.6)
(xy -1.25 0.6)
) (layer F.Mask) (width 0.01)
)
(fp_poly
(pts
(xy -0.4 -1.5)
(xy -0.1 -1.5)
(xy -0.1 -0.8)
(xy -0.4 -0.8)
) (layer F.Mask) (width 0.01)
)
(fp_poly
(pts
(xy 0.1 -1.5)
(xy 0.4 -1.5)
(xy 0.4 -0.8)
(xy 0.1 -0.8)
) (layer F.Mask) (width 0.01)
)
(fp_poly
(pts
(xy -0.4 0.8)
(xy -0.1 0.8)
(xy -0.1 1.5)
(xy -0.4 1.5)
) (layer F.Mask) (width 0.01)
)
(fp_poly
(pts
(xy 0.1 0.8)
(xy 0.4 0.8)
(xy 0.4 1.5)
(xy 0.1 1.5)
) (layer F.Mask) (width 0.01)
)
(fp_poly
(pts
(xy -0.9 0.8)
(xy -0.6 0.8)
(xy -0.6 1.5)
(xy -0.9 1.5)
) (layer F.Mask) (width 0.01)
)
(fp_poly
(pts
(xy 0.6 0.8)
(xy 0.9 0.8)
(xy 0.9 1.5)
(xy 0.6 1.5)
) (layer F.Mask) (width 0.01)
)
(fp_poly
(pts
(xy -0.9 -1.5)
(xy -0.6 -1.5)
(xy -0.6 -0.8)
(xy -0.9 -0.8)
) (layer F.Mask) (width 0.01)
)
(fp_poly
(pts
(xy 0.6 -1.5)
(xy 0.9 -1.5)
(xy 0.9 -0.8)
(xy 0.6 -0.8)
) (layer F.Mask) (width 0.01)
)
(fp_line (start -1.0 1.25) (end -1.0 -1.25) (layer F.Fab) (width 0.127))
(fp_line (start -1.0 -1.25) (end 1.0 -1.25) (layer F.Fab) (width 0.127))
(fp_line (start 1.0 -1.25) (end 1.0 1.25) (layer F.Fab) (width 0.127))
(fp_line (start 1.0 1.25) (end -1.0 1.25) (layer F.Fab) (width 0.127))
(fp_line (start -1.45 1.7) (end -1.45 -1.7) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.45 -1.7) (end 1.45 -1.7) (layer F.CrtYd) (width 0.05))
(fp_line (start 1.45 -1.7) (end 1.45 1.7) (layer F.CrtYd) (width 0.05))
(fp_line (start 1.45 1.7) (end -1.45 1.7) (layer F.CrtYd) (width 0.05))
(fp_circle (center -1.8 -0.4) (end -1.7 -0.4) (layer F.SilkS) (width 0.2))
(fp_circle (center -1.8 -0.4) (end -1.7 -0.4) (layer F.Fab) (width 0.2))
(fp_poly
(pts
(xy 0.1 0.1)
(xy 1.25 0.1)
(xy 1.25 0.6)
(xy 0.1 0.6)
) (layer F.Mask) (width 0.01)
)
(model ${KIPRJMOD}/3dmodels/other/TPS2121RUXR.step
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)