Datasets:
File size: 3,139 Bytes
a9214a8 5d07040 7ff428c 5d07040 622c1c3 5d07040 6dfec4b 5d07040 622c1c3 5d07040 | 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 | ---
size_categories:
- 10K<n<100K
pretty_name: OpenSCAD
tags:
- 3d
- text
- open-scad
- cad
- glb
- code
- hf
license: other
task_categories:
- text-to-3d
language:
- en
---
<video video controls loop muted plays inline preload="metadata" width="100%" src="https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/izRKAhxKZfd824q0hgYU_.mp4"></video>
## **OpenSCAD-Code-to-3D-ZIP**
**OpenSCAD-Code-to-3D-ZIP** is a raw ZIP archive derived from [CodeCAD-HF-v2](https://huggingface.co/datasets/prithivMLmods/CodeCAD-HF-v2). It contains the dataset and rendered GLB (GL Transmission Format Binary) 3D model assets generated from OpenSCAD parametric code. The archive preserves the original dataset records and their associated 3D assets in a single ZIP file, allowing users to download and extract the contents for dataset processing, file mapping, and 3D model access. The archive contains **~53,172 mapped data entries**, corresponding to the same number of rows as the associated dataset.
The Hugging Face dataset in Parquet format is available here: [OpenSCAD-Code-to-3D-HF](https://huggingface.co/datasets/prithivMLmods/OpenSCAD-Code-to-3D-HF). This repository provides the corresponding structured dataset, while this repository contains the raw ZIP archive with the dataset and GLB assets. The OpenSCAD code-to-GLB conversion infrastructure is powered by Hugging Face and HF Jobs, enabling the conversion of OpenSCAD parametric code into rendered GLB 3D model assets.
## Dataset Statistics
| Property | Value |
|----------|-------|
| Dataset Repository | `prithivMLmods/OpenSCAD-Code-to-3D-ZIP` |
| Number of Rows | ~53,172 |
| Archive Format | ZIP |
| Archive Filename | `task_c3b07e9bd6_20261013_010039_dataset_and_glb.zip` |
| Data Type | Raw dataset and GLB assets |
| Modalities | Text, 3D |
## Dataset Contents
The ZIP archive contains the raw dataset and associated GLB 3D model files.
| Component | Description |
|-----------|-------------|
| Dataset records | Natural language prompts and corresponding OpenSCAD parametric code |
| GLB assets | Rendered 3D model files associated with dataset records |
| File references | Paths used to identify and map dataset records to their corresponding GLB files |
## Usage
Download the ZIP archive from the [OpenSCAD-Code-to-3D-ZIP dataset repository](https://huggingface.co/datasets/prithivMLmods/OpenSCAD-Code-to-3D-ZIP) and extract its contents.
```python
import zipfile
zip_path = "task_c3b07e9bd6_20261013_010039_dataset_and_glb.zip"
extract_dir = "openscad_dataset"
with zipfile.ZipFile(zip_path, "r") as archive:
archive.extractall(extract_dir)
print(f"Extracted dataset and GLB assets to: {extract_dir}")
```
After extraction, inspect the directory structure to locate the dataset file and GLB assets. File mapping can be performed using the dataset's GLB path references.
## 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. |