Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -19,3 +19,44 @@ configs:
|
|
| 19 |
- split: train
|
| 20 |
path: data/train-*
|
| 21 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
- split: train
|
| 20 |
path: data/train-*
|
| 21 |
---
|
| 22 |
+
|
| 23 |
+
## **OpenSCAD-Code-to-GLB**
|
| 24 |
+
|
| 25 |
+
## Dataset Description
|
| 26 |
+
|
| 27 |
+
**OpenSCAD-Code-to-GLB** is a derived dataset built on top of [CodeCAD-HF-v2](https://huggingface.co/datasets/prithivMLmods/CodeCAD-HF-v2). It extends the original by converting OpenSCAD parametric code into rendered GLB (GL Transmission Format Binary) 3D model files. Each record pairs a natural language prompt, the corresponding OpenSCAD code, and a rendered GLB file of the resulting 3D mesh.
|
| 28 |
+
|
| 29 |
+
## Dataset Statistics
|
| 30 |
+
|
| 31 |
+
| Property | Value |
|
| 32 |
+
|----------|-------|
|
| 33 |
+
| Split | Train |
|
| 34 |
+
| Number of Rows | 4,795 |
|
| 35 |
+
| Total Size | 437 MB |
|
| 36 |
+
| Format | Parquet |
|
| 37 |
+
| Modalities | 3D, Text |
|
| 38 |
+
|
| 39 |
+
## Dataset Structure
|
| 40 |
+
|
| 41 |
+
| Column | Type | Description |
|
| 42 |
+
|--------|------|-------------|
|
| 43 |
+
| `Prompt` | string | Natural language description of the 3D model |
|
| 44 |
+
| `Code` | string | OpenSCAD parametric code that generates the model |
|
| 45 |
+
| `3d_glb` | string | Path reference to the rendered `.glb` 3D model file |
|
| 46 |
+
|
| 47 |
+
## Usage
|
| 48 |
+
|
| 49 |
+
```python
|
| 50 |
+
from datasets import load_dataset
|
| 51 |
+
|
| 52 |
+
ds = load_dataset("prithivMLmods/OpenSCAD-Code-to-GLB")
|
| 53 |
+
print(ds['train'][0])
|
| 54 |
+
```
|
| 55 |
+
|
| 56 |
+
## Source Dataset
|
| 57 |
+
|
| 58 |
+
This dataset is derived from [CodeCAD-HF-v2](https://huggingface.co/datasets/prithivMLmods/CodeCAD-HF-v2).
|
| 59 |
+
|
| 60 |
+
## License
|
| 61 |
+
|
| 62 |
+
Please refer to the original [CodeCAD paper](https://dl.acm.org/doi/10.1145/3770855.3817592) for source data license terms.
|