set_purge_volumes
Adjust purge (flush) volumes by single pairs, full matrix, or multiplier to reduce filament waste and control color mixing in Bambu Studio projects.
Instructions
Change the purge (flush) volumes, as in Bambu Studio's Purging volumes dialog. volumes: [{"from": 1, "to": 2, "volume": 350}, ...] mm³ for single changes; matrix: every value at once, rows = from, columns = to (the diagonal is ignored); multiplier: scales all of them (0..3, 1 = as written); reset: back to the values estimated from the colors and multiplier 1. A value set by hand stays while both slots keep their color. Values are 0..900 mm³. Less purge saves filament but the new color can come out mixed at first; to waste less without that, purge into the infill or into an object with set_setting('flush_into_infill', '1') or set_object_setting(object, 'flush_into_objects', '1').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reset | No | ||
| matrix | No | ||
| volumes | No | ||
| multiplier | No |