Spaces:
Runtime error
Runtime error
| import json | |
| with open("pose_export.json") as f: | |
| data = json.load(f) | |
| for joint in data["joints"]: | |
| # Create empties or apply to armature | |
| bpy.ops.object.empty_add(location=joint["position"]) | |
| bpy.context.object.name = joint["name"] |