record_decoration_success
Record a successful print with a saved decoration (Kiln Pro).
Instructions
Record a successful print with a saved decoration (Kiln Pro).
After a decoration prints well, call this with the settings that
worked. ``apply_decoration`` then replays them on that material.
:param name: Decoration name or slug.
:param material: Material used (e.g. ``"PLA"``, ``"PETG"``).
:param depth_mm: Depth in mm that printed well.
:param mode: ``"emboss"`` or ``"deboss"``.
:param image_style: Image style that worked (e.g. ``"coin"``).
:param source_job_id: The print's job id when known: the same
print reported twice (here and through
``record_print_outcome``) counts once.
:returns: Dict with the updated decoration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Default: "emboss". | |
| name | Yes | ||
| depth_mm | Yes | ||
| material | Yes | ||
| image_style | No | Default: "auto". | |
| source_job_id | No | Default: "". |