← Commit history

Footprint names its 3D model: bind the page's own model_3d_step so KiCad libraries built from this page carry the body

Drew Owens ·48f437484a ·15h ago ·parent 849eaa8
2 files changed +16
CHANGES.md+5
@@ -10,3 +10,8 @@ John: footprints follow the manufacturer's land pattern; README.md replaces READ - README.html removed (it repeated the native Symbol & Footprint viewers); README.md rewritten; `docs/assembly.md` + `docs/assembly.html` carry the pick-and-place animation; `docs/datasheet.md` the datasheet pages. - New: `CR0402-FX-1001GLF-outline.kicad_sym`, `CR0402-FX-1001GLF-unetched.glb`, `CR0402-FX-1001GLF-unetched.step`, `artwork/CR0402-FX-1001GLF-3d-outline-blueprint-named.svg`, `artwork/CR0402-FX-1001GLF-3d-outline-dark-named.svg`, `artwork/CR0402-FX-1001GLF-3d-outline-ink-heavy-named.svg`, `artwork/CR0402-FX-1001GLF-3d-outline-teal-named.svg`, `artwork/CR0402-FX-1001GLF-thumbs.json`, `cr0402-fx-1001glf-hero.glb`, `cr0402-fx-1001glf-hero.overlay.json`, `docs/assembly.html`, `docs/assembly.md`, `docs/datasheet.md`, `footprint-variants/CR0402-FX-1001GLF-RR25.kicad_mod`, `footprint-variants/CR0402-FX-1001GLF-SQ.kicad_mod`, `footprint-variants/CR0402-FX-1001GLF.kicad_mod`, `footprint-variants/CR0402-FX-1001GLF.variants.json` - Removed: `README.html`++# CR0402-FX-1001GLF: footprint names its 3D model (2026-10-21)++- `CR0402-FX-1001GLF.kicad_mod` now carries a `(model "${KIPRJMOD}/CR0402-FX-1001GLF.step")` line, zero offset and rotation: the page's own `model_3d_step` (page.json). Before, the footprint named no model, so KiCad libraries built from this page (AI Flow project pages, Adom Cloud Library exports) had no 3D body for the part.+- Nothing else changed: pads, courtyard, silkscreen and every other file are as they were.
CR0402-FX-1001GLF.kicad_mod+11
@@ -13,4 +13,15 @@   (fp_line (start -0.165 0.36) (end 0.165 0.36) (stroke (width 0.12) (type default)) (layer "F.SilkS"))   (pad "1" smd rect (at -0.5 0) (size 0.5 0.5) (layers "F.Cu" "F.Paste" "F.Mask"))   (pad "2" smd rect (at 0.5 0) (size 0.5 0.5) (layers "F.Cu" "F.Paste" "F.Mask"))+	(model "${KIPRJMOD}/CR0402-FX-1001GLF.step"+		(offset+			(xyz 0 0 0)+		)+		(scale+			(xyz 1 1 1)+		)+		(rotate+			(xyz 0 0 0)+		)+	) )