estimate_print_progress
Estimate a running 3D print's progress and end time, split into prepare, print, cool, and post-process phases, using elapsed time and layer data or live printer status.
Instructions
Estimate print progress and when the print running now will end.
Breaks a print into phases -- preparing, printing, cooling, and
post-processing -- from how far it has got and how long it has
run. When the printer has finished enough prints Kiln started,
``learned_time_left`` says when this one should end by its own
record (the slicer's time for the file, as this printer really
prints it), beside the printer's own countdown.
Supply ``elapsed_seconds``, ``total_layers``, and ``current_layer``
when available; any omitted values will be read from the printer's
live status.
:param printer_name: Printer running the job.
:param elapsed_seconds: Seconds elapsed since print start. Omit to
read from printer status.
:param total_layers: Total layer count for the job. Omit to read
from printer/G-code metadata.
:param current_layer: Current layer being printed. Omit to read
from printer status.
See also: ``printer_status()``, ``get_print_outcomes()``.
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": {
"printer_name": "<printer_name>"
},
"name": "estimate_print_progress"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| printer_name | Yes | Printer running the job. | |
| total_layers | No | Total layer count for the job. Omit to read from printer/G-code metadata. | |
| current_layer | No | Current layer being printed. Omit to read from printer status. | |
| elapsed_seconds | No | Seconds elapsed since print start. Omit to read from printer status. |