Prepare a print
prepare_printConverts raw STL or geometry-only 3MF files into print-ready Bambu projects by choosing orientation, material, supports, and slicing, then returns the resulting .3mf plus time and weight.
Instructions
Turn an STL (or geometry-only 3MF) into a print-ready Bambu project in one call: analysis, best orientation, material presets, build plate, supports and brim when needed, copies arranged, then slice. Returns time, weight, the decisions made, warnings and the result.3mf (under output/). Use it for raw models; for a complete Bambu project use optimize or slice_model instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | Print goal for the settings. | balanced |
| copies | No | Number of copies of each model, arranged on the plate. | |
| models | Yes | Absolute paths of the STL or 3MF files. | |
| bed_type | No | Build plate, e.g. "Textured PEI Plate", "Cool Plate", "High Temp Plate". Omit for the usual plate when the filament suits it. | |
| filament | No | Exact filament preset chosen by the user; overrides the material's default. | |
| material | No | Material name, e.g. "PLA", "PETG". | PLA |
| supports | No | "auto": supports only when overhangs need them. | auto |
| orientation | No | "auto": best orientation from analyze_model; "as_is": keep the file's. | auto |
| extra_settings | No | Extra print settings, as Bambu strings: {"brim_type": "no_brim"}. |