by adom
0603 Thick Film Resistor · 470 Ω ±1% · 1/10 W
Name the 3D model in the footprints and the footprint in the symbol #1
adom-wiki 1.8.0 · adom-aiflow 0.2.26 · KiCad 10.0.2 (service-kicad 1.1.0) · adom-lbr 2.47.9 · Linux container
What I did: added adom/0603waf4700t5e to a Cloud Library and exported it for KiCad (an AI Flow board run, project-page step).
Expected: the footprint names its 3D model, and the model is in the bundle.
What happened: the bundle has 3dmodels/0603WAF4700T5E.step, but 0603WAF4700T5E.kicad_mod has no (model ...) line, so nothing uses the STEP. AI Flow reports footprint 0603WAF4700T5E names no 3D model.
Why: the footprint was written without a model line. The export rewrites an existing model path to the page's STEP, as it does for adom/0603waf1002t5e, but it does not add one.
- CHANGES.md says this footprint came from the adom basic-parts overhaul of 2026-10-03.
- If that pass wrote other pages, they may lack the model line too.
This PR:
0603WAF4700T5E.kicad_mod:(model "${KIPRJMOD}/0603WAF4700T5E.step")with zero offset, scale 1 and no rotation.- The page's STEP is already centred on the pads with its floor at z = 0: 1.60 x 0.80 mm body, x and y centred.
- The export rewrites the path to
3dmodels/0603WAF4700T5E.step.
footprint-variants/*.kicad_mod(plain, -SQ, -RR25): the same model line.0603WAF4700T5E.kicad_sym: the empty Footprint field now names the footprint,0603waf4700t5e:0603WAF4700T5E, the wayadom/0603waf5101t5edoes.- The export already filled it in, so this only helps people who use the page's files directly.
How this was checked
- A Cloud Library holding private forks of the six pages, exported with
adom-wiki library export, before and after the change. - AI Flow's own completeness check (
tools/project-page.py,completeness()) run on both bundles.- Before: all six fail.
- After:
PASS: every part resolves symbol -> footprint -> 3D model, 6 included, 0 skipped.
adom-wiki library availability: KiCad, Fusion and Altium all OK for all six after the change.- KiCad 10.0.2 (service-kicad) loads every changed footprint (a test board, DRC) and every changed symbol (a test schematic, ERC) with no parse or library errors.
The forks and the test library were deleted afterwards.
Not in this PR: the push check also notes the page has no distributor numbers (component.distributor_links is empty).
🤖 Generated with Claude Code
Diff Skip to comments (1)
@@ -1,16 +1,22 @@⋯ 12 unchanged lines ⋯ (fp_line (start -0.315 0.585) (end 0.315 0.585) (stroke (width 0.12) (type default)) (layer "F.SilkS")) (pad "1" smd roundrect (at -0.825 0) (size 0.8 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.125)) (pad "2" smd roundrect (at 0.825 0) (size 0.8 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.125))+ (model "${KIPRJMOD}/0603WAF4700T5E.step"+ (offset (xyz 0 0 0))+ (scale (xyz 1 1 1))+ (rotate (xyz 0 0 0))+ ) )+@@ -1,90 +1,91 @@⋯ 22 unchanged lines ⋯ ) ) )- (property "Footprint" ""+ (property "Footprint" "0603waf4700t5e:0603WAF4700T5E" (at 0 0 0) (effects (font (size 1.27 1.27)) (hide yes)) )⋯ 58 unchanged lines ⋯ ) ) )+@@ -1,16 +1,22 @@⋯ 12 unchanged lines ⋯ (fp_line (start -0.315 0.585) (end 0.315 0.585) (stroke (width 0.12) (type default)) (layer "F.SilkS")) (pad "1" smd roundrect (at -0.825 0) (size 0.8 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.125)) (pad "2" smd roundrect (at 0.825 0) (size 0.8 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.125))+ (model "${KIPRJMOD}/0603WAF4700T5E.step"+ (offset (xyz 0 0 0))+ (scale (xyz 1 1 1))+ (rotate (xyz 0 0 0))+ ) )+@@ -1,16 +1,22 @@⋯ 12 unchanged lines ⋯ (fp_line (start -0.315 0.585) (end 0.315 0.585) (stroke (width 0.12) (type default)) (layer "F.SilkS")) (pad "1" smd roundrect (at -0.825 0) (size 0.8 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)) (pad "2" smd roundrect (at 0.825 0) (size 0.8 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25))+ (model "${KIPRJMOD}/0603WAF4700T5E.step"+ (offset (xyz 0 0 0))+ (scale (xyz 1 1 1))+ (rotate (xyz 0 0 0))+ ) )+@@ -1,16 +1,22 @@⋯ 12 unchanged lines ⋯ (fp_line (start -0.315 0.585) (end 0.315 0.585) (stroke (width 0.12) (type default)) (layer "F.SilkS")) (pad "1" smd rect (at -0.825 0) (size 0.8 0.95) (layers "F.Cu" "F.Paste" "F.Mask")) (pad "2" smd rect (at 0.825 0) (size 0.8 0.95) (layers "F.Cu" "F.Paste" "F.Mask"))+ (model "${KIPRJMOD}/0603WAF4700T5E.step"+ (offset (xyz 0 0 0))+ (scale (xyz 1 1 1))+ (rotate (xyz 0 0 0))+ ) )+
Comments
Log in to comment.