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
@@ -1,52 +1,367 @@
(footprint CUI_SJ-3506-SMT-TR (layer F.Cu) (tedit 6A85A70D)
(descr "")
(fp_text reference REF** (at 3.67445 -8.13681 0) (layer F.SilkS)
(effects (font (size 1.00022047244 1.00022047244) (thickness 0.15)))
)
(fp_text value CUI_SJ-3506-SMT-TR (at 12.18906 7.626315 0) (layer F.Fab)
(effects (font (size 1.00148818898 1.00148818898) (thickness 0.15)))
)
(pad 1 thru_hole oval (at 1.85 -5.9) (size 1.6 0.8) (drill oval 1.1 0.7) (layers *.Cu *.Mask) (solder_mask_margin 0.102))
(pad 2 thru_hole oval (at 9.7 -5.9) (size 1.45 0.8) (drill oval 1.1 0.7) (layers *.Cu *.Mask) (solder_mask_margin 0.102))
(pad 6 thru_hole oval (at 11.5 -5.9) (size 1.45 0.8) (drill oval 1.1 0.7) (layers *.Cu *.Mask) (solder_mask_margin 0.102))
(pad 3 thru_hole oval (at 11.5 5.9) (size 1.6 0.8) (drill oval 1.1 0.7) (layers *.Cu *.Mask) (solder_mask_margin 0.102))
(pad 4 thru_hole oval (at 9.0 5.9) (size 1.6 0.8) (drill oval 1.1 0.7) (layers *.Cu *.Mask) (solder_mask_margin 0.102))
(pad 5 thru_hole oval (at 1.85 5.9) (size 1.6 0.8) (drill oval 1.1 0.7) (layers *.Cu *.Mask) (solder_mask_margin 0.102))
(pad SH1 thru_hole oval (at 5.88 -5.9) (size 1.6 0.8) (drill oval 1.1 0.7) (layers *.Cu *.Mask) (solder_mask_margin 0.102))
(pad SH2 thru_hole oval (at 5.88 5.9) (size 1.6 0.8) (drill oval 1.1 0.7) (layers *.Cu *.Mask) (solder_mask_margin 0.102))
(fp_line (start -2.8 3.0) (end -2.8 -3.0) (layer F.Fab) (width 0.127))
(fp_line (start 0.0 -3.0) (end 0.0 -6.4) (layer F.Fab) (width 0.127))
(fp_line (start 0.0 -6.4) (end 12.0 -6.4) (layer F.Fab) (width 0.127))
(fp_line (start 12.0 -6.4) (end 12.0 6.4) (layer F.Fab) (width 0.127))
(fp_line (start 12.0 6.4) (end 0.0 6.4) (layer F.Fab) (width 0.127))
(fp_line (start 0.0 6.4) (end 0.0 3.0) (layer F.Fab) (width 0.127))
(fp_line (start -2.8 3.0) (end 0.0 3.0) (layer F.Fab) (width 0.127))
(fp_line (start -2.8 -3.0) (end 0.0 -3.0) (layer F.Fab) (width 0.127))
(fp_line (start 0.0 6.4) (end 0.8 6.4) (layer F.SilkS) (width 0.127))
(fp_line (start 0.0 -6.4) (end 0.8 -6.4) (layer F.SilkS) (width 0.127))
(fp_line (start 2.9 -6.4) (end 4.8 -6.4) (layer F.SilkS) (width 0.127))
(fp_line (start 6.9 -6.4) (end 8.6 -6.4) (layer F.SilkS) (width 0.127))
(fp_line (start 2.9 6.4) (end 4.7 6.4) (layer F.SilkS) (width 0.127))
(fp_line (start 7.0 6.4) (end 8.0 6.4) (layer F.SilkS) (width 0.127))
(fp_line (start -0.25 -6.75) (end -0.25 -3.25) (layer F.CrtYd) (width 0.05))
(fp_line (start -0.25 -3.25) (end -3.05 -3.25) (layer F.CrtYd) (width 0.05))
(fp_line (start -3.05 -3.25) (end -3.05 3.25) (layer F.CrtYd) (width 0.05))
(fp_line (start -3.05 3.25) (end -0.25 3.25) (layer F.CrtYd) (width 0.05))
(fp_line (start -0.25 3.25) (end -0.25 6.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -0.25 6.75) (end 13.55 6.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 13.55 6.75) (end 13.55 -6.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 13.55 -6.75) (end -0.25 -6.75) (layer F.CrtYd) (width 0.05))
(fp_circle (center -0.5 -5.75) (end -0.4 -5.75) (layer F.SilkS) (width 0.2))
(fp_line (start 0.0 -5.05) (end 0.0 5.05) (layer Edge.Cuts) (width 0.01))
(fp_line (start 0.0 5.05) (end 13.05 5.05) (layer Edge.Cuts) (width 0.01))
(fp_arc (start 13.025 4.775) (end 13.3 4.75) (angle 90.0) (layer Edge.Cuts) (width 0.01))
(fp_line (start 13.3 4.75) (end 13.3 -4.75) (layer Edge.Cuts) (width 0.01))
(fp_arc (start 13.025 -4.775) (end 13.05 -5.05) (angle 90.0) (layer Edge.Cuts) (width 0.01))
(fp_line (start 13.05 -5.05) (end 0.0 -5.05) (layer Edge.Cuts) (width 0.01))
(model ${KIPRJMOD}/3dmodels/other/SJ-3506-SMT-TR.step
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
(footprint "CUI_SJ-3506-SMT-TR"
(version 20260206)
(generator "pcbnew")
(generator_version "10.0")
(layer "F.Cu")
(property "Reference" "REF**"
(at 3.67445 -8.13681 0)
(layer "F.SilkS")
(uuid "312e31b5-737b-4977-ae00-3b2b3587138a")
(effects
(font
(size 1.00022 1.00022)
(thickness 0.15)
)
)
)
(property "Value" "CUI_SJ-3506-SMT-TR"
(at 12.18906 7.626315 0)
(layer "F.Fab")
(uuid "15ab10fa-e97e-42b4-af0a-ab1bca77a68f")
(effects
(font
(size 1.001488 1.001488)
(thickness 0.15)
)
)
)
(property "Datasheet" ""
(at 0 0 0)
(layer "F.Fab")
(hide yes)
(uuid "76e89239-888a-48d7-8af6-a931eaad954e")
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" ""
(at 0 0 0)
(layer "F.Fab")
(hide yes)
(uuid "27276502-b7cd-4250-98e1-79884e87c8ce")
(effects
(font
(size 1.27 1.27)
)
)
)
(attr through_hole)
(duplicate_pad_numbers_are_jumpers no)
(fp_line
(start 0 -6.4)
(end 0.8 -6.4)
(stroke
(width 0.127)
(type solid)
)
(layer "F.SilkS")
(uuid "4d655f23-60ce-4699-8f21-a5b41c9d3be6")
)
(fp_line
(start 0 6.4)
(end 0.8 6.4)
(stroke
(width 0.127)
(type solid)
)
(layer "F.SilkS")
(uuid "3f83ea95-dd91-43e4-8d2d-63a0418556f7")
)
(fp_line
(start 2.9 -6.4)
(end 4.8 -6.4)
(stroke
(width 0.127)
(type solid)
)
(layer "F.SilkS")
(uuid "1bb61b01-a19e-4a62-8a03-93d4fb1a5a16")
)
(fp_line
(start 2.9 6.4)
(end 4.7 6.4)
(stroke
(width 0.127)
(type solid)
)
(layer "F.SilkS")
(uuid "2a39c5cb-0c87-4821-a116-a8328ebc0d54")
)
(fp_line
(start 6.9 -6.4)
(end 8.6 -6.4)
(stroke
(width 0.127)
(type solid)
)
(layer "F.SilkS")
(uuid "d4120b8b-90e7-40a3-912e-9fa89c46a06a")
)
(fp_line
(start 7 6.4)
(end 8 6.4)
(stroke
(width 0.127)
(type solid)
)
(layer "F.SilkS")
(uuid "5b67e904-df9f-4e32-81a6-e15ee72e59e2")
)
(fp_circle
(center -0.5 -5.75)
(end -0.4 -5.75)
(stroke
(width 0.2)
(type solid)
)
(fill no)
(layer "F.SilkS")
(uuid "cb701638-eebf-4219-b7a1-c4259cb1b008")
)
(fp_line
(start -3.05 -3.25)
(end -3.05 3.25)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "b6950ebe-1ce7-4633-bea2-5a32bef3b97f")
)
(fp_line
(start -3.05 3.25)
(end -0.25 3.25)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "18050731-2bf5-42e9-9381-08664647723b")
)
(fp_line
(start -0.25 -6.75)
(end -0.25 -3.25)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "2f3affe5-a0db-4856-b0cb-20e07aa38d16")
)
(fp_line
(start -0.25 -3.25)
(end -3.05 -3.25)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "b2733bfe-4afe-4014-956b-bf7d0b1b2cc6")
)
(fp_line
(start -0.25 3.25)
(end -0.25 6.75)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "e54e2a42-3080-4e28-847d-b8c18aa47944")
)
(fp_line
(start -0.25 6.75)
(end 13.55 6.75)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "ee3cc555-3f74-452d-a7fd-65de081d871e")
)
(fp_line
(start 13.55 -6.75)
(end -0.25 -6.75)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "222b1d48-c6f2-45ae-bd0e-ef2d8806fe24")
)
(fp_line
(start 13.55 6.75)
(end 13.55 -6.75)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "804deef2-1868-410e-9ccd-7a2ac4ae3647")
)
(fp_line
(start -2.8 -3)
(end 0 -3)
(stroke
(width 0.127)
(type solid)
)
(layer "F.Fab")
(uuid "7cf90f57-6009-4590-a06d-e21071041603")
)
(fp_line
(start -2.8 3)
(end -2.8 -3)
(stroke
(width 0.127)
(type solid)
)
(layer "F.Fab")
(uuid "1d5e05d9-389b-4cd5-922c-9d90e326083c")
)
(fp_line
(start -2.8 3)
(end 0 3)
(stroke
(width 0.127)
(type solid)
)
(layer "F.Fab")
(uuid "f641cc68-72c3-433f-a07e-8c881c2551d3")
)
(fp_line
(start 0 -6.4)
(end 12 -6.4)
(stroke
(width 0.127)
(type solid)
)
(layer "F.Fab")
(uuid "7179e661-c5fc-4688-81c3-e975c4baa82f")
)
(fp_line
(start 0 -3)
(end 0 -6.4)
(stroke
(width 0.127)
(type solid)
)
(layer "F.Fab")
(uuid "ae9f6e27-3ba8-47a0-8969-99c3162e4e1a")
)
(fp_line
(start 0 6.4)
(end 0 3)
(stroke
(width 0.127)
(type solid)
)
(layer "F.Fab")
(uuid "a8a15c30-cd6d-4f25-b68c-b7a1a6e8df2b")
)
(fp_line
(start 12 -6.4)
(end 12 6.4)
(stroke
(width 0.127)
(type solid)
)
(layer "F.Fab")
(uuid "66d5a2a7-be3d-495e-ba7b-246f79393821")
)
(fp_line
(start 12 6.4)
(end 0 6.4)
(stroke
(width 0.127)
(type solid)
)
(layer "F.Fab")
(uuid "53f08978-5d8e-4002-b5f4-fe26484204a0")
)
(pad "1" thru_hole oval
(at 1.85 -5.9)
(size 1.6 0.8)
(drill oval 1.1 0.7)
(layers "*.Cu" "*.Mask")
(remove_unused_layers no)
(solder_mask_margin 0.102)
(uuid "71362cc6-dea7-4fe3-9968-bf28832f623d")
)
(pad "2" thru_hole oval
(at 9.7 -5.9)
(size 1.45 0.8)
(drill oval 1.1 0.7)
(layers "*.Cu" "*.Mask")
(remove_unused_layers no)
(solder_mask_margin 0.102)
(uuid "f65370ea-a1e4-4061-bfce-7ae439278a3d")
)
(pad "3" thru_hole oval
(at 11.5 5.9)
(size 1.6 0.8)
(drill oval 1.1 0.7)
(layers "*.Cu" "*.Mask")
(remove_unused_layers no)
(solder_mask_margin 0.102)
(uuid "4eac1eeb-818d-4a78-9d52-c0a725c35371")
)
(pad "4" thru_hole oval
(at 9 5.9)
(size 1.6 0.8)
(drill oval 1.1 0.7)
(layers "*.Cu" "*.Mask")
(remove_unused_layers no)
(solder_mask_margin 0.102)
(uuid "4d3f7063-c174-40a2-ad48-9ee5c6a416b5")
)
(pad "5" thru_hole oval
(at 1.85 5.9)
(size 1.6 0.8)
(drill oval 1.1 0.7)
(layers "*.Cu" "*.Mask")
(remove_unused_layers no)
(solder_mask_margin 0.102)
(uuid "8eecee45-3427-4708-8555-fe89d8d2f3be")
)
(pad "6" thru_hole oval
(at 11.5 -5.9)
(size 1.45 0.8)
(drill oval 1.1 0.7)
(layers "*.Cu" "*.Mask")
(remove_unused_layers no)
(solder_mask_margin 0.102)
(uuid "176d6d50-8cdc-40f7-9507-fbe9058a2d54")
)
(pad "SH1" thru_hole oval
(at 5.88 -5.9)
(size 1.6 0.8)
(drill oval 1.1 0.7)
(layers "*.Cu" "*.Mask")
(remove_unused_layers no)
(solder_mask_margin 0.102)
(uuid "9bcd9a42-1cae-4b43-b0cb-c0785526267b")
)
(pad "SH2" thru_hole oval
(at 5.88 5.9)
(size 1.6 0.8)
(drill oval 1.1 0.7)
(layers "*.Cu" "*.Mask")
(remove_unused_layers no)
(solder_mask_margin 0.102)
(uuid "7753422b-2717-467c-b158-a83eea20aa5d")
)
(embedded_fonts no)
(model "${KIPRJMOD}/3dmodels/other/SJ-3506-SMT-TR.step"
(offset
(xyz 0 0 0)
)
(scale
(xyz 1 1 1)
)
(rotate
(xyz 0 0 0)
)
)
)