printer: update

This commit is contained in:
Konstantin Koslowski 2023-11-26 14:26:11 +01:00
parent d9f92ea58f
commit c1e5a770d5
5 changed files with 63 additions and 100 deletions

View file

@ -54,6 +54,8 @@ path: /home/pi/printer_data/gcodes
[display_status]
[exclude_object]
#####################################################################
# includes
#####################################################################
@ -62,8 +64,7 @@ path: /home/pi/printer_data/gcodes
[include macros/_init.cfg]
[include neopixel.cfg]
[include fans.cfg]
[include input_shaper.cfg]
# [include resonance_test.cfg]
[include resonance_test.cfg]
[include ercf.cfg]
@ -283,31 +284,33 @@ sample_retract_dist: 3
samples_tolerance: 0.01
samples_tolerance_retries: 5
activate_gcode:
{% set PROBE_TEMP = 200 %}
{% 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 %}
# activate_gcode:
# # impatient
# # {% set PROBE_TEMP = 200 %}
# {% set PROBE_TEMP = 250 %}
# {% 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 %}
[bed_mesh]
speed: 500
horizontal_move_z: 10
# 40, 40 --> 40 + probe.x_offset, 40 + probe.y_offset
mesh_min: 40, 70
mesh_min: 40, 40
# 260, 260 --> 260 + probe.x_offset, 260 + probe.y_offset
mesh_max: 260,290
mesh_max: 260, 260
# fade_start: 1
# fade_end: 10
# fade_target: 0
@ -321,7 +324,8 @@ algorithm: bicubic
# probe_count: 7,7
# relative_reference_index: 24
probe_count: 9,9
relative_reference_index: 40
# relative_reference_index: 40
zero_reference_position: 150.00, 150.00
[quad_gantry_level]
speed: 500
@ -349,28 +353,34 @@ max_adjust: 10
#*#
#*# [extruder]
#*#
#*# [probe]
#*# z_offset = -0.850
#*#
#*# [input_shaper]
#*# shaper_type_x = 3hump_ei
#*# shaper_freq_x = 89.2
#*# shaper_type_y = mzv
#*# shaper_freq_y = 30.6
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# -0.035000, -0.030000, -0.013750, -0.032500, -0.018750, -0.023750, -0.022500, -0.020000, -0.027500
#*# -0.030000, -0.028750, -0.022500, -0.028750, -0.027500, -0.028750, -0.022500, -0.017500, -0.026250
#*# -0.026250, -0.031250, -0.025000, -0.027500, -0.031250, -0.027500, -0.028750, -0.038750, -0.050000
#*# -0.036250, -0.025000, -0.017500, -0.017500, -0.018750, -0.005000, 0.005000, 0.002500, -0.002500
#*# -0.016250, -0.017500, -0.021250, -0.013750, 0.000000, -0.010000, -0.003750, -0.015000, -0.016250
#*# -0.036250, -0.043750, -0.040000, -0.047500, -0.032500, -0.031250, -0.038750, -0.031250, -0.032500
#*# -0.058750, -0.031250, -0.030000, -0.026250, -0.027500, -0.027500, -0.020000, -0.036250, -0.052500
#*# -0.050000, -0.053750, -0.038750, -0.046250, -0.035000, -0.025000, -0.023750, -0.035000, -0.047500
#*# -0.063750, -0.045000, -0.041250, -0.038750, -0.032500, -0.031250, -0.028750, -0.037500, -0.042500
#*# -0.057500, -0.073750, -0.055000, -0.015000, -0.026250, -0.012500, -0.021250, -0.048750, -0.062500
#*# -0.028750, -0.053750, -0.048750, -0.041250, -0.046250, -0.025000, -0.028750, -0.028750, -0.040000
#*# -0.077500, -0.053750, -0.091250, -0.076250, -0.051250, -0.035000, -0.050000, -0.087500, -0.063750
#*# -0.048750, -0.042500, -0.071250, -0.011250, -0.073750, -0.041250, -0.075000, -0.090000, -0.118750
#*# -0.081250, -0.052500, -0.061250, -0.046250, 0.000000, -0.037500, -0.062500, -0.100000, -0.120000
#*# -0.095000, -0.116250, -0.037500, -0.020000, -0.075000, -0.068750, -0.048750, -0.111250, -0.121250
#*# -0.118750, -0.078750, -0.083750, -0.116250, -0.087500, -0.133750, -0.117500, -0.122500, -0.162500
#*# -0.126250, -0.110000, -0.087500, -0.107500, -0.083750, -0.128750, -0.107500, -0.138750, -0.155000
#*# -0.055000, -0.088750, -0.083750, -0.130000, -0.121250, -0.111250, -0.106250, -0.128750, -0.141250
#*# x_count = 9
#*# y_count = 9
#*# mesh_x_pps = 2
#*# mesh_y_pps = 2
#*# algo = bicubic
#*# tension = 0.2
#*# min_x = 40.0
#*# algo = bicubic
#*# y_count = 9
#*# mesh_y_pps = 2
#*# min_y = 70.0
#*# x_count = 9
#*# max_y = 290.0
#*# mesh_x_pps = 2
#*# max_x = 260.0
#*#
#*# [probe]
#*# z_offset = -0.913
#*# min_y = 40.0
#*# max_y = 260.0