plan_multi_copy_split
Plan how many copies of one part each registered 3D printer can take now and on later plates, then queue the run across printers once approved.
Instructions
Plan many copies of one part across your printers, wherever there is safe room.
Requires Kiln Business. Kiln reads every registered printer's
plate as it stands and works out how many copies each printer
takes now -- an empty plate filled, an occupied one filled
beside what is already there -- and how many follow as later
plates once a plate is cleared. A printer marked needs repair,
a plate nobody has looked at, or a plate with no room takes
none, and says why. By default the faster printers take more,
so the run ends as soon as it can; ``share="even"`` gives every
printer the same share. The plan says when the run ends both
ways, and how many more plates finishing sooner leaves to clear.
Below Kiln Business, copies print on one printer with
``multi_copy_print(fill=True)``, plate after plate.
Two steps. Call it with the part (STL, 3MF or OBJ) and how many
copies: it answers ``plan_id``, the plan per printer, and
``picture``, a top-down map of every plate. AGENT DISPLAY
CONTRACT: show ``picture`` to the person before anything is
queued, and say ``message``. When they say go, call it again
with the same ``file_path`` and ``copies``, ``plan_id`` and
``submit=True`` (and ``preview_token``): one job per printer is
queued, printers run side by side, each waits for its plate to
be clear, and later plates follow on the same printer. Follow
the run with ``split_plan_status(plan_id)``; stop it with
``cancel_split_plan(plan_id)``.
Args:
file_path: The part, as a mesh (STL, 3MF or OBJ).
copies: How many copies in all.
material: The filament (default ``"pla"``).
plan_id: The plan to queue, from the first call.
submit: Queue the plan named by ``plan_id``.
preview_token: The person's yes for the part, when submitting.
quality: "draft", "standard" or "fine".
priority: "low", "normal" or "high".
share: "soonest" (the default) or "even".
mixed_nozzle_experiment: The person has said yes, for this print, to a slice refused
with ``MULTI_NOZZLE_MIXED_SIZES`` (nozzles of different sizes at once, an
experiment). Only on their yes, each time; ``slice_model`` says what follows.
soft_nozzle_confirmed: When submitting: the owner has said to
print anyway a plate refused with ``ABRASIVE_ON_SOFT_NOZZLE``
(an abrasive filament through a nozzle on record that is
not wear-resistant). Every queued plate carries it. Only
on their word, never on your own judgement.
filament_map: When submitting, for printers with more than one
nozzle: the nozzle (1 for the first) each filament prints
from, one number per filament. Every queued plate is
sliced with it.
keep_record: ``False`` only when the person asks for these prints
not to be kept ("print this privately", "don't keep a record of
this"); never suggest it. Kiln then keeps nothing of them, or of
the plan, once they end. Read with ``submit``. Omit otherwise.
speed_by_height: When submitting: speeds for height ranges of the part,
given once for the whole run, as ``slice_model`` takes them -- the
person's own ranges, applied as given on every printer, or ``"kiln"``
for Kiln to choose each printer's own. Each queued job keeps what its
slice made of every range under ``speed_by_height``. A printer whose
slice cannot use the wish is not printed, and its job says why under
``speed_by_height_refused``; the other printers go on.
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>",
"copies": "<copies>"
},
"name": "plan_multi_copy_split"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| share | No | "soonest" (the default) or "even". Default: "soonest". | |
| copies | Yes | How many copies in all. | |
| submit | No | Queue the plan named by ``plan_id``. Default: false. | |
| plan_id | No | The plan to queue, from the first call. | |
| quality | No | "draft", "standard" or "fine". | |
| material | No | The filament (default ``"pla"``). Default: "pla". | |
| priority | No | "low", "normal" or "high". | |
| file_path | Yes | The part, as a mesh (STL, 3MF or OBJ). | |
| keep_record | No | ``False`` only when the person asks for these prints not to be kept ("print this privately", "don't keep a record of this"); never suggest it. Kiln then keeps nothing of them, or of the plan, once they end. Read with ``submit``. Omit otherwise. | |
| filament_map | No | When submitting, for printers with more than one nozzle: the nozzle (1 for the first) each filament prints from, one number per filament. Every queued plate is sliced with it. | |
| preview_token | No | The person's yes for the part, when submitting. | |
| speed_by_height | No | When submitting: speeds for height ranges of the part, given once for the whole run, as ``slice_model`` takes them -- the person's own ranges, applied as given on every printer, or ``"kiln"`` for Kiln to choose each printer's own. Each queued job keeps what its slice made of every range under ``speed_by_height``. A printer whose slice cannot use the wish is not printed, and its job says why under ``speed_by_height_refused``; the other printers go on. | |
| soft_nozzle_confirmed | No | When submitting: the owner has said to print anyway a plate refused with ``ABRASIVE_ON_SOFT_NOZZLE`` (an abrasive filament through a nozzle on record that is not wear-resistant). Every queued plate carries it. Only on their word, never on your own judgement. Default: false. | |
| mixed_nozzle_experiment | No | The person has said yes, for this print, to a slice refused with ``MULTI_NOZZLE_MIXED_SIZES`` (nozzles of different sizes at once, an experiment). Only on their yes, each time; ``slice_model`` says what follows. Default: false. |