prithivMLmods's picture
Update README.md
103803d verified
|
Raw History Blame Contribute Delete
3.4 kB
---
license: other
task_categories:
- text-to-3d
modalities:
- 3d
- text
tags:
- 3d
- openscad
- cad
- glb
- mesh
- code-to-3d
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
language:
- en
pretty_name: OpenSCAD
size_categories:
- 10K<n<100K
---
# **OpenSCAD-Code-to-3D-50K-HF**
**OpenSCAD-Code-to-3D-50K-HF** is a curated and cleaned 3D code-generation dataset derived from [CodeCAD-HF-v2](https://huggingface.co/datasets/prithivMLmods/CodeCAD-HF-v2). It contains natural language prompts, corresponding OpenSCAD parametric code, and rendered 3D mesh representations in GLB (GL Transmission Format Binary).
The dataset has been cleaned and curated, with an additional `Mesh` feature introduced to provide directly accessible 3D representations of the generated models. Each OpenSCAD code sample was precisely inspected and converted into a GLB mesh by **[prithivMLmods](https://huggingface.co/prithivMLmods)**.
The embedded mesh feature enables interactive 3D visualization directly through the Hugging Face Dataset Viewer, making the dataset suitable for 3D code generation, parametric modeling, and multimodal 3D research.
## Dataset Statistics
| Property | Value |
| :--- | :--- |
| Split | Train |
| Total Curated Rows | 53,170 |
| Format | Parquet |
| Modalities | Text, Code, 3D Mesh |
| Mesh Format | GLB |
| Features | Prompt, Code, Mesh |
## Dataset Structure
| Column | Type | Description |
| :--- | :--- | :--- |
| `Prompt` | `string` | Natural language description of the 3D model |
| `Code` | `string` | OpenSCAD parametric code that generates the model |
| `Mesh` | `Mesh` (`.glb`) | Embedded 3D GLB mesh binary with interactive 3D viewer support |
## Key Features
- **Curated and Cleaned:** Contains 53,170 curated records with cleaned OpenSCAD code and corresponding 3D representations.
- **Code-to-Mesh Conversion:** OpenSCAD code was precisely inspected and converted into GLB mesh files by prithivMLmods.
- **Embedded Mesh Feature:** Includes a dedicated `Mesh` column containing GLB binary data.
- **Interactive 3D Visualization:** Supports direct 3D mesh visualization through the Hugging Face Dataset Viewer.
- **Text-to-3D Association:** Each record connects a natural language prompt, OpenSCAD implementation, and its resulting 3D geometry.
## Usage
```python
from datasets import load_dataset
ds = load_dataset(
"prithivMLmods/OpenSCAD-Code-to-3D-50K-HF",
split="train"
)
print(ds[0])
# Access individual features
prompt = ds[0]["Prompt"]
code = ds[0]["Code"]
mesh = ds[0]["Mesh"]
```
## Source Dataset
This dataset is derived from [CodeCAD-HF-v2](https://huggingface.co/datasets/prithivMLmods/CodeCAD-HF-v2), with additional curation, cleaning, and OpenSCAD-to-GLB mesh conversion.
## Processing and Curation
The OpenSCAD source code was precisely inspected and converted into corresponding GLB 3D mesh representations by **[prithivMLmods](https://huggingface.co/prithivMLmods)**. The resulting mesh data is integrated directly into the dataset as an embedded `Mesh` feature rather than being maintained as a separate file-path reference.
## License
Please refer to the original [CodeCAD paper](https://dl.acm.org/doi/10.1145/3770855.3817592) for information regarding the source dataset and its licensing terms.
## Release Information
- **Dataset Release Date:** November 16, 2026
- **Dataset Version:** 1.0