Add a Blender GLB intake inspection command
Full build / Import + headless tests (push) Successful in 44s
Full build / Full desktop build + optional release (push) Skipped

This commit is contained in:
zwitschi committed 2026-11-03 10:08:45 +01:00
1 parent 6f3facff43
commit 5dc3ef0f4c
6 files changed
+510 -1

No files matched your search

+10
View File
@@ -4,6 +4,16 @@ Session memory for durable decisions, state, and gotchas. Keep concise, remove o
## Decisions
- **GLB intake inspection (`blender_assets.py inspect`, 2026-11-03):** runs inside Blender, clears
parents and applies object transforms, then reports tris/budget, raw and seam-split verts,
Godot-space bounds (height/feet for characters), bones, materials, UVs, skinning and
animations as `issues` (contract failures, exit 1) or `warnings`. `--json`/`--category` exist
for intake scripts. Gotchas: the glTF importer creates an `Icosphere` mesh used as
`pose_bone.custom_shape`, which must be excluded or it dominates bounds; a parented import
needs `parent_clear(CLEAR_KEEP_TRANSFORM)` before `transform_apply`; Blender is Z-up so bounds
and bone rests are converted to `(x, z, -y)`. On project assets its counts match `audit`
exactly, but `audit` stays the stdlib/CI release gate and `inspect` never adapts a file.
- **Blender Skills Pack installed locally (2026-11-03):** the MIT `blender-skills` pack
(v1.3.0, 94 skills + a shared `references/` folder) is installed at
`.agents/skills/blender-skills/` for Blender asset work. `.agents/` is gitignored and