Download task/single-software-execution/cli/openscad/task-18/task-18.json from HongchengGao/EngiWorld-Tasks: direct link, hf CLI and curl.
- Browser
- Download file 2.53 kB
-
https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/cli/openscad/task-18/task-18.json
- Command line
-
hf download hf://datasets/HongchengGao/EngiWorld-Tasks/task/single-software-execution/cli/openscad/task-18/task-18.json
-
curl -L -o task-18.json https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/cli/openscad/task-18/task-18.json
2.53 kB
| { | |
| "id": "single-software-execution--cli--openscad--task-18--ubuntu", | |
| "snapshot": "OpenSCAD2021.01", | |
| "instruction": "Begin in OpenSCAD and edit it while preserving the initial right-angle bracket: the base plate occupies x=[-50,50], y=[-30,30], z=[0,5] mm and the upright plate occupies x=[-50,50], y=[25,30], z=[5,40] mm with /home/user/Desktop/task-038_initial.scad. To use OpenSCAD, run `openscad` from a terminal. For this task, run OpenSCAD from `/usr/bin/openscad` when working on `task-038_initial.scad`.\n\nAdd exactly five equally spaced triangular reinforcing ribs with X centers at -40,-20,0,20,40 mm (20 mm center spacing). Each rib is a 3 mm extrusion along X, so its X range is [center_x-1.5,center_x+1.5]. Before union with the bracket, define each rib's right-triangle cross-section in the Y-Z plane by the three vertices (0,4), (28,4), and (28,36) mm. Thus each rib is 28 mm deep in +Y and 32 mm high in +Z. This placement gives a 1 mm overlap with the base plate across z=[4,5] and a 3 mm overlap with the upright plate across y=[25,28]; use union() so the plates and all five ribs form one connected solid. Export /home/user/Desktop/task-038_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/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-18/init_file/task-038_initial.scad", | |
| "path": "/home/user/Desktop/task-038_initial.scad" | |
| } | |
| ] | |
| } | |
| } | |
| ], | |
| "trajectory": "trajectories/", | |
| "related_apps": [ | |
| "openscad" | |
| ], | |
| "artifact_paths": [ | |
| "/home/user/Desktop/task-038_output.stl" | |
| ], | |
| "evaluator": { | |
| "postconfig": [ | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-18/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" | |
| } | |