-
Notifications
You must be signed in to change notification settings - Fork 0
/
printer-20230724_094639.cfg
167 lines (157 loc) · 5.49 KB
/
printer-20230724_094639.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
;[include mainsail.cfg]
[include mainsail_local.cfg]
[include toolhead_btt_ebbcan_G0B1_v1.2.cfg]
[include Voron2_Octopus_Config.cfg]
[include sb_leds.cfg]
[include KAMP/*cfg]
[include macros.cfg]
[include flexplate.cfg]
[include config_backup.cfg]
#[include generic-bigtreetech-xxx.cfg]
[save_variables]
filename: /home/patrez/printer_data/.variables.stb
[exclude_object]
[probe]
pin: ^can0:LIMIT_2
x_offset: 0
y_offset: 0
#z_offset: 0
speed: 10
samples: 3
#sample_retract_dist: 2
lift_speed: 10.0
samples_result: median
samples_tolerance: 0.02
samples_tolerance_retries: 5
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 %}
[filament_motion_sensor SFS_T0]
detection_length: 11.00 ; This can be adjusted to your desired level of sensitivity. 10 is a recomended value to prevent flow dropoff false triggers.
extruder: extruder
switch_pin: ^PG9
pause_on_runout: True ; This can be set to false to debug false positives putting the sensor in "monitor mode". The printer will not pause but it will run the runout_gcode below.
event_delay: 3.0
pause_delay: 0.5
runout_gcode:
M117 Runout Detected!
[delayed_gcode DISABLEFILAMENTSENSOR] ; This will disable the SFS 1 second after klipper starts
initial_duration: 1
gcode:
SET_FILAMENT_SENSOR SENSOR=SFS_T0 ENABLE=0 ; Put your filament sensor's name after SENSOR=
[gcode_macro SFS_ENABLE] ; Add this to PRINT_START
description: Enable smart filament sensor
gcode:
M117 ENABLING the Smart Filament Sensor
G92 E0
SET_FILAMENT_SENSOR SENSOR=SFS_T0 ENABLE=1 ; Put your filament sensor's name after SENSOR=
[gcode_macro SFS_DISABLE] ; Add this to PRINT_END and PRINT_CANCEL
description: Disable smart filament sensor
gcode:
M117 DISABLING the Smart Filament Sensor
G92 E0
SET_FILAMENT_SENSOR SENSOR=SFS_T0 ENABLE=0 ; Put your filament sensor's name after SENSOR=
[bed_mesh]
speed: 300
horizontal_move_z: 15
##--------------------------------------------------------------------
## Uncomment below for 250mm build
#mesh_min: 40, 40
#mesh_max: 210,210
## Uncomment for 300mm build
#mesh_min: 40, 40
#mesh_max: 260,260
## Uncomment for 350mm build
mesh_min: 40, 40
mesh_max: 310,310
##--------------------------------------------------------------------
fade_start: 0.6
fade_end: 10.0
probe_count: 9,9 # Values should be odd, so one point is directly at bed center
algorithm: bicubic
relative_reference_index: 40 # Update when changing probe_count, to ((x points * y points) - 1) / 2. (the center point)
;zero_reference_position: 175, 175
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# 0.066250, 0.067500, 0.095000, 0.097500, 0.098750, 0.087500, 0.078750
#*# 0.008750, 0.028750, 0.035000, 0.033750, 0.047500, 0.033750, 0.013750
#*# -0.000000, 0.018750, 0.030000, 0.025000, 0.022500, 0.027500, 0.005000
#*# -0.007500, -0.007500, 0.000000, 0.000000, 0.016250, -0.007500, -0.017500
#*# -0.008750, 0.020000, 0.026250, 0.021250, 0.017500, -0.011250, -0.016250
#*# 0.053750, 0.076250, 0.080000, 0.075000, 0.076250, 0.080000, 0.063750
#*# 0.187500, 0.205000, 0.213750, 0.205000, 0.205000, 0.180000, 0.175000
#*# x_count = 7
#*# y_count = 7
#*# mesh_x_pps = 2
#*# mesh_y_pps = 2
#*# algo = bicubic
#*# tension = 0.2
#*# min_x = 40.0
#*# max_x = 310.0
#*# min_y = 40.0
#*# max_y = 310.0
#*#
#*# [bed_mesh cold_pei_rough]
#*# version = 1
#*# points =
#*# -0.040000, -0.011250, -0.005000, -0.011250, -0.055000
#*# -0.023750, 0.020000, 0.006250, 0.016250, -0.035000
#*# -0.020000, -0.005000, 0.000000, -0.012500, -0.062500
#*# -0.040000, -0.032500, -0.025000, -0.038750, -0.060000
#*# -0.016250, 0.005000, 0.007500, -0.010000, -0.033750
#*# x_count = 5
#*# y_count = 5
#*# mesh_x_pps = 2
#*# mesh_y_pps = 2
#*# algo = bicubic
#*# tension = 0.2
#*# min_x = 40.0
#*# max_x = 310.0
#*# min_y = 40.0
#*# max_y = 310.0
#*#
#*# [bed_mesh pei_rough_cold_tight]
#*# version = 1
#*# points =
#*# -0.036250, 0.008750, -0.001250, -0.003750, -0.003750, -0.005000, -0.032500
#*# -0.033750, -0.001250, 0.003750, 0.016250, -0.017500, -0.022500, -0.038750
#*# -0.000000, 0.016250, 0.020000, -0.011250, 0.006250, -0.001250, -0.031250
#*# -0.037500, -0.032500, -0.010000, 0.000000, -0.032500, -0.048750, -0.063750
#*# -0.053750, -0.052500, -0.031250, -0.015000, -0.023750, -0.042500, -0.063750
#*# -0.032500, -0.008750, 0.011250, 0.025000, 0.027500, -0.012500, -0.036250
#*# 0.043750, 0.070000, 0.091250, 0.087500, 0.082500, 0.071250, 0.058750
#*# x_count = 7
#*# y_count = 7
#*# mesh_x_pps = 2
#*# mesh_y_pps = 2
#*# algo = bicubic
#*# tension = 0.2
#*# min_x = 40.0
#*# max_x = 310.0
#*# min_y = 40.0
#*# max_y = 310.0
#*#
#*# [probe]
#*# z_offset = -0.425
#*#
#*# [input_shaper]
#*# shaper_type_x = mzv
#*# shaper_freq_x = 55.6
#*# shaper_type_y = mzv
#*# shaper_freq_y = 36.8