File size: 2,042 Bytes
f997217
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a09e5de
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f997217
1c2b28c
49106ec
 
1c2b28c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
---
dataset_info:
  features:
  - name: Prompt
    dtype: string
  - name: Code
    dtype: string
  - name: 3d_glb
    dtype: string
  splits:
  - name: train
    num_bytes: 18539595
    num_examples: 4795
  download_size: 6184192
  dataset_size: 18539595
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
license: other
task_categories:
- text-to-3d
language:
- en
tags:
- 3d
- text
- open-scad
- cad
- glb
- code
pretty_name: OpenSCAD
size_categories:
- 1K<n<10K
---

<video video controls loop muted plays inline preload="metadata" width="100%" src="https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/RRuZGeflw3_Bn0ZVeuyUK.mp4"></video>

## **OpenSCAD-Code-to-GLB**

## Dataset Description

**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.

## Dataset Statistics

| Property | Value |
|----------|-------|
| Split | Train |
| Number of Rows | 4,795 |
| Total Size | 437 MB |
| Format | Parquet |
| Modalities | 3D, Text |

## Dataset Structure

| Column | Type | Description |
|--------|------|-------------|
| `Prompt` | string | Natural language description of the 3D model |
| `Code` | string | OpenSCAD parametric code that generates the model |
| `3d_glb` | string | Path reference to the rendered `.glb` 3D model file |

## Usage

```python
from datasets import load_dataset

ds = load_dataset("prithivMLmods/OpenSCAD-Code-to-GLB")
print(ds['train'][0])
```

## Source Dataset

This dataset is derived from [CodeCAD-HF-v2](https://huggingface.co/datasets/prithivMLmods/CodeCAD-HF-v2).

## License

Please refer to the original [CodeCAD paper](https://dl.acm.org/doi/10.1145/3770855.3817592) for source data license terms.