run_speed_schedule
Run, report, or stop a layer-based speed schedule on a 3D printer, applying each segment's speed as the print reaches its layers and capping speeds at the nozzle's melt limit.
Instructions
Run, report or stop a layer-based speed schedule on this computer.
A schedule is a list of ``{"from_layer", "to_layer", "speed_percent"}``
segments. With ``action="run"`` it starts on the printer that is
printing now, replacing a schedule already running for that printer:
the printer is asked which layer it is on every few seconds and each
segment's speed is set once, as the print reaches it. It stops on its
own when the print ends, when the printer is found running a different
print, or on ``action="stop"`` (the printer stays at the last speed set).
``action="status"`` reports what has been applied so far.
Here the schedule's shape is checked, and each segment's speed-up is
held to what the running print's file lets the nozzle melt on that
segment's layers: above that it is lowered (never below the sliced
speed) and the answer says so; when that cannot be checked the answer
says that too. Which speeds suit this printer is decided by Kiln's
served ``set_speed_schedule``, which hands the checked schedule here.
Args:
schedule: The segments to run (``action="run"`` only): a list of 1
to 64 ``{"from_layer": int, "to_layer": int, "speed_percent":
int}`` entries, ``speed_percent`` within 10-300.
printer_name: Which printer. Omit for the default printer.
action: ``"run"`` (default), ``"status"`` or ``"stop"``.
past_the_melt_limit: ``True`` (``action="run"`` only) keeps every
segment's speed as asked even past what the nozzle can melt, for
this run only. Pass it only when the person has read the
warning a capped answer gave and still wants the faster speeds.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "run_speed_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | ``"run"`` (default), ``"status"`` or ``"stop"``. Default: "run". | |
| schedule | No | The segments to run (``action="run"`` only): a list of 1 to 64 ``{"from_layer": int, "to_layer": int, "speed_percent": int}`` entries, ``speed_percent`` within 10-300. | |
| printer_name | No | Which printer. Omit for the default printer. | |
| past_the_melt_limit | No | ``True`` (``action="run"`` only) keeps every segment's speed as asked even past what the nozzle can melt, for this run only. Pass it only when the person has read the warning a capped answer gave and still wants the faster speeds. Default: false. |