export_model_3mf
Convert STL, OBJ, or GLB mesh files to 3MF format for modern slicers like PrusaSlicer, OrcaSlicer, and Bambu Studio; a compact ZIP-based XML format that supports metadata.
Instructions
Export a mesh to 3MF format (preferred by modern slicers).
Converts STL/OBJ/GLB to 3MF, a ZIP-based XML format used by
PrusaSlicer, OrcaSlicer, and Bambu Studio. 3MF is more compact
and supports metadata better than STL.
:param file_path: Path to the input mesh file.
:param output_path: Output 3MF path. Auto-generated if empty.
:returns: Dict with the output file path.
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": {
"file_path": "<file_path>"
},
"name": "export_model_3mf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the input mesh file. | |
| output_path | No | Output 3MF path. Auto-generated if empty. Default: "". |