File size: 1,344 Bytes
8e5987b
 
 
5960609
8e5987b
ed3e5d4
 
 
 
 
 
 
 
 
930057d
 
 
 
 
 
 
 
 
 
 
9a205ef
930057d
9a205ef
 
 
 
 
 
 
 
 
 
 
8e5987b
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
---
task_categories:
- image-to-3d
license: gpl-3.0
---
# PrimitiveAnything

<p align="center">
    📃 <a href="https://arxiv.org/abs/2505.04622" target="_blank">Paper</a> • 💻 <a href="https://github.com/PrimitiveAnything/PrimitiveAnything" target="_blank">[Github Repo]</a> • 🌐 <a href="https://primitiveanything.github.io/" target="_blank">Project Page</a>
</p>

This repository contains the test dataset presented in the paper [PrimitiveAnything: Human-Crafted 3D Primitive Assembly Generation with Auto-Regressive Transformer](https://arxiv.org/abs/2505.04622).

**PrimitiveAnything** is a novel framework to decompose complex shapes into 3D primitive assemblies via the auto-regressive transformer.

## Structure
- `basic_shapes_norm`
- `basic_shapes_norm_pc10000`
- `demo_glb`: Demo GLB models
- `test_pc`: Test point clouds

## Usage
You can download the files directly from this repository or use the Hugging Face datasets library:

```python
from huggingface_hub import hf_hub_download, list_repo_files

# Get list of all files in repo
files = list_repo_files(repo_id="hyz317/PrimitiveAnything", repo_type="dataset")

# Download each file
for file in files:
    file_path = hf_hub_download(
        repo_id="hyz317/PrimitiveAnything",
        filename=file,
        repo_type="dataset",
        local_dir='./data'
    )
```