Download task/single-software-execution/cli/openscad/task-09/task-09.json from HongchengGao/EngiWorld-Tasks: direct link, hf CLI and curl.
- Browser
- Download file 2.64 kB
-
https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/cli/openscad/task-09/task-09.json
- Command line
-
hf download hf://datasets/HongchengGao/EngiWorld-Tasks/task/single-software-execution/cli/openscad/task-09/task-09.json
-
curl -L -o task-09.json https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/cli/openscad/task-09/task-09.json
2.64 kB
| { | |
| "id": "single-software-execution--cli--openscad--task-09--ubuntu", | |
| "snapshot": "OpenSCAD2021.01", | |
| "instruction": "Load /home/user/Desktop/task-029_initial.scad in OpenSCAD and edit it. To use OpenSCAD, run `openscad` from a terminal. Run OpenSCAD from `/usr/bin/openscad` when working on `task-029_initial.scad`.\n\nThe initial side plate occupies x=[-48,48], y=[-26,26], z=[0,5] mm. Add eight equally spaced snap tabs with X centers x=-42,-30,-18,-6,6,18,30,42 mm. Every tab is an axis-aligned 8 x 6 x 3 mm solid (X x Y x Z), centered at y=23 mm and z=6.5 mm, so its bottom is on the plate top at z=5 mm and it occupies z=[5,8] mm. Directly beneath every tab, subtract one axis-aligned rectangular release slot from the plate using difference(). Each slot is 5 x 2 x 5 mm (X x Y x Z), has the same X center as its tab, is centered at y=23 mm and z=2.5 mm, and occupies x=[center_x-2.5,center_x+2.5], y=[22,24], z=[0,5] mm. The slot must be a real through-cut across the full plate thickness in the Z direction: material must be absent inside the slot, not added as a separate box. Preserve the remainder of the plate and export the final single connected solid to /home/user/Desktop/task-029_output.stl.", | |
| "source": "https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Using_OpenSCAD_in_a_command_line_environment; https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/The_OpenSCAD_Language; https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Transformations; https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/CSG_Modelling; https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Export", | |
| "config": [ | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-09/init_file/task-029_initial.scad", | |
| "path": "/home/user/Desktop/task-029_initial.scad" | |
| } | |
| ] | |
| } | |
| } | |
| ], | |
| "trajectory": "trajectories/", | |
| "related_apps": [ | |
| "openscad" | |
| ], | |
| "artifact_paths": [ | |
| "/home/user/Desktop/task-029_output.stl" | |
| ], | |
| "evaluator": { | |
| "postconfig": [ | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-09/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" | |
| } | |