Download task/single-software-execution/cli/blender/task-19/task-19.json from HongchengGao/EngiWorld-Tasks: direct link, hf CLI and curl.
- Browser
- Download file 4.42 kB
-
https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/cli/blender/task-19/task-19.json
- Command line
-
hf download hf://datasets/HongchengGao/EngiWorld-Tasks/task/single-software-execution/cli/blender/task-19/task-19.json
-
curl -L -o task-19.json https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/cli/blender/task-19/task-19.json
4.42 kB
| { | |
| "id": "single-software-execution--cli--blender--task-19--ubuntu", | |
| "snapshot": "Blender-4.2.3", | |
| "instruction": "Spine IK Bend `/home/user/Desktop/scene.blend` is an empty Blender scene (just the default camera + light) - no armature, no empty. build a 6-bone spine rig with an IK target that traces an animated bezier-like path, and save the result as `/home/user/Desktop/answer.blend`. ## Requirements 1. Launch Blender by running `blender` from a terminal. On this machine, use `/opt/blender/blender` for Blender command-line or background runs when working on `scene.blend`.\n\nAn armature object named `Spine` with a 6-bone chain along +Z (bone lengths 0.5 BU each, so the chain stands 3 BU tall from (0,0,0) to (0,0,3)): - `Bone01`: head (0,0,0.0), tail (0,0,0.5) - root of the chain. - `Bone02`: head (0,0,0.5), tail (0,0,1.0), parented to Bone01 with `use_connect=True`. - `Bone03`: head (0,0,1.0), tail (0,0,1.5), parented to Bone02 with `use_connect=True`. - `Bone04`: head (0,0,1.5), tail (0,0,2.0), parented to Bone03 with `use_connect=True`. - `Bone05`: head (0,0,2.0), tail (0,0,2.5), parented to Bone04 with `use_connect=True`. - `Bone06`: head (0,0,2.5), tail (0,0,3.0), parented to Bone05 with `use_connect=True` - the tip bone. `rig.data.bones` must contain exactly these 6 bones. 2. An `EMPTY` object named `IK_Goal`. Initial location can be (0, 0, 3). 3. On pose bone `Bone06`, an IK constraint (`type='IK'`) with: - `target = IK_Goal` (the empty object). - `chain_count = 6` (so the whole 6-bone chain is solved by IK). 4. Animate `IK_Goal.location` with keyframes at frames 1, 15, and 30 to trace a path that bends the spine forward then backward: - Frame 1: location = (0, 0, 3) - upright, tip at starting position. - Frame 15: location = (1.5, 0, 2.5) - bent forward + slightly down. - Frame 30: location = (-1.5, 0, 2.5) - bent backward + slightly down. Keyframe all 3 components (x, y, z). The animation action should contain exactly 3 fcurves (one per location component), each with exactly 3 keyframe points at frames {1, 15, 30}. 5. Set the F-curve extrapolation mode on ALL 3 location fcurves to `'LINEAR'` (not the default `'CONSTANT'`). ## Requirements 1. The file `/home/user/Desktop/answer.blend` opens as a valid Blender file. 2. Object `Spine` exists and is an ARMATURE with exactly 6 bones named `Bone01..Bone06` arranged as a single parent chain (Bone01 root, Bone06 tip). 3. Object `IK_Goal` exists with `type == 'EMPTY'`. 4. Pose bone `Bone06` has an IK constraint with `chain_count == 6` and `target == IK_Goal`. 5. `IK_Goal.animation_data.action` exists with 3 fcurves on `location` (array_index 0/1/2), each with 3 keyframes at frames {1, 15, 30}. 6. Keyframe values match: - Frame 1: (0, 0, 3) - Frame 15: (1.5, 0, 2.5) - Frame 30: (-1.5, 0, 2.5) within 1e-3 tolerance. 7. All 3 location fcurves have `extrapolation == 'LINEAR'`. 8. When the scene is set to frame 1, the world-space position of Bone06's tail is within 0.05 of (0, 0, 3) (IK reaches the target). 9. When the scene is set to frame 15, the world-space position of Bone06's tail is within 0.05 of (1.5, 0, 2.5). 10. When the scene is set to frame 30, the world-space position of Bone06's tail is within 0.05 of (-1.5, 0, 2.5).", | |
| "source": "https://docs.blender.org/manual/en/4.1/; https://docs.blender.org/api/4.1/; https://www.loc.gov/preservation/digital/formats/fdd/fdd000507.shtml", | |
| "config": [ | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-19/init_file/scene.blend", | |
| "path": "/home/user/Desktop/scene.blend" | |
| } | |
| ] | |
| } | |
| } | |
| ], | |
| "trajectory": "trajectories/", | |
| "related_apps": [ | |
| "blender" | |
| ], | |
| "artifact_paths": [ | |
| "/home/user/Desktop/answer.blend" | |
| ], | |
| "evaluator": { | |
| "postconfig": [ | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-19/eval.py", | |
| "path": "/home/user/Desktop/eval.py" | |
| } | |
| ] | |
| } | |
| } | |
| ], | |
| "func": "exact_match", | |
| "result": { | |
| "type": "vm_command_line", | |
| "command": "python3 /home/user/Desktop/eval.py", | |
| "shell": "true" | |
| }, | |
| "expected": { | |
| "type": "rule", | |
| "rules": { | |
| "expected": "True\n" | |
| } | |
| } | |
| }, | |
| "proxy": false, | |
| "fixed_ip": false, | |
| "possibility_of_env_change": "low" | |
| } | |