From e8554d892b0d7f7476c79157abee40f97e534b7a Mon Sep 17 00:00:00 2001 From: miguel Date: Thu, 21 Aug 2025 17:31:55 +0100 Subject: [PATCH] printer.cfg modified - 21/08/25 - 17:31:48 --- printer_data/config/printer.cfg | 46 ++++++++++++++++++++++----------- 1 file changed, 31 insertions(+), 15 deletions(-) diff --git a/printer_data/config/printer.cfg b/printer_data/config/printer.cfg index d09abc6..d42d923 100644 --- a/printer_data/config/printer.cfg +++ b/printer_data/config/printer.cfg @@ -50,6 +50,19 @@ restart_method: command [include timelapse.cfg] [include shell_command.cfg] + +# Klicky Probe imports + +#Simple way to include all the various klicky macros and configurations +# the current home for this configuration is https://github.com/jlas1/Klicky-Probe, please check it + +[include ./klicky-specific.cfg] #place to put other configurations specific to your printer +[include ./klicky-variables.cfg] #Required +[include ./klicky-macros.cfg] #Required +[include ./klicky-bed-mesh-calibrate.cfg] #bed mesh, requires klipper configuration +[include ./klicky-z-tilt-adjust.cfg] #level 2 or 3 Z motors + + [exclude_object] [gcode_arcs] resolution: 0.1 @@ -308,22 +321,25 @@ pin: nhk:gpio10 ## For Octopus Pro Probe port; NPN and PNP proximity switch types can be set by jumper #pin: ~!PC5 -activate_gcode: - {% set PROBE_TEMP = 150 %} - {% set MAX_TEMP = PROBE_TEMP + 5 %} - {% set ACTUAL_TEMP = printer.extruder.temperature %} - {% set TARGET_TEMP = printer.extruder.target %} - {% if TARGET_TEMP > PROBE_TEMP %} - { action_respond_info('Extruder temperature target of %.1fC is too high, lowering to %.1fC' % (TARGET_TEMP, PROBE_TEMP)) } - M109 S{ PROBE_TEMP } - {% else %} - # Temperature target is already low enough, but nozzle may still be too hot. - {% if ACTUAL_TEMP > MAX_TEMP %} - { action_respond_info('Extruder temperature %.1fC is still too high, waiting until below %.1fC' % (ACTUAL_TEMP, MAX_TEMP)) } - TEMPERATURE_WAIT SENSOR=extruder MAXIMUM={ MAX_TEMP } - {% endif %} - {% endif %} +#------------------------------------------------------------------ This was all voron tap specific + +#activate_gcode: +# {% set PROBE_TEMP = 150 %} +# {% set MAX_TEMP = PROBE_TEMP + 5 %} +# {% set ACTUAL_TEMP = printer.extruder.temperature %} +# {% set TARGET_TEMP = printer.extruder.target %} + +# {% if TARGET_TEMP > PROBE_TEMP %} +# { action_respond_info('Extruder temperature target of %.1fC is too high, lowering to %.1fC' % (TARGET_TEMP, PROBE_TEMP)) } +# M109 S{ PROBE_TEMP } +# {% else %} +# # Temperature target is already low enough, but nozzle may still be too hot. +# {% if ACTUAL_TEMP > MAX_TEMP %} +# { action_respond_info('Extruder temperature %.1fC is still too high, waiting until below %.1fC' % (ACTUAL_TEMP, MAX_TEMP)) } +# TEMPERATURE_WAIT SENSOR=extruder MAXIMUM={ MAX_TEMP } +# {% endif %} +# {% endif %} #--------------------------------------------------------------------