Skip to content

Macros to use M106 and M191 with Nevermore

Air Filtration Settings in OrcaSlicer under Cooling "Exhaust Fan"

[gcode_macro M106]
rename_existing: M106.0
gcode:
  {% set nevermore = params.P == "3" %}
  {% if nevermore %}
    SET_FAN_SPEED FAN="nevermore" SPEED={(params.S | float)/255.0}
  {% else %}
    M106.0 {rawparams}
  {% endif %}

Chamber Temperature Setting in OrcaSlicer under "Filament"

[gcode_macro M191]
gcode:
  {% set min = params.S|float %}
  ;; From Heat-Soak Macro
  ;; fire up the heater
  SET_HEATER_TEMPERATURE HEATER=heater_bed TARGET=105
  ;; run the fans to circulate air
  _FAN_SOAK
  ;; home the printer
  G28
  ;; put the bed and nozzle where they're a safe distance apart
  G90
  G1 X60 Y60 Z80
  TEMPERATURE_WAIT SENSOR="temperature_sensor bme680" MINIMUM={min}