Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Air Filtration Support for BBL P1S, X1, X1C #7087

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

ichisaur
Copy link

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

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 the support_air_filtration flag set to 0 in the fdm_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.

Copy link
Owner

@SoftFever SoftFever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thank you

@SoftFever SoftFever merged commit a52ce89 into SoftFever:main Oct 22, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Filament Setting: Exhaust Fan - Overridden by Start G-code
2 participants