build_material_overrides
Resolve a material or product into printer-specific slicer overrides for temperature, melt rate, and cooling, so you can inspect or pin them during reslicing.
Instructions
The slicer settings a material gets on a printer: temperatures, melt rate, cooling.
Every slicing door applies these itself when it is told the material --
``material=`` on ``slice_model``, ``slice_and_print``,
``reslice_with_overrides``, ``run_quick_print``, ``run_reslice_and_print``
and ``kiln slice`` -- so naming the material is all a slice needs. This
tool shows what that will be and why, from the same resolver
(:mod:`kiln.slicer_material`): a product's own figures when you name one
(``"bambu_tpu_95a"``), else Kiln's settings for the material on this
printer, else the middle of the material's range, never above what the
printer is rated for. The melt-rate ceiling
(``filament_max_volumetric_speed``) slows every feature of the print to
suit the material, the outer wall and the first layer included.
Its ``overrides`` can still be passed to ``reslice_with_overrides`` to
pin them; a setting passed that way is the caller's, and a slice leaves
it alone.
Example::
build_material_overrides("tpu", "bambu_a1")
# overrides: temperature 225, bed_temperature 50, max_fan_speed 50, ...
Args:
material_id: Material (``"petg"``, ``"tpu"``, ``"PA-CF"``) or a
product (``"bambu_tpu_95a"``).
printer_id: Printer model, for its own settings and limits.
Omitted, the material's own.
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": {
"material_id": "<material_id>"
},
"name": "build_material_overrides"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| printer_id | No | Printer model, for its own settings and limits. Omitted, the material's own. | |
| material_id | Yes | Material (``"petg"``, ``"tpu"``, ``"PA-CF"``) or a product (``"bambu_tpu_95a"``). |