import bpy,json
from pathlib import Path
bpy.ops.wm.read_factory_settings(use_empty=True);bpy.ops.import_scene.gltf(filepath='/opt/creature-lib-20261017/glb/enemy-stag.glb');rig=next(o for o in bpy.context.scene.objects if o.type=='ARMATURE');rig.data.pose_position='REST';rig.animation_data.action=None
for t in rig.animation_data.nla_tracks:t.mute=True
bpy.context.view_layer.update()
for o in bpy.context.scene.objects:
 if o.type!='MESH':continue
 vs=[o.matrix_world@v.co for v in o.data.vertices];z=[v for v in o.data.vertices if not v.groups or sum(g.weight for g in v.groups)<1e-5]
 print('DONOR',o.name,'parent',o.parent_type,o.parent_bone,'groups',len(o.vertex_groups),'noWeights',len(z),'vertices',len(vs),'bounds',[[min(v[i] for v in vs) for i in range(3)],[max(v[i] for v in vs) for i in range(3)]])
 print('MODIFIERS',[(m.name,m.type) for m in o.modifiers]);print('EMPTYWEIGHTS',[(v.index,list(o.matrix_world@v.co)) for v in z[:10]])
