tsadf's picture
Upload folder using huggingface_hub
c0dfdd0 verified
raw
history blame contribute delete
327 Bytes
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"]