mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-06 14:37:36 -06:00

* Wiki + Readme: MD, security and improvements Standardized MD GitHub Wiki format Removed outdated and malicious links Modularized calibrations Suggested calibration order added Minor bug fixes Image improvements and corrections Added winget commands Completed previous WIPs Added new WIPs Removed obsolete references Visual Changes Co-Authored-By: Noisyfox <timemanager.rick@gmail.com> Co-Authored-By: dewi-ny-je <2866139+dewi-ny-je@users.noreply.github.com> Co-Authored-By: Nico Domino <7415984+ndom91@users.noreply.github.com> Co-Authored-By: Martin Ulmschneider <7497782+mulmschneider@users.noreply.github.com> Co-Authored-By: Rodrigo <162915171+RF47@users.noreply.github.com> * MD Indentation + images update --------- Co-authored-by: Noisyfox <timemanager.rick@gmail.com> Co-authored-by: dewi-ny-je <2866139+dewi-ny-je@users.noreply.github.com> Co-authored-by: Nico Domino <7415984+ndom91@users.noreply.github.com> Co-authored-by: Martin Ulmschneider <7497782+mulmschneider@users.noreply.github.com> Co-authored-by: Rodrigo <162915171+RF47@users.noreply.github.com>
38 lines
No EOL
1.1 KiB
Markdown
38 lines
No EOL
1.1 KiB
Markdown
# Auxiliary Fan
|
|
|
|
OrcaSlicer use `M106 P2` command to control auxiliary cooling fan.
|
|
|
|
If you are using Klipper, you can define a `M106` macro to control the both normal part cooling fan and auxiliary fan and exhaust fan.
|
|
Below is a reference configuration for Klipper.
|
|
|
|
> [!NOTE]
|
|
> Don't forget to change the pin name to the actual pin name you are using in the configuration
|
|
|
|
```ini
|
|
# instead of using [fan], we define the default part cooling fan with [fan_generic] here
|
|
# this is the default part cooling fan
|
|
[fan_generic fan0]
|
|
pin: PA7
|
|
cycle_time: 0.01
|
|
hardware_pwm: false
|
|
|
|
# this is the auxiliary fan
|
|
# comment out it if you don't have auxiliary fan
|
|
[fan_generic fan2]
|
|
pin: PA8
|
|
cycle_time: 0.01
|
|
hardware_pwm: false
|
|
|
|
# this is the exhaust fan
|
|
# comment out it if you don't have exhaust fan
|
|
[fan_generic fan3]
|
|
pin: PA9
|
|
cycle_time: 0.01
|
|
hardware_pwm: false
|
|
|
|
[gcode_macro M106]
|
|
gcode:
|
|
{% set fan = 'fan' + (params.P|int if params.P is defined else 0)|string %}
|
|
{% set speed = (params.S|float / 255 if params.S is defined else 1.0) %}
|
|
SET_FAN_SPEED FAN={fan} SPEED={speed}
|
|
``` |