Enable Air Filtration Support for BBL P1S, X1, X1C #7087
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Re-Creation of Pull Request #6964 with X1E changes pulled.
OrcaSlicer includes exhaust fan settings for each filaments, however these settings do not take effect on Bambu Labs machines that include chamber temperature regulation fans.

Further investigation into the g-code files produced reveals that the filament start g-code is responsible for using the air filtration setting and sending the appropriate
M106 P3 S{during_print_exhaust_fan_speed_num[current_extruder]}
command to the printer. However, this command, even with the setting enabled, is never written to the final g-code file.By default, Bambu Lab's filament profiles wrap this command up in
{if activate_air_filtration[current_extruder] && support_air_filtration}
clause, which always evaluates to false. As it turns out, the printer's have thesupport_air_filtration
flag set to0
in thefdm_machine_common.json
file.This change updates that value to
1
in the .json files for the X1, X1C, X1E, and P1S 0.4mm nozzles. This is then inherited to other nozzle sizes and user generated profiles. This is done by simply adding a line"support_air_filtration": "1",
to the .json to override the inherited setting.Fixes #6066
Screenshots/Recordings/Graphs
N/A
Tests
Updated this flag in a custom user config for the printer than tried generating the code file with Air Filtration enabled and set to 70%
The appropriate
M106 P3 S178
appears in the filament start gcode section of the file.Screenshots/Recordings/Graphs
Tests
Updated this flag in a custom user config for the printer than tried generating the code file with Air Filtration enabled and set to 70%
The appropriate
M106 P3 S178
appears in the filament start gcode section of the file.