estimate_mesh_print_time
Estimate rough 3D print time directly from mesh or CAD files before slicing, using layer height and print speed to return planning ranges.
Instructions
Rough print time estimate from mesh geometry (STL/OBJ/GLB; a STEP file is converted first).
Divides the plastic the part needs by the rate a print head lays
it down, plus per-layer overhead. It is a planning figure for a
printer it is not told about: ``range_seconds`` is how far a real
slice has sat from it, and the printer is most of that spread.
Unlike estimate_print_time (which slices the part with the
printer's profile, and is the real answer when a slicer is
installed), this works directly on mesh files before slicing.
:param file_path: Path to a mesh (.stl, .obj, .glb, .3mf) or a CAD
file (.step, .stp), which is converted automatically.
:param layer_height_mm: Layer height for slicing.
:param print_speed_mm_s: Average print speed in mm/s.
:param material: Material hint (affects per-layer overhead).
:returns: Dict with estimated time, its range, layer count,
deposited plastic, assumptions, and note.
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": "estimate_mesh_print_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material | No | Material hint (affects per-layer overhead). Default: "pla". | |
| file_path | Yes | Path to a mesh (.stl, .obj, .glb, .3mf) or a CAD file (.step, .stp), which is converted automatically. | |
| layer_height_mm | No | Layer height for slicing. Default: 0.2. | |
| print_speed_mm_s | No | Average print speed in mm/s. Default: 60.0. |