Skip to main content

Thingi10k: A dataset of 10,000 3D-printable models

Project description

Thingi10K Dataset

Thingi10K Poster

Thingi10K is a large scale 3D dataset created to study the variety, complexity and quality of real-world 3D printing models. We analyze every mesh of all things featured on Thingiverse.com between Sept. 16, 2009 and Nov. 15, 2015. On this site, we hope to share our findings with you.

In a nutshell, Thingi10K contains...

  • 10,000 models
  • 4,892 tags
  • 2,011 things
  • 1,083 designers
  • 72 categories
  • 10 open source licenses
  • 7+ years span
  • 99.6% .stl files
  • 50% non-solid
  • 45% with self-intersections
  • 31% with coplanar self-intersections
  • 26% with multiple components
  • 22% non-manifold
  • 16% with degenerate faces
  • 14% non-PWN
  • 11% topologically open
  • 10% non-oriented

Thingi10K is created by Qingnan Zhou and Alec Jacobson.

Raw dataset

You can download the raw dataset from one of the following mirrors: NYU Box, Hugging Face, Google Drive.

One can also obtain the dataset via the thingi10k Python package. It contains both geometric and contextual data extracted from the raw dataset, and provides a convenient API to access and filter the dataset.

Usage

In addition to the raw dataset, we provide a Python package thingi10k to facilitate easy access to the dataset. The package provides functions to download, filter, and load the dataset.

Installation

pip install thingi10k

Simple usage

# /// script
# requires-python = ">=3.10"
# dependencies = [
#   "thingi10k",
# ]
# ///

import thingi10k

thingi10k.init() # Download the dataset and update cache

# Loop through all entries in the dataset
for entry in thingi10k.dataset():
    file_id = entry['file_id']
    author = entry['author']
    license = entry['license']
    vertices, facets = thingi10k.load_file(entry['file_path'])
    # Do something with the vertices and facets

help(thingi10k) # for more information

Filtering the dataset

The thingi10k.dataset() function provides a convenient way to filter the dataset based on various geometric and contextual criteria. The function returns an iterator over the filtered entries. For numeric filters, you can specify ranges using tuples where (min, max) sets both bounds, (None, max) sets only an upper bound, and (min, None) sets only a lower bound. The following are some examples of filtering the dataset:

The example below demonstrates how to iterate over models in the Thingi10K dataset that are closed and have at most 100 vertices.

for entry in thingi10k.dataset(num_vertices=(None, 100), closed=True):
    vertices, facets = thingi10k.load_file(entry['file_path'])

The following example shows how to filter and iterate over models that are licensed under Creative Commons.

for entry in thingi10k.dataset(license='creative commons'):
    vertices, facets = thingi10k.load_file(entry['file_path'])

This example illustrates how to iterate over models that are solid, consist of a single component, and have no self-intersections.

for entry in thingi10k.dataset(num_components=1, self_intersecting=False, solid=True):
    vertices, facets = thingi10k.load_file(entry['file_path'])

Please see help(thingi10k.dataset) for all available filtering options.

Dataset variants

Thingi10K provides two variants of the dataset: npz and raw.

  • npz variant contains the geometry (vertex and facet arrays) in NumPy arrays. It is faster to download and no mesh parsing is necessary.
  • raw variant contains the raw mesh files (STL, OBJ, etc.) in their original format. It is slower to download and requires parsing to extract geometric data.

By default, thingi10k.init() will download the npz variant. To download the raw variant:

thingi10k.init(variant='raw')

Caching the dataset

By default, thingi10k.init() will cache the dataset in a local directory. Any subsequent calls to thingi10k.init() will use the cached dataset and incur no additional download cost. The cache directory can be explicitly specified by user:

thingi10k.init(cache_dir="path/to/.thingi10k")

To force a re-download of the dataset:

thingi10k.init(force_redownload=True)

License

The source code for organizing and filtering the Thingi10K dataset is licensed under the Apache License, Version 2.0. Each "thing" in the dataset is licensed under different licenses. Please refer to the license field associated with each entry in the dataset.

Errata

The following models are known to be "corrupt." However, we decide to still include them in our dataset in order to faithfully reflect mesh qualities on Thingiverse.

  • Model 49911 is truncated (ASCII STL).
  • Model 74463 is empty.
  • Model 286163 is empty.
  • Model 81313 contains NURBS curves and surfaces instead of polygonal faces, which may not be supported by many OBJ parsers.
  • Model 77942 is corrupt (binary STL).

Acknowledgements

This project is funded in part by NSF grants CMMI-11-29917, IIS-14-09286, and IIS-17257.

We thank Marcel Campen, Chelsea Tymms, and Julian Panetta for early feedback and proofreading. We also thank Neil Dickson for pointing out corrupt models, and Nick Sharp for pointing out bugs in download script. Lastly, we thank Silvia Sellán and Yun-Chun Chen for discussion and suggestion on hosting the dataset.

Cite us

@article{Thingi10K,
  title={Thingi10K: A Dataset of 10,000 3D-Printing Models},
  author={Zhou, Qingnan and Jacobson, Alec},
  journal={arXiv preprint arXiv:1605.04797},
  year={2016}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

thingi10k-1.2.1-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file thingi10k-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: thingi10k-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 16.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for thingi10k-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d9323a8a2467b3508831c8d651468fd20a50c4f9ee43356f231479fcf21d2c3c
MD5 7fc96ec6d80c6de2d310d5b199a2d365
BLAKE2b-256 e4deea8151b59c4ed521088de263ddc4cd39c81b3bb78cf76af7425678f3950a

See more details on using hashes here.

Provenance

The following attestation bundles were made for thingi10k-1.2.1-py3-none-any.whl:

Publisher: deploy.yml on Thingi10K/Thingi10K

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page