run_speed_schedule
Run, report or stop a layer-based speed schedule on this computer.
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.
Only the schedule's shape is checked here. Which speeds suit this
printer and which layers a speed is unsafe on is decided by Kiln's
served ``set_speed_schedule``, which hands the checked schedule here.
Args:
schedule: The segments to run (``action="run"`` only).
printer_name: Which printer. Omit for the default printer.
action: ``"run"`` (default), ``"status"`` or ``"stop"``.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Default: "run". | |
| schedule | No | ||
| printer_name | No |