suggest_orientation
Ranks print orientations for a 3D model by bed contact, overhang support and height, optionally slicing each option to measure real support filament, total filament and print time.
Instructions
Suggest which way up to print a model, ranked, with what each orientation costs.
The candidates are the model's large flat faces, its six axis directions and the orientation as stored (always
listed, with its rank). Each is scored by the surface it puts on the bed (base_area_mm2, and stable unless that
is under 5% of the model's silhouette from above), the surface leaning past 45 degrees that would need support
(overhang_area_mm2) and the height. Pass the rotate_x and rotate_y of an option to preview_model to look
at it and to slice_model to print it. Overhang area is a rough guide to how much support is needed, not a
measure: orientations within about 10% of each other are effectively tied. The scores are geometry only: they know
nothing about strength, how it looks or the material, so use them to choose, not to decide. With profiles each
option is also sliced with supports on, and measured holds the real support filament, total filament and
estimated time (or why PrusaSlicer refused it); the options are then ranked stable first, then by measured
support, then by time, and geometry_rank keeps the geometric order.
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": {
"model_path": "<model_path>"
},
"name": "suggest_orientation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | How many of the best orientations to return | |
| model_path | Yes | Absolute path to an STL/3MF/OBJ/STEP file (not a PrusaSlicer project) | |
| close_holes | No | Cap flat holes first, as slice_model(close_holes=true) would, so a scan's missing base can be the face it stands on. Without it an open base never counts as a base. | |
| print_profile | No | Exact print profile name, from list_profiles. All three profiles or none. | |
| printer_profile | No | Exact printer profile name, from list_printers. Give all three profiles to also slice each option once with automatic supports and report the real support filament, filament and time (slow: one slice per option, at most 6 options). Omit all three for the geometric scores alone. | |
| material_profile | No | Exact filament profile name, from list_profiles. All three profiles or none. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | Yes | ||
| warnings | Yes | ||
| surface_area_mm2 | Yes |