File size: 3,099 Bytes
5154c4e
3de3b50
5154c4e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
  "id": "single-software-execution--cli--blender--task-32--ubuntu",
  "snapshot": "Blender-4.2.3",
  "instruction": "Boolean Multi-Hole Plate `/home/user/Desktop/scene.blend` contains a single mesh object `Plate`: a rectangular slab of dimensions 4.0 x 2.0 x 0.2 BU centered on the world origin (so its z extent is [-0.1, +0.1]). Launch Blender by running `blender` from a terminal. At the start of the task, use `/opt/blender/blender` for Blender command-line or background runs when working on `scene.blend`.\n\nProduce `/home/user/Desktop/answer.blend` containing a single mesh object `Plate` carved with two features: - a 3x2 grid of cylindrical through-bores, axis along +Z, radius 0.15 BU, at x_i in {-1.2, 0.0, +1.2} and y_j in {-0.4, +0.4}; - a rectangular pocket cut into the top (+Z) face only, 2.0 x 0.8 x 0.08 BU, centered at (0, 0, +0.06), with pocket floor at z = +0.02. ## Requirements 1. `/home/user/Desktop/answer.blend` exists. 2. The scene contains exactly one mesh object named `Plate`, located at the world origin, with an empty modifier stack. 3. The mesh is closed-manifold — no non-manifold edges. 4. The mesh has no loose vertices and no loose edges. 5. The outer axis-aligned bounding box is unchanged: x in [-2, +2], y in [-1, +1], z in [-0.1, +0.1], each within tolerance 1e-3. 6. Each of the six bore centres is a true through-bore: a ray cast straight down at (x_i, y_j) from z = +1 finds no surface within z in [-0.2, +0.2]. 7. At six sample points on the top face that avoid both the pocket and the bores, a downward ray from z = +1 hits the plate top at z = +0.1 within tolerance 1e-3. 8. At the pocket centre (0, 0), a downward ray from z = +1 hits the pocket floor at z = +0.02 (within tolerance 1e-3), not the original top at z = +0.1. 9. Face count of the final `Plate` mesh is between 40 and 400 (inclusive). Clean up after cutting: no cutter objects may remain in the scene.",
  "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-32/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-32/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"
}