SoftFever a52ce89925
Enable Air Filtration Support for BBL P1S, X1, X1C (#7087)
# 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://github.com/user-attachments/assets/6bb79d56-9940-46cf-b998-7d29c49bc928)

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.
<!--
> Please provide a summary of the changes made in this PR. Include
details such as:
  > * What issue does this PR address or fix?
  > * What new features or enhancements does this PR introduce?
> * Are there any breaking changes or dependencies that need to be
considered?
-->

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.
<!--
> Please provide a summary of the changes made in this PR. Include
details such as:
  > * What issue does this PR address or fix?
  > * What new features or enhancements does this PR introduce?
> * Are there any breaking changes or dependencies that need to be
considered?
-->

# Screenshots/Recordings/Graphs

<!--
> Please attach relevant screenshots to showcase the UI changes.
> Please attach images that can help explain the changes.
-->

## 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.
2024-10-22 22:29:21 +08:00
..
2023-07-07 17:25:51 +08:00
2024-03-02 14:10:13 +08:00
2023-12-01 10:42:45 +00:00
2024-10-03 23:36:38 +08:00
2023-09-08 00:41:23 +08:00