- make test-tooling: planet-gen determinism guard + import_economics
--dry-run, wired into pre-push on TOOLING_CHANGED; ruff widened to
E4/E7/E9/F/W (90 safe auto-fixes applied; E402/E702/F841 ignored with
documented counts)
- one-generator reality fixed in DEVOPS.md, asset-pipeline rule, CLAUDE.md
(import_economics sole generator since #951/D-223); dead check-protocol
target deleted; DEVOPS hook/config sections rewritten from the actual
hook sources; team-patterns gate description updated (client+tooling)
- project.yaml: 0.2.0 → 0.4.0 per the 0.{phase}.{n} scheme, description
refreshed from the v0.1 Sova narration to cascade reality
- stale comment sweep: voxel.rs stub claims (all 8 families implemented),
cascade.rs TODO recited to T-1044, main.rs D-192 handshake claim,
relationships.rs/chunk_streaming.rs version targets → phase language
- gitignore: client/settings.db* e2e-run artifacts
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
22 lines
918 B
Python
22 lines
918 B
Python
"""List all objects in a Quaternius .blend file."""
|
|
import sys
|
|
import bpy
|
|
|
|
if __name__ == "__main__":
|
|
argv = sys.argv
|
|
args = argv[argv.index("--") + 1:]
|
|
bpy.ops.wm.open_mainfile(filepath=args[0])
|
|
|
|
print("\nAll scene objects:")
|
|
for o in sorted(bpy.context.scene.objects, key=lambda x: x.name):
|
|
parent_info = f" (parent: {o.parent.name}" + (f", bone: {o.parent_bone}" if o.parent_bone else "") + ")" if o.parent else ""
|
|
verts = f", {len(o.data.vertices)} verts" if o.type == 'MESH' else ""
|
|
loc = tuple(round(v, 3) for v in o.matrix_world.translation)
|
|
print(f" {o.name:30s} type={o.type:10s} loc={loc}{verts}{parent_info}")
|
|
|
|
arm = next((o for o in bpy.context.scene.objects if o.type == 'ARMATURE'), None)
|
|
if arm:
|
|
head_bone = arm.data.bones.get('Head')
|
|
if head_bone:
|
|
print(f"\nHead bone top: z={round(head_bone.tail_local[2], 4)}")
|