export_model_3mf
Convert STL, OBJ, or GLB mesh files to 3MF format for compatibility with PrusaSlicer, OrcaSlicer, and Bambu Studio. Outputs a compact 3MF file with metadata support.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| output_path | No |