Configuration - MadD0c/Ananke GitHub Wiki
Printer Setup
The following settings need to be set in your printer.cfg
. If already present please replace with these.
[gcode_macro _usercfg]
# Place all your customized options here. This will prevent them resetting on updates as well make backing up easier. Included is the basics to get your printer setup
# example:
#variable_z_tilt: True # Use Z-Tilt
#variable_qgl: False # Use QGL
#variable_built_sheet: False # Use Build Sheet Auto Z Macro
#variable_filament_offset: False # Use Filament Auto offset adjustment
#variable_smart_park: False # Set to True to enable KAMP Smart Park
#variable_docking_probe: False # Use Docking type probe eg Klicky
#variable_bed_mesh: False # Set to True to enable Autobed Leveling
#variable_cleaning: False # Set to True to enable Nozzel cleaning
#variable_purging: False # Set to True to enable preprint Purging (Separate from Cleaning Purge)
#variable_auto_filament_sensor: False # Filament sensor auto activation
#variable_auto_load: False # Filament auto load on runout
#variable_auto_unload: False # Filament auto unload on runout
#variable_notify_knomi: False # Use KNOMI Display for notifications
#variable_notify_knomi_version: 1 # Use 1 if have origional BTT firmware and 2 if using version 2 or DiverOfDark Firmware
#variable_notify_led: False # Use LED Status macros such as on the stealthburner
#variable_notify_audio: False # Use audio feedback macros
gcode: # This line is required by Klipper.
# Any code you put here will run at klipper startup.
[include Ananke/ananke.cfg]
Then add the following setting to your moonraker.conf
[file_manager]
enable_object_processing: True
After you have restarted both Klipper and Moonraker Ananke will be active.
Slicer Setup
To make use of Ananke's features add these to your slicer profiles. This I have tested and can confirm it is compatible with the Slic3r family (PrucerSlicer, SuperSlicer and OrcaSlicer).
Make sure Labeling Objects
is selected in your slicer's printer profile. This is needed for adaptive meshing as well as for smart purging and
Image from KAMP Repository
In OrcaSlicer also activate Support Multi bed types for the Auto build sheet Macro
Image from OrcaSlicer Wiki
Start G-code
SET_GCODE_VARIABLE MACRO=_printcfg VARIABLE=extruder_temp VALUE={first_layer_temperature[initial_extruder]}
SET_GCODE_VARIABLE MACRO=_printcfg VARIABLE=bed_temp VALUE={first_layer_bed_temperature[initial_extruder]}
SET_GCODE_VARIABLE MACRO=_printcfg VARIABLE=total_layer_count VALUE={total_layer_count}
SET_GCODE_VARIABLE MACRO=_printcfg VARIABLE=nozzle_size VALUE={nozzle_diameter[0]}
SET_GCODE_VARIABLE MACRO=_printcfg VARIABLE=material_type VALUE="'{filament_type[0]}'"
SET_GCODE_VARIABLE MACRO=_printcfg VARIABLE=filter_fan VALUE=False
SET_GCODE_VARIABLE MACRO=_printcfg VARIABLE=use_scrubber VALUE=False
SET_GCODE_VARIABLE MACRO=_printcfg VARIABLE=chamber_temp VALUE="{chamber_temperature[0]}"
SET_GCODE_VARIABLE MACRO=_printcfg VARIABLE=bed_type VALUE="'{curr_bed_type}'"
PRINT_WARMUP
START_PRINT
End G-code
END_PRINT
Before layer change
SET_GCODE_VARIABLE MACRO=_printcfg VARIABLE=layer_num VALUE={layer_num}
SET_GCODE_VARIABLE MACRO=_printcfg VARIABLE=layer_z VALUE={layer_z}
LAYER_CHANGE_BEFORE
After layer change
SET_GCODE_VARIABLE MACRO=_printcfg VARIABLE=layer_num VALUE={layer_num}
LAYER_CHANGE_AFTER
Change Filament G-code
M600
It would be possible to set this up in Ultimaker Cura. Unfortunately due to its issues with layer change placeholders and commands as well as the limited UI, doing such would require post processing plugin. At this time I have not attempted this but will update once I have figured it out