download_model
Download 3D model files from marketplaces such as Thingiverse to local storage. Select a specific file or download all files for a model.
Instructions
Download model file(s) from a marketplace to local storage.
**Community models are unverified.** Always preview dimensions and
validate the mesh (``validate_generated_mesh``) before printing.
Models with high download counts and positive ratings are generally
safer. AI-generated or untested designs can damage delicate printer
hardware — prefer proven blueprints when possible.
Args:
file_id: Numeric file ID (from ``model_files`` results). If
omitted and ``model_id`` is provided, downloads all files
for the model.
dest_dir: Local directory to save the file in (default:
the system temp directory).
file_name: Override the saved file name (single-file mode only).
Defaults to the original name from the marketplace.
model_id: Model/thing ID. When ``file_id`` is omitted,
all files for this model are downloaded.
source: Marketplace source — ``"thingiverse"`` (default),
``"myminifactory"``, etc.
download_all: When True, downloads all files for the model
regardless of whether ``file_id`` is provided.
After downloading, validate with ``validate_generated_mesh``, then
upload to a printer with ``upload_file`` and print with ``start_print``.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | thingiverse | |
| file_id | No | ||
| dest_dir | No | ||
| model_id | No | ||
| file_name | No | ||
| download_all | No |