mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-12-04 02:38:05 -05:00
A part, a modifier or a layer range can set its own outer wall, inner wall, sparse infill, internal solid infill, top surface or bottom surface filament. The slicer prints with them, but PartPlate::get_extruders() and get_extruders_under_cli() read these settings only from the print and object configs. A filament that only a part's feature used was missing from the plate's filament list, so on a dual-nozzle printer the custom grouping dialog left it out and Prepare hid the prime tower. Both walks now share a helper that also reads the feature filaments of each part, modifier and layer range. A mixed filament still expands to its components as it does for object settings. A printer switch or a filament delete can leave filament ids past the last slot. The plate now resolves them as the slicer does. An object's, part's or layer range's id counts as filament 1, including a part's own filament. A print-wide id follows PresetBundle::full_config() in the GUI, which resets a feature or brim id to the default and caps a support id at the last slot. From the CLI it follows the slicer, which prints a feature or support id with filament 1. Fixes #17728
OrcaSlicer tests
Building, running and writing tests is documented on the wiki, under How to Test.
Two files here rather than there, because coding agents only read what is in the repository: