This commit is contained in:
listik committed 2026-11-29 15:49:17 +03:00
commit a85391509d
211 files changed
+28903

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
import bpy,json
r=next(o for o in bpy.context.scene.objects if o.type=='ARMATURE' and o.name.startswith('Armature'))
print('MATRIX',list(map(list,r.matrix_world)))
print(json.dumps([{'name':p.name,'head':list(r.matrix_world@p.head),'tail':list(r.matrix_world@p.tail),'constraints':[(c.name,c.type,getattr(c,'subtarget','')) for c in p.constraints]} for p in r.pose.bones if any(k in p.name for k in ('hand','lowerarm','upperarm','elbow'))]))