Datasets:
ArXiv:
License:
Download train/batch_21/210004.py from filapro/cad-recode-v1.5: direct link, hf CLI and curl.
- Browser
- Download file 242 Bytes
-
https://huggingface.co/datasets/filapro/cad-recode-v1.5/resolve/main/train/batch_21/210004.py
- Command line
-
hf download hf://datasets/filapro/cad-recode-v1.5/train/batch_21/210004.py
-
curl -L -o 210004.py https://huggingface.co/datasets/filapro/cad-recode-v1.5/resolve/main/train/batch_21/210004.py
242 Bytes
| import cadquery as cq | |
| w0=cq.Workplane('XY',origin=(0,0,100)) | |
| r=w0.sketch().rect(102,44).reset().face(w0.sketch().segment((10,-12),(11,-12)).segment((12,-7)).segment((11,-7)).arc((11,-10),(10,-12)).assemble(),mode='s').finalize().extrude(-200) |