Apply config and slice
apply_and_sliceApply config overrides and slice in one atomic call, returning stats and warnings. Instantly test tweaks without saving, since changes revert when the preset is reselected.
Instructions
Apply config overrides and then slice in one step, returning {applied, errors, result} with the resulting stats and warnings. The changes are atomic (any invalid key rejects the whole batch) and unsaved, exactly like set_config, so they revert if the preset is reselected.
Use this to test the effect of a tweak in a single call. Use set_config then slice_and_wait to keep the steps separate, or compare_settings to try several values of one key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes | Map of OrcaSlicer config key to new value to apply before slicing, e.g. {'layer_height': 0.2}. Same format and validation as set_config; discover keys with search_settings or find_config_keys. |