Spaces:
Runtime error
Runtime error
File size: 327 Bytes
c0dfdd0 | 1 2 3 4 5 6 7 | 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"] |