regenerate_3mf_thumbnail
Replace a 3MF file's embedded thumbnails with renders of a decorated STL so Bambu printer screens display the applied decoration.
Instructions
Swap the embedded thumbnails in a 3MF for renders of a decorated STL so the Bambu screen shows the decoration (Pro).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"three_mf_path": "<three_mf_path>",
"decorated_stl_path": "<decorated_stl_path>"
},
"name": "regenerate_3mf_thumbnail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | Hex colour for the STL render. Defaults to white. Default: "#FFFFFF". | |
| output_path | No | Where to write the re-thumbnailed 3MF. Empty = ``{three_mf_path}_with_thumbnails.3mf``. Default: "". | |
| three_mf_path | Yes | Source 3MF (typically the engine's transformed_resume_path). | |
| decorated_stl_path | Yes | STL whose render becomes the 3MF's thumbnail PNGs. Typically the ``stl_path`` from a prior ``preview_decorated_mesh`` call. |