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.
![image](https://private-user-images.githubusercontent.com/16300780/371908130-6bb79d56-9940-46cf-b998-7d29c49bc928.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NzA3MjMsIm5iZiI6MTczOTU3MDQyMywicGF0aCI6Ii8xNjMwMDc4MC8zNzE5MDgxMzAtNmJiNzlkNTYtOTk0MC00NmNmLWI5OTgtN2QyOWM0OWJjOTI4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDIyMDAyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ0OTdhOGRjOTBlOGVmYmE3ZDA4ZGFlYWQ0Mjc1ZmMyM2ZmNDNjNzI0MzIzMzAzYmJmNWNiYTUzYmZjMjQ2NmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.XF51TvQBT461GBMStIj_3QcvqvaI6aNOp48jYAuKj8M)
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.