Datasets:
ArXiv:
License:
Download train/batch_21/210010.py from filapro/cad-recode-v1.5: direct link, hf CLI and curl.
- Browser
- Download file 406 Bytes
-
https://huggingface.co/datasets/filapro/cad-recode-v1.5/resolve/main/train/batch_21/210010.py
- Command line
-
hf download hf://datasets/filapro/cad-recode-v1.5/train/batch_21/210010.py
-
curl -L -o 210010.py https://huggingface.co/datasets/filapro/cad-recode-v1.5/resolve/main/train/batch_21/210010.py
406 Bytes
| import cadquery as cq | |
| w0=cq.Workplane('ZX',origin=(0,-21,0)) | |
| r=w0.sketch().segment((-100,31),(-33,22)).segment((-28,60)).segment((-95,69)).close().assemble().finalize().extrude(-20).union(w0.sketch().arc((-87,-31),(-72,-61),(-39,-68)).arc((-16,-65),(4,-52)).segment((100,-52)).segment((100,24)).segment((7,24)).arc((-63,35),(-87,-31)).assemble().push([(-68,-36)]).circle(7,mode='s').finalize().extrude(63)) |