diff --git a/klippy/extras/display/menu.cfg b/klippy/extras/display/menu.cfg index c944ac15..8774920a 100644 --- a/klippy/extras/display/menu.cfg +++ b/klippy/extras/display/menu.cfg @@ -8,6 +8,7 @@ type: list name: Main Menu items: + __tune __octoprint __sdcard __control @@ -16,6 +17,50 @@ items: __prepare __test +### menu tune ### +[menu __tune] +type: list +enable: toolhead.is_printing +name: Tune +items: + .__speed + .__flow + .__offsetz + +[menu __tune __speed] +type: input +name: "Speed: {1:3d}%" +parameter: gcode.speed_factor +transform: + map(0,2,0,200) +input_min: 0 +input_max: 2 +input_step: 0.01 +realtime: true +gcode: M220 S{1:d} + +[menu __tune __flow] +type: input +name: "Flow: {1:3d}%" +parameter: gcode.extrude_factor +transform: + map(0,2,0,200) +input_min: 0 +input_max: 2 +input_step: 0.01 +realtime: true +gcode: M221 S{1:d} + +[menu __tune __offsetz] +type: input +name: "Offset Z:{0:05.3f} " +parameter: gcode.homing_zpos +input_min: -5 +input_max: 5 +input_step: 0.005 +realtime: true +gcode: SET_GCODE_OFFSET Z={0:.3f} + ### menu octoprint ### [menu __octoprint] type: list