Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/tehniemer/klippain
Browse files Browse the repository at this point in the history
  • Loading branch information
tehniemer committed Feb 6, 2025
2 parents 4985374 + 6212fe7 commit 960b72e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Klippain will work out of the box with most slicers on the market and your profi
|[PrusaSlicer](https://github.com/prusa3d/PrusaSlicer)|`START_PRINT EXTRUDER_TEMP={first_layer_temperature[initial_extruder]} BED_TEMP=[first_layer_bed_temperature] MATERIAL=[filament_type] SIZE={first_layer_print_min[0]}_{first_layer_print_min[1]}_{first_layer_print_max[0]}_{first_layer_print_max[1]} INITIAL_TOOL={initial_extruder}`|

In addition, there are a few other optional parameters that are supported in Klippain (they must be added on the same line after the first parameters):
- `CHAMBER=[chamber_temperature]` *(for SuperSlicer and OrcaSlicer)* or `CHAMBER=[idle_temperature]` *(for PrusaSlicer)* to set a target heatsoak temperature during the START_PRINT sequence.
- `CHAMBER=[chamber_temperature]` to set a target heatsoak temperature during the START_PRINT sequence.
- `TOTAL_LAYER=[total_layer_count]` to be able to set the PRINT_STATS_INFOS in Klipper. If you use this, you will also need to add the corresponding `SET_PRINT_STATS_INFO CURRENT_LAYER={layer_num}` to your slicer custom layer change gcode.
- `TOOLS_USED=!referenced_tools!` *(only for MMU users)* is highly recommended to check only the used tools with the HappyHare [Moonraker gcode preprocessor](https://github.com/moggieuk/Happy-Hare/blob/main/doc/gcode_preprocessing.md).
- `CHECK_GATES=0` or `1` *(only for MMU users)* that will override the corresponding variable defined in Klippain `variables.cfg` for this specific print.
Expand Down
6 changes: 3 additions & 3 deletions macros/helpers/nozzle_cleaning.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ gcode:

# Retract
G92 E0
G1 E-{RETRACT*0.1} F2100
G1 E-({RETRACT}-{RETRACT*0.1}) F150
G1 E-{RETRACT * 0.1} F2100
G1 E-{RETRACT - (RETRACT * 0.1)} F150
G92 E0

# Wait some time to let the nozzle ooze before cleaning
Expand Down Expand Up @@ -182,4 +182,4 @@ gcode:
{% endif %}

RESTORE_GCODE_STATE NAME=CONDITIONAL_MOVE_TO_PURGE_BUCKET_STATE
{% endif %}
{% endif %}

0 comments on commit 960b72e

Please sign in to comment.