apply_material_to_cut
Copies material-library mode and layer parameters onto a target cut selected by GUID or material name and thickness, reporting skipped machine blocks.
Instructions
Requires capabilities "project" and "project_write". Copies a material library entry (mode and base-layer params, plus sub-layer values for sub-layers the target cut already has) onto a cut entry. Select the entry by entry_guid, or by material name (case-insensitive) and optional thickness. Refuses when several entries match, when the entry has more sub-layers than the target, or when kinds differ. A machine block (galvo/gantry) that does not match the target profile is skipped and reported.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Flat index of the target cut from get_cuts. | |
| material | No | Material name as shown in the library. | |
| thickness | No | Material thickness to disambiguate. | |
| entry_guid | No | Library entry guid from get_material_library. |