forked from zellneralex/klipper_config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprinter.cfg
871 lines (834 loc) · 43.3 KB
/
printer.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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
## Voron Design VORON2 350mm SKR 1.4 TMC2209 UART config
##========================== Pin Definitions ========================
## X_STEP_PIN 2.2
## X_DIR_PIN 2.6
## X_ENABLE_PIN 2.1
## X_STOP_PIN 1.29
## E0_DET_PIN 1.26
## X_UART_PIN 1.10
## Y_STEP_PIN 0.19
## Y_DIR_PIN 0.20
## Y_ENABLE_PIN 2.8
## Y_STOP_PIN 1.28
## E1_DET_PIN 1.26
## Y_UART_RX 1.9
## Z_STEP_PIN 0.22
## Z_DIR_PIN 2.11
## Z_ENABLE_PIN 0.21
## Z_STOP_PIN 1.27
## PWR_DET_PIN 1.0
## Z_UART 1.8
## E0_STEP_PIN 2.13
## E0_DIR_PIN 0.11
## E0_ENABLE_PIN 2.12
## E0_UART 1.4
## E1_STEP_PIN 1.15
## E1_DIR_PIN 1.14
## E1_ENABLE_PIN 1.16
## E1_UART_RX 1.1
## HE1 2.4
## HE0 2.7
## BED 2.5
## TH1 (H1 Temp) 0.23
## TH0 (H0 Temp) 0.24
## TB (Bed Temp) 0.25
## FAN 2.3
## SERVO 2.0
## PROBE 0.10
##===================================================================
#####################################################################
# MCU definition
#####################################################################
[mcu]
## MCU for X/Y/E steppers main MCU
## [X in X] - B Motor
## [Y in Y] - A Motor
## [E in E0] - Extruder
##--------------------------------------------------------------------
serial: /dev/serial/by-id/usb-Klipper_lpc1769_1840010F871C4AAF863E7C5DC32000F5-if00
restart_method: command
##--------------------------------------------------------------------
[mcu z]
## MCU for Z steppers
## [Z in X] - Front Left
## [Z1 in Y] - Rear Left
## [Z2 in Z] - Rear Right
## [Z3 in E0]- Front Right
##--------------------------------------------------------------------
serial: /dev/serial/by-id/usb-Klipper_lpc1769_07300110871C4AAFBF427C5DC72000F5-if00
restart_method: command
##--------------------------------------------------------------------
[mcu rpi]
## MCU for adxl345 acelometer
##--------------------------------------------------------------------
serial: /tmp/klipper_host_mcu
##--------------------------------------------------------------------
#####################################################################
# General Printer definition
#####################################################################
[printer]
kinematics: corexy
max_velocity: 450
max_accel: 7000
max_accel_to_decel: 4000
max_z_velocity: 30
max_z_accel: 700
square_corner_velocity: 5.0
#####################################################################
# Stepper Settings
#####################################################################
[include stepper.cfg]
#####################################################################
# TMC Settings
#####################################################################
[include tmc.cfg]
#####################################################################
# Extruder & Bed
#####################################################################
[include heater.cfg]
#####################################################################
# Probe and Gantry Adjustment Routines
#####################################################################
[include probe_qgl.cfg]
#####################################################################
# Fan Control & extra Thermistor
#####################################################################
[include fan.cfg]
#####################################################################
# Heater Verification (default values)
#####################################################################
[include heater_verify.cfg]
#####################################################################
# Caselight Control
#####################################################################
[include caselight.cfg]
#####################################################################
# Homing Routines
#####################################################################
[include homing.cfg]
#####################################################################
# Bed Mesh
#####################################################################
[include bed_mesh.cfg]
######################################################################
# Resonance compensation
######################################################################
[include input_shaper.cfg]
#####################################################################
# Display & Custom Menu
#####################################################################
[include lcd.cfg]
[include display_menu.cfg]
#####################################################################
# Macros
#####################################################################
[include basic_macro.cfg]
[include macro.cfg]
[include park_macro.cfg]
[include debug_macro.cfg]
#####################################################################
# moonraker/mainsail
#####################################################################
[include webclient.cfg]
#####################################################################
# moonraker power device macro
#####################################################################
[include power.cfg]
#####################################################################
# print and service time storage
#####################################################################
[include printtime.cfg]
#####################################################################
# probe accuracy test
#####################################################################
[include test_probe_accuracy.cfg]
#####################################################################
# flexplate select menu
#####################################################################
[include flexplate.cfg]
#####################################################################
# filament related
#####################################################################
[include filament.cfg]
#####################################################################
# filament runout sensor
#####################################################################
[include runout.cfg]
#####################################################################
# force move used only if gantry is at z max
#####################################################################
[include force_move.cfg]
#####################################################################
# MagProbe instead of Sensor
#####################################################################
[include magprobe.cfg]
#####################################################################
# Z_calibration needs <https://github.com/protoloft/klipper_z_calibration>
#####################################################################
[include z_calibration.cfg]
#####################################################################
# File location of stored varibales
######################################################################
[save_variables]
filename: /home/pi/klipper_config/.variables.stb
#####################################################################
# Virtual SD Card
#####################################################################
[virtual_sdcard]
path: /home/pi/sdcard
[delayed_gcode _CHECK_CONFIG]
initial_duration: 0.1
gcode:
## exexcute _USER_VARIABLE once at startup to do the needed calcs
{% if printer['gcode_macro _USER_VARIABLE'] is not defined %}
{ action_respond_info(
"CONFIG: ERROR\n"
"_USER_VARIABLE macro missing\n"
"This holds common variables for your printer and must be defined") }
{% else %}
_USER_VARIABLE
_CHECK_CONSITENT
{% endif %}
[gcode_macro _CHECK_CONSITENT]
description: Helper: Check that some criterias are meet in the printer.cfg
gcode:
## check that a MagProbe is defined if z_calibrate is defined
{% if printer['gcode_macro _USER_VARIABLE'].auto_z_offset|lower == 'z_calib' and
printer['gcode_macro _USER_VARIABLE'].mag_probe|lower == 'false' %}
{action_respond_info(
"CONFIG: ERROR\n"
"[z_calibration] defined but no MagProbe\n")}
{% endif %}
## check if save_variables are defined
{% if 'save_variables' not in printer %}
{action_respond_info(
"CONFIG: ERROR\n"
"[save_variables] missing\n"
"This is needed to store variables to a file")}
{% endif %}
## check if virtual_sdcard is defined
{% if 'virtual_sdcard' not in printer %}
{action_respond_info(
"CONFIG: ERROR\n"
"[virtual_sdcard] missing\n"
"The printer.cfg is designed to be used with Mainsail, therefore this definition is essential")}
{% endif %}
[gcode_macro _USER_VARIABLE]
description: Helper: Contains User defined printer variables
##### enables for additional hardware #####
variable_neo_display: 'false' ; true is display with neopixel in cfg
variable_chamber: 'none' ; none/fan/sensor depending on cfg
variable_caselight: 'false' ; true if caselight is found in cfg
variable_filter: 'false' ; true if filter is found in cfg
variable_runout: 'none' ; none/file/motion/switch depending on cfg
variable_relay: 'false' ; true if safety relais are found in cfg
variable_auto_z_offset: 'none' ; none/flexplate/z_calib depends what is found in cfg
variable_mag_probe: 'false' ; true is a mag probe is found in cfg
##### Homing and general movement #####
variable_z_endstop: [0,0] ; z Endstop position
variable_z_endstop_hop: 0 ; z hop for relative moves e.g. homimg
variable_center: [0,0,0] ; center off bed
variable_z_hop: 0 ; z_hop depending on mag_probe or endstop
variable_z_home_current: 0 ; reduced homing curent for z
variable_home_accel: 0 ; reduced ACCEL for homing
##### Mag Probe #####
variable_probe_dock: [0,0,0] ; toolhead position before docking probe
variable_probe_undock: [0,0,0] ; toolhead position after docking probe
variable_probe_travel_speed: 0 ; dock moves travel speed
variable_probe_dock_speed: 0 ; dock speed for attach/dock
##### Park Position #####
variable_park_bed: [0,0,0] ; different park position
variable_park_frontlow: [0,0,0] ; different park position
variable_park_front: [0,0,0] ; different park position
variable_park_center: [0,0,0] ; different park position
variable_park_rear: [0,0,0] ; different park position
#### Filament #####
variable_extruder_min_add: 0 ; Temperature add to min Extruder temp
variable_load_distance : 0 ; load distance while load filament
variable_load_extrude : 0 ; extrude distance while load filament
variable_unload_distance : 0 ; unload distance while unload filament
variable_retreact_end: 0 ; retract distance at PRINT_END or CANCEL_PRINT
variable_retract_pause: 0 ; retract/extrude distance while PAUSE or RESUME
variable_retract_cancel: 0 ; difference between END and PAUSE retraction
##### Purge & Brush #####
variable_purge: [0,0,0] ; purge bucket location
variable_wipe_start: [0,0,0] ; start pos of wipe move
variable_wipe_end: [0,0,0] ; end pos of wipe move
variable_wipe_offset: 0 ; distance for single wipe move
variable_wipe_cnt: 0 ; number of full wipes
##### PRINT_START/STOP #####
variable_print_start_bed_up: 0 ; bed temp raise for faster heat soak
variable_print_start_ival: 0 ; wait time per call in sec
variable_print_start_extruder_time: 0 ; time in minutes before soak end to start extruder heating
variable_print_start_bed_time: 0 ; time in minutes before soak end to set bed target temp
variable_print_start_prime_mult: 0 ; multiplier for prime line hight
variable_print_end_unload_sd: 'false' ; unload sd file at PRINT_END or CANCEL_PRINT
##### Prime Line #####
variable_prime_start_xy: [0,0] ; xy start coordinates of prime line
variable_prime_dir: 'None' ; direction of prime line (X+, X-, Y+, Y-)
variable_prime_z: 0 ; z hight for prime line
variable_prime_dist: 0 ; distance between line, move will allways positive
variable_prime_lenght: 0 ; length of prime line
variable_prime_seg: 0 ; segments in that the prime line is splitted
variable_prime_extrude_per_seg: 0 ; amount of filament extruded per segment
##### Respond defaults #####
variable_respond_set_z_current: 0 ; default of RESPOND if not set in the call
variable_respond_set_acc: 0 ; default of RESPOND if not set in the call
variable_respond_probe_action: 0 ; default of RESPOND if not set in the call
##### Peripheral #####
variable_filter_on: 0 ; filter on value
variable_filter_use_time: 0 ; Nevermore change warning limit
variable_vent_on: 0 ; chamber fan on temperature
variable_caselight_on: 0 ; caselight on value
variable_fan_run_after_print: 0 ; time in min to run filter and chamber exhaust after print finsih
gcode:
###################################################################
## start of user defines ##
## this needs to be changed for your printer ##
###################################################################
#{% set user_z_endstop = [232.0,353.0] %} ; z Endstop position insight right profil
{% set user_z_endstop = [122.0,353.0] %} ; z Endstop position insight left profil
{% set user_z_endstop_hop = 7.5 %} ; z hop for moves e.g homimg
{% set user_z_home_current = 0.3 %} ; reduced homing curent for z
{% set user_home_accel = 1200 %} ; reduced ACCEL for homing
{% set user_bed_y_offset = 5 %} ; Endstop offset to bed max y
##### Mag Probe #####
{% set user_probe_dock_pos = [122,355,0] %} ; position of the dock
{% set user_probe_delta_x = 30 %} ; x offset for position before dock
{% set user_probe_delta_y = -20 %} ; y offset to move probe out of dock
{% set user_probe_delta_z = 0 %} ; z offset to move probe out of dock
{% set user_z_probe_hop = 7.5 %} ; z minimum heigh to avoid crash
{% set user_probe_travel_speed = 200 %} ; dock moves travel speed
{% set user_probe_dock_speed = 100 %} ; dock speed for attach/dock
##### Park Position #####
{% set user_park_xy_delta = 25 %} ; distance for x or y from the edge
{% set user_park_z_max_delta = 40 %} ; insure to do not hit cam in front
{% set user_park_z_min = 30 %} ; minimal z from bed
##### Filament #####
{% set user_extruder_min_add = 30 %} ; Temperature add to min Extruder temp
{% set user_load_distance = 90 %} ; load distance while load filament
{% set user_load_extrude = 50 %} ; extrude distance while load filament
{% set user_unload_distance = 75 %} ; unload distance while unload filament
{% set user_retreact_end = 2 %} ; retract distance at PRINT_END or CANCEL_PRINT
{% set user_retract_pause = 1 %} ; retract/extrude distance while PAUSE or RESUME
##### Purge & Brush #####
{% set user_brush_pos = 'righ' %} ; left/right profile used
#{% set user_brush_x_middle = 100 %} ; mid point of brush at left profile
{% set user_brush_x_middle = 250 %} ; mid point of brush at right profil
{% set user_brush_x_width = 40 %} ; width of brush
{% set user_brush_y_start = 350 %} ; start point at y
{% set user_wipe_z = 1.0 %} ; z for wipe moves
{% set user_wipe_cnt = 5 %} ; number of full wipes
{% set user_z_purge = 2.5 %} ; z above purge bucket
##### PRINT_START/STOP #####
{% set user_print_start_bed_up = 10 %} ; bed temp raise for faster heat soak
{% set user_print_start_ival = 1 %} ; wait time per call in sec
{% set user_print_start_extruder_time = 3 %} ; time in minutes before soak end to start extruder heating
{% set user_print_start_bed_time = 3 %} ; time in minutes before soak end to set bed target temp
{% set user_print_start_prime_mult = 2 %} ; multiplier for prime line hight
{% set user_print_end_unload_sd = 'true' %} ; unload sd file at PRINT_END or CANCEL_PRINT
##### Prime Line #####
{% set user_prime_start_xy = [5.0,30.0] %} ; x&y start coordinates of prime line
{% set user_prime_dir = 'Y+' %} ; direction of prime line (X+, X-, Y+, Y-)
{% set user_prime_z = 0.34 %} ; z hight for prime line
{% set user_prime_dist = 0.4 %} ; distance between line, move will allways positive
{% set user_prime_lenght = 220 %} ; length of prime line
{% set user_prime_seg = 11 %} ; segments in that the prime line is splitted
{% set user_prime_extrude_per_seg = 2 %} ; amount of filament extruded per segment
##### Respond defaults #####
{% set user_respond_set_z_current = 0 %} ; default of RESPOND if not set in the call
{% set user_respond_set_acc = 0 %} ; default of RESPOND if not set in the call
{% set user_respond_probe_action = 1 %} ; default of RESPOND if not set in the call
##### Peripheral #####
{% set user_filter_on = 0.5 %} ; filter on value
{% set user_filter_use_time = 80 %} ; Nevermore change warning limit
{% set user_vent_on = 15 %} ; chamber fan on temperature
{% set user_caselight_on = 0.4 %} ; caselight on value
{% set user_fan_run_after_print = 30 %} ; time in min to run filter and chamber exhaust after print finsih
###################################################################
## end of user defines ##
###################################################################
##### get printer limits #####
{% set min_x = printer.toolhead.axis_minimum.x|float %}
{% set min_y = printer.toolhead.axis_minimum.y|float %}
{% set max_x = printer.toolhead.axis_maximum.x|float %}
{% set max_y = printer.toolhead.axis_maximum.y|float %}
{% set max_z = printer.toolhead.axis_maximum.z|float %}
##### detect additional hardware #####
{% if 'neopixel neo_display' in printer.configfile.settings %}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=neo_display VALUE='"true"'
{% endif %}
{% if 'temperature_sensor chamber' in printer.configfile.settings %}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=chamber VALUE='"sensor"'
{% elif 'temperature_fan chamber' in printer.configfile.settings %}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=chamber VALUE='"fan"'
{% endif %}
{% if 'output_pin caselight' in printer.configfile.settings %}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=caselight VALUE='"true"'
{% endif %}
{% if 'fan_generic filter' in printer.configfile.settings %}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=filter VALUE='"true"'
{% endif %}
{% if 'filament_switch_sensor runout' in printer.configfile.settings %}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=runout VALUE='"switch"'
{% elif 'filament_motion_sensor runout' in printer.configfile.settings %}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=runout VALUE='"motion"'
{% elif 'virtual_sdcard' in printer and filament_loaded in printer.save_variables.variables %}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=runout VALUE='"file"'
{% endif %}
{% if 'output_pin extruder_relay' in printer.configfile.settings and
'output_pin heater_bed_relay' in printer.configfile.settings %}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=relay VALUE='"true"'
{% endif %}
{% if 'z_calibration' in printer %}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=auto_z_offset VALUE='"z_calib"'
{% elif printer['gcode_macro _SET_PLATE_OFFSET'] is defined %}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=auto_z_offset VALUE='"flexplate"'
{% endif %}
{% if printer['gcode_macro _MAG_PROBE'] is defined or 'dockable_probe' in printer %}
{% set mag_probe = 'true' %}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=mag_probe VALUE='"true"'
{% endif %}
##### calc needed values out of the user definition #####
{% if mag_probe|lower == 'true' %}
{% if user_z_probe_hop > user_z_endstop_hop %}
{%set calc_z_hop = user_z_probe_hop %}
{% else %}
{%set calc_z_hop = user_z_endstop_hop %}
{% endif %}
{% else %}
{% set calc_z_hop = user_z_endstop_hop %}
{% endif %}
{% set calc_brush_start_x = user_brush_x_middle|float - user_brush_x_width|float / 2 %}
{% set calc_brush_end_x = user_brush_x_middle|float + user_brush_x_width|float / 2 %}
{% if user_brush_pos|lower == 'left' %}
#purge bucket is left of brush on the left bed profile
{% set calc_purge_x = (min_x + calc_brush_start_x) / 2 %}
{% set calc_wipe_start_x = calc_brush_start_x %}
{% set calc_wipe_end_x = calc_brush_end_x %}
{% else %}
#purge bucket is right of brush on the right bed profile
{% set calc_purge_x = (max_x - (max_x - calc_brush_end_x) / 2) %}
{% set calc_wipe_start_x = calc_brush_end_x %}
{% set calc_wipe_end_x = calc_brush_start_x %}
{% endif %}
{% set calc_wipe_start_y = user_brush_y_start|float %}
{% set calc_wipe_end_y = max_y %}
{% set calc_wipe_delta = calc_wipe_end_y - calc_wipe_start_y %}
{% set calc_purge_y = max_y - (calc_wipe_delta / 2) %}
{% set calc_wipe_offset = calc_wipe_delta / user_wipe_cnt|float %}
{% set calc_center_x = max_x / 2 %}
{% set calc_center_y = (max_y - user_bed_y_offset) / 2 %}
{% set calc_center_z = max_z / 2 %}
{% set calc_retract_cancel = user_retreact_end - user_retract_pause %}
{% set calc_probe_dock_x = user_probe_dock_pos[0] %}
{% set calc_probe_dock_y = user_probe_dock_pos[1] + user_probe_delta_y %}
{% set calc_probe_dock_z = user_probe_dock_pos[2] + user_probe_delta_z %}
{% set calc_probe_undock_x = user_probe_dock_pos[0] + user_probe_delta_x %}
{% set calc_probe_undock_y = user_probe_dock_pos[1] %}
{% set calc_probe_undock_z = user_probe_dock_pos[2] %}
{% set calc_park_min_x = min_x + user_park_xy_delta %}
{% set calc_park_min_y = min_y + user_park_xy_delta %}
{% set calc_park_max_x = max_x - user_park_xy_delta %}
{% set calc_park_max_y = max_y - user_park_xy_delta %}
{% set calc_park_max_z = max_z - user_park_z_max_delta %}
##### define arrays #####
{% set purge_array = [calc_purge_x|float,calc_purge_y|float,user_z_purge|float] %}
{% set wipe_start_array = [calc_wipe_start_x|float,calc_wipe_start_y|float,user_wipe_z|float] %}
{% set wipe_end_array = [calc_wipe_end_x|float,calc_wipe_end_y|float,user_wipe_z|float] %}
{% set center_array = [calc_center_x|float,calc_center_y|float,calc_center_z|float] %}
{% set probe_dock_array = [calc_probe_dock_x|float,calc_probe_dock_y|float,calc_probe_dock_z|float] %}
{% set probe_undock_array = [calc_probe_undock_x|float,calc_probe_undock_y|float,calc_probe_undock_z|float] %}
{% set park_bed_array = [calc_center_x|float,calc_center_y|float,user_park_z_min|float] %}
{% set park_frontlow_array = [calc_center_x|float,calc_park_min_y|float,user_park_z_min|float] %}
{% set park_front_array = [calc_center_x|float,calc_park_min_y|float,calc_park_max_z|float] %}
{% set park_center_array = [calc_center_x|float,calc_center_y|float,calc_center_z|float] %}
{% set park_rear_array = [calc_park_min_x|float,calc_park_max_y|float,calc_park_max_z|float] %}
##### store results in variables #####
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=z_endstop VALUE="{user_z_endstop}"
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=z_endstop_hop VALUE={user_z_endstop_hop}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=center VALUE="{center_array}"
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=z_hop VALUE={calc_z_hop}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=z_home_current VALUE={user_z_home_current}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=home_accel VALUE={user_home_accel}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=probe_dock VALUE="{probe_dock_array}"
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=probe_undock VALUE="{probe_undock_array}"
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=probe_travel_speed VALUE={user_probe_travel_speed}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=probe_dock_speed VALUE={user_probe_dock_speed}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=park_bed VALUE="{park_bed_array}"
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=park_frontlow VALUE="{park_frontlow_array}"
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=park_front VALUE="{park_front_array}"
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=park_center VALUE="{park_center_array}"
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=park_rear VALUE="{park_rear_array}"
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=extruder_min_add VALUE={user_extruder_min_add}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=load_distance VALUE={user_load_distance}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=load_extrude VALUE={user_load_extrude}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=unload_distance VALUE={user_unload_distance}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=retreact_end VALUE={user_retreact_end}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=retract_pause VALUE={user_retract_pause}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=retract_cancel VALUE={calc_retract_cancel}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=purge VALUE="{purge_array}"
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=wipe_start VALUE="{wipe_start_array}"
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=wipe_end VALUE="{wipe_end_array}"
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=wipe_offset VALUE={calc_wipe_offset}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=wipe_cnt VALUE={user_wipe_cnt}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=print_start_bed_up VALUE={user_print_start_bed_up}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=print_start_ival VALUE={user_print_start_ival}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=print_start_extruder_time VALUE={user_print_start_extruder_time}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=print_start_bed_time VALUE={user_print_start_bed_time}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=print_start_prime_mult VALUE={user_print_start_prime_mult}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=print_end_unload_sd VALUE='"{user_print_end_unload_sd}"'
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=prime_start_xy VALUE="{user_prime_start_xy}"
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=prime_dir VALUE='"{user_prime_dir}"'
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=prime_z VALUE={user_prime_z}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=prime_dist VALUE={user_prime_dist}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=prime_lenght VALUE={user_prime_lenght}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=prime_seg VALUE={user_prime_seg}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=prime_extrude_per_seg VALUE={user_prime_extrude_per_seg}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=respond_set_z_current VALUE={user_respond_set_z_current}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=respond_set_acc VALUE={user_respond_set_acc}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=respond_probe_action VALUE={user_respond_probe_action}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=filter_on VALUE={user_filter_on}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=filter_use_time VALUE={user_filter_use_time}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=vent_on VALUE={user_vent_on}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=caselight_on VALUE={user_caselight_on}
SET_GCODE_VARIABLE MACRO=_USER_VARIABLE VARIABLE=fan_run_after_print VALUE={user_fan_run_after_print}
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 23.886
#*# pid_ki = 1.254
#*# pid_kd = 113.757
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 42.778
#*# pid_ki = 1.501
#*# pid_kd = 304.788
#*#
#*# [stepper_z]
#*# position_endstop = -0.694
#*#
#*# [bed_mesh Voron-Bed_Temp-0C]
#*# version = 1
#*# points =
#*# -0.024375, 0.013125, 0.033750, 0.035625, 0.015625, 0.009375, -0.016875, -0.020625, -0.009375
#*# -0.013750, 0.016875, 0.024375, 0.036875, 0.028125, 0.038125, 0.019375, 0.008125, 0.012500
#*# -0.019375, 0.004375, 0.011875, -0.001250, 0.010000, 0.009375, -0.006250, -0.003125, 0.004375
#*# -0.020625, -0.005000, 0.011875, 0.001875, 0.005625, 0.011250, 0.010625, 0.006250, 0.006250
#*# -0.014375, -0.010625, 0.001250, 0.003750, 0.000000, 0.004375, 0.003125, -0.000000, 0.003125
#*# 0.002500, -0.004375, 0.014375, 0.004375, -0.001875, 0.012500, 0.012500, 0.001875, 0.000625
#*# 0.026250, 0.014375, 0.024375, 0.020625, 0.008125, 0.015625, 0.008750, 0.001250, -0.001875
#*# 0.050000, 0.045625, 0.043750, 0.031250, 0.034375, 0.028125, 0.019375, 0.001250, -0.008750
#*# 0.098125, 0.085625, 0.074375, 0.059375, 0.045625, 0.046875, 0.038125, 0.016250, 0.000625
#*# tension = 0.2
#*# min_x = 30.0
#*# algo = bicubic
#*# y_count = 9
#*# mesh_y_pps = 2
#*# min_y = 30.0
#*# x_count = 9
#*# max_y = 320.0
#*# mesh_x_pps = 2
#*# max_x = 320.0
#*#
#*# [bed_mesh En_Thick-Bed_Temp-0C]
#*# version = 1
#*# points =
#*# -0.137500, -0.088125, -0.047813, -0.028125, -0.034375, -0.038750, -0.056875, -0.065625, -0.059063
#*# -0.095625, -0.042500, -0.011250, 0.013750, 0.006250, 0.017812, -0.009375, -0.024688, -0.023438
#*# -0.098750, -0.057813, -0.027188, -0.011875, -0.007500, -0.013125, -0.023750, -0.026250, -0.026875
#*# -0.091875, -0.047188, -0.014688, 0.005000, 0.007500, 0.001875, -0.009688, -0.018125, -0.019375
#*# -0.084375, -0.055000, -0.022500, -0.004375, 0.000000, -0.004687, -0.013125, -0.023750, -0.028750
#*# -0.079375, -0.055625, -0.013125, -0.002500, -0.002187, -0.000625, -0.011875, -0.028125, -0.033125
#*# -0.073437, -0.050937, -0.017187, -0.004375, -0.013125, -0.008125, -0.019062, -0.035000, -0.046875
#*# -0.060000, -0.038750, -0.013125, -0.008125, -0.006250, -0.010625, -0.026562, -0.050312, -0.065625
#*# -0.036875, -0.017187, 0.004375, 0.006875, -0.004062, -0.008125, -0.024062, -0.050625, -0.068750
#*# tension = 0.2
#*# min_x = 30.0
#*# algo = bicubic
#*# y_count = 9
#*# mesh_y_pps = 2
#*# min_y = 30.0
#*# x_count = 9
#*# max_y = 320.0
#*# mesh_x_pps = 2
#*# max_x = 320.0
#*#
#*# [bed_mesh TEST-NOZZLE]
#*# version = 1
#*# points =
#*# 0.055625, 0.085313, 0.089375, 0.078750, 0.043750, 0.033438, 0.025313, 0.029063, 0.029688
#*# 0.030313, 0.061250, 0.068750, 0.058750, 0.031875, 0.030625, 0.022500, 0.029375, 0.040938
#*# 0.037813, 0.051563, 0.056563, 0.043125, 0.015000, 0.012500, 0.012500, 0.005313, 0.005000
#*# 0.029375, 0.040313, 0.039063, 0.030625, 0.008125, 0.010938, 0.000938, 0.012813, -0.001562
#*# 0.041250, 0.039375, 0.035000, 0.023438, 0.000000, -0.004688, -0.007500, -0.000000, -0.014688
#*# 0.054062, 0.050000, 0.046562, 0.034062, 0.011875, 0.012812, -0.003750, 0.005625, -0.015313
#*# 0.058437, 0.050625, 0.043750, 0.021562, -0.002188, -0.004688, -0.020000, -0.020625, -0.042813
#*# 0.070312, 0.060312, 0.046250, 0.020625, -0.000625, 0.001250, -0.014063, -0.022188, -0.054063
#*# 0.088125, 0.069062, 0.048125, 0.021250, -0.001875, -0.000313, -0.015313, -0.037188, -0.074063
#*# tension = 0.2
#*# min_x = 30.0
#*# algo = bicubic
#*# y_count = 9
#*# mesh_y_pps = 2
#*# min_y = 30.0
#*# x_count = 9
#*# max_y = 320.0
#*# mesh_x_pps = 2
#*# max_x = 320.0
#*#
#*# [bed_mesh TEST-PROBE]
#*# version = 1
#*# points =
#*# -0.052187, -0.004062, 0.015000, 0.017813, 0.006875, 0.007500, 0.001875, 0.021875, 0.042500
#*# -0.036875, 0.000938, 0.024063, 0.032188, 0.021875, 0.034375, 0.028438, 0.049375, 0.066250
#*# -0.033125, -0.009062, 0.007500, 0.015000, 0.009375, 0.019063, 0.019063, 0.037813, 0.055938
#*# -0.029062, -0.008125, 0.005313, 0.012813, 0.009063, 0.019063, 0.020938, 0.040313, 0.057813
#*# -0.020937, -0.011250, -0.000937, 0.003438, 0.000000, 0.008125, 0.013750, 0.035312, 0.050625
#*# -0.010625, -0.001563, 0.010625, 0.012500, 0.012187, 0.019375, 0.023437, 0.037500, 0.046562
#*# -0.002500, 0.001875, 0.010937, 0.008437, 0.007812, 0.013437, 0.012812, 0.023437, 0.032500
#*# 0.020625, 0.020000, 0.021875, 0.015937, 0.013750, 0.019062, 0.019062, 0.024062, 0.023750
#*# 0.044062, 0.037812, 0.033125, 0.026250, 0.021562, 0.027187, 0.031562, 0.024687, 0.019375
#*# tension = 0.2
#*# min_x = 30.0
#*# algo = bicubic
#*# y_count = 9
#*# mesh_y_pps = 2
#*# min_y = 30.0
#*# x_count = 9
#*# max_y = 320.0
#*# mesh_x_pps = 2
#*# max_x = 320.0
#*#
#*# [bed_mesh TEST-DIFF]
#*# version = 1
#*# points =
#*# -0.107812, -0.089375, -0.074375, -0.060937, -0.036875, -0.025938, -0.023438, -0.007188, 0.012812
#*# -0.067188, -0.060312, -0.044687, -0.026562, -0.01, 0.00375, 0.005938, 0.02, 0.025312
#*# -0.070938, -0.060625, -0.049063, -0.028125, -0.005625, 0.006563, 0.006563, 0.0325, 0.050938
#*# -0.058437, -0.048438, -0.03375, -0.017812, 0.000938, 0.008125, 0.02, 0.0275, 0.059375
#*# -0.062187, -0.050625, -0.035937, -0.02, 0, 0.012813, 0.02125, 0.035312, 0.065313
#*# -0.064687, -0.051563, -0.035937, -0.021562, 0.000312, 0.006563, 0.027187, 0.031875, 0.061875
#*# -0.060937, -0.04875, -0.032813, -0.013125, 0.01, 0.018125, 0.032812, 0.044062, 0.075313
#*# -0.049687, -0.040312, -0.024375, -0.004688, 0.014375, 0.017812, 0.033125, 0.04625, 0.077813
#*# -0.044063, -0.03125, -0.015, 0.005, 0.023437, 0.0275, 0.046875, 0.061875, 0.093438
#*# tension = 0.2
#*# min_x = 30.0
#*# algo = bicubic
#*# y_count = 9
#*# mesh_y_pps = 2
#*# min_y = 30.0
#*# x_count = 9
#*# max_y = 320.0
#*# mesh_x_pps = 2
#*# max_x = 320.0
#*#
#*# [bed_mesh TEST-1]
#*# version = 1
#*# points =
#*# -0.048125, 0.000938, 0.018125, 0.020000, 0.008750, 0.008750, 0.001875, 0.020625, 0.043750
#*# -0.030312, 0.007500, 0.029375, 0.035938, 0.022500, 0.035000, 0.030000, 0.048750, 0.070938
#*# -0.026875, -0.001562, 0.013125, 0.020625, 0.013125, 0.022500, 0.021875, 0.040625, 0.058125
#*# -0.023750, -0.002187, 0.007813, 0.016563, 0.012188, 0.021250, 0.024063, 0.043750, 0.059063
#*# -0.020937, -0.007812, 0.000313, 0.004688, 0.000000, 0.008125, 0.013437, 0.036875, 0.049375
#*# -0.008125, -0.001563, 0.011875, 0.013125, 0.011250, 0.020000, 0.021875, 0.037812, 0.046250
#*# -0.002500, 0.000312, 0.010625, 0.005937, 0.003750, 0.010000, 0.008125, 0.021562, 0.033125
#*# 0.011562, 0.011875, 0.015625, 0.009687, 0.008125, 0.015312, 0.015312, 0.021875, 0.022500
#*# 0.032500, 0.026875, 0.022500, 0.016250, 0.013437, 0.020625, 0.026250, 0.021250, 0.019062
#*# tension = 0.2
#*# min_x = 30.0
#*# algo = bicubic
#*# y_count = 9
#*# mesh_y_pps = 2
#*# min_y = 30.0
#*# x_count = 9
#*# max_y = 320.0
#*# mesh_x_pps = 2
#*# max_x = 320.0
#*#
#*# [bed_mesh TEST-2]
#*# version = 1
#*# points =
#*# -0.045000, 0.002500, 0.017813, 0.021875, 0.008750, 0.010313, 0.002500, 0.021875, 0.040938
#*# -0.028437, 0.008438, 0.030625, 0.036563, 0.023750, 0.036250, 0.030625, 0.049688, 0.068750
#*# -0.025937, -0.001562, 0.013750, 0.018750, 0.011250, 0.020625, 0.019688, 0.038125, 0.055938
#*# -0.025000, -0.004062, 0.007813, 0.015625, 0.010625, 0.020625, 0.021875, 0.042188, 0.058125
#*# -0.021250, -0.008750, 0.000000, 0.004688, 0.000000, 0.007812, 0.012187, 0.035000, 0.050625
#*# -0.008438, -0.001563, 0.010937, 0.012187, 0.010625, 0.019375, 0.023125, 0.038125, 0.046875
#*# -0.003125, 0.000312, 0.009687, 0.006250, 0.004375, 0.009375, 0.009375, 0.021250, 0.033125
#*# 0.012500, 0.013750, 0.016875, 0.011562, 0.009062, 0.015000, 0.016875, 0.021875, 0.022500
#*# 0.033125, 0.028125, 0.023750, 0.017812, 0.015000, 0.021875, 0.027187, 0.022500, 0.020000
#*# tension = 0.2
#*# min_x = 30.0
#*# algo = bicubic
#*# y_count = 9
#*# mesh_y_pps = 2
#*# min_y = 30.0
#*# x_count = 9
#*# max_y = 320.0
#*# mesh_x_pps = 2
#*# max_x = 320.0
#*#
#*# [bed_mesh TEST_(1-2)]
#*# version = 1
#*# points =
#*# -0.003125, -0.001562, 0.000312, -0.001875, 0, -0.001563, -0.000625, -0.00125, 0.002812
#*# -0.001875, -0.000938, -0.00125, -0.000625, -0.00125, -0.00125, -0.000625, -0.000938, 0.002188
#*# -0.000938, 0, -0.000625, 0.001875, 0.001875, 0.001875, 0.002187, 0.0025, 0.002187
#*# 0.00125, 0.001875, 0, 0.000938, 0.001563, 0.000625, 0.002188, 0.001562, 0.000938
#*# 0.000313, 0.000938, 0.000313, 0, 0, 0.000313, 0.00125, 0.001875, -0.00125
#*# 0.000313, 0, 0.000938, 0.000938, 0.000625, 0.000625, -0.00125, -0.000313, -0.000625
#*# 0.000625, 0, 0.000938, -0.000313, -0.000625, 0.000625, -0.00125, 0.000312, 0
#*# -0.000938, -0.001875, -0.00125, -0.001875, -0.000937, 0.000312, -0.001563, 0, 0
#*# -0.000625, -0.00125, -0.00125, -0.001562, -0.001563, -0.00125, -0.000937, -0.00125, -0.000938
#*# tension = 0.2
#*# min_x = 30.0
#*# algo = bicubic
#*# y_count = 9
#*# mesh_y_pps = 2
#*# min_y = 30.0
#*# x_count = 9
#*# max_y = 320.0
#*# mesh_x_pps = 2
#*# max_x = 320.0
#*#
#*# [bed_mesh TEST-3]
#*# version = 1
#*# points =
#*# -0.049687, -0.003437, 0.012813, 0.015313, 0.004688, 0.003438, -0.003437, 0.015313, 0.034063
#*# -0.032812, 0.001563, 0.024688, 0.030625, 0.018438, 0.028750, 0.025313, 0.044063, 0.063125
#*# -0.027812, -0.005000, 0.010313, 0.016563, 0.008750, 0.017813, 0.017813, 0.035938, 0.052500
#*# -0.024375, -0.004687, 0.005938, 0.015313, 0.010313, 0.019688, 0.019688, 0.042188, 0.056563
#*# -0.020625, -0.008750, 0.000313, 0.004063, 0.000000, 0.007187, 0.011875, 0.034062, 0.049687
#*# -0.008438, -0.002188, 0.010937, 0.011250, 0.010625, 0.018437, 0.020937, 0.035312, 0.044687
#*# -0.003750, -0.001250, 0.008125, 0.004062, 0.003437, 0.007812, 0.007812, 0.019687, 0.027812
#*# 0.008437, 0.007500, 0.009687, 0.005000, 0.003437, 0.009375, 0.010625, 0.014687, 0.015000
#*# 0.025937, 0.019687, 0.013437, 0.007812, 0.003437, 0.009687, 0.014062, 0.008437, 0.004375
#*# tension = 0.2
#*# min_x = 30.0
#*# algo = bicubic
#*# y_count = 9
#*# mesh_y_pps = 2
#*# min_y = 30.0
#*# x_count = 9
#*# max_y = 320.0
#*# mesh_x_pps = 2
#*# max_x = 320.0
#*#
#*# [bed_mesh TEST-4]
#*# version = 1
#*# points =
#*# -0.060625, -0.010000, 0.009063, 0.011250, 0.002813, 0.003438, 0.000000, 0.018438, 0.040000
#*# -0.037500, -0.000625, 0.021875, 0.030625, 0.020000, 0.031875, 0.027813, 0.046875, 0.066875
#*# -0.032500, -0.008437, 0.008438, 0.014063, 0.008750, 0.017500, 0.017813, 0.035625, 0.056875
#*# -0.030000, -0.007812, 0.004375, 0.012188, 0.010625, 0.019375, 0.022500, 0.041875, 0.056250
#*# -0.024375, -0.012187, -0.002500, 0.002500, 0.000000, 0.007500, 0.012812, 0.034375, 0.050000
#*# -0.011250, -0.004688, 0.009375, 0.010937, 0.010000, 0.017500, 0.020000, 0.035625, 0.046875
#*# -0.006250, -0.002813, 0.006562, 0.003125, 0.002500, 0.007812, 0.007500, 0.018437, 0.027500
#*# 0.008750, 0.008750, 0.010937, 0.006562, 0.004375, 0.010937, 0.011562, 0.015000, 0.015625
#*# 0.026562, 0.022187, 0.016250, 0.010000, 0.006250, 0.012500, 0.016250, 0.010625, 0.007500
#*# tension = 0.2
#*# min_x = 30.0
#*# algo = bicubic
#*# y_count = 9
#*# mesh_y_pps = 2
#*# min_y = 30.0
#*# x_count = 9
#*# max_y = 320.0
#*# mesh_x_pps = 2
#*# max_x = 320.0
#*#
#*# [bed_mesh TEST-5]
#*# version = 1
#*# points =
#*# -0.026562, 0.016250, 0.030938, 0.018438, -0.021562, -0.028750, -0.035625, -0.034375, -0.031875
#*# 0.017188, 0.046563, 0.052813, 0.039375, 0.001875, -0.004375, -0.006875, -0.012187, -0.007500
#*# 0.025313, 0.038125, 0.041250, 0.029063, -0.001562, -0.009062, -0.012812, -0.016875, -0.021875
#*# 0.023750, 0.034063, 0.031563, 0.027500, -0.001562, -0.001875, -0.013125, 0.003750, -0.016562
#*# 0.038438, 0.038125, 0.034375, 0.027188, 0.000000, -0.003438, -0.008125, -0.001875, -0.015938
#*# 0.057812, 0.052812, 0.051875, 0.043437, 0.016875, 0.019687, 0.004687, 0.015000, -0.008750
#*# 0.069687, 0.061875, 0.055625, 0.038125, 0.014375, 0.013750, -0.001250, -0.000313, -0.022813
#*# 0.086875, 0.078750, 0.066875, 0.042500, 0.023437, 0.025000, 0.010625, 0.004375, -0.025000
#*# 0.109375, 0.095312, 0.076562, 0.050312, 0.031250, 0.034375, 0.021875, 0.002812, -0.032813
#*# tension = 0.2
#*# min_x = 30.0
#*# algo = bicubic
#*# y_count = 9
#*# mesh_y_pps = 2
#*# min_y = 30.0
#*# x_count = 9
#*# max_y = 320.0
#*# mesh_x_pps = 2
#*# max_x = 320.0
#*#
#*# [bed_mesh TEST-6]
#*# version = 1
#*# points =
#*# -0.025000, 0.013750, 0.027813, 0.007813, -0.026562, -0.035312, -0.041562, -0.040000, -0.041250
#*# 0.013125, 0.042188, 0.046875, 0.035938, 0.000625, -0.002812, -0.009687, -0.016562, -0.012812
#*# 0.020000, 0.036563, 0.040000, 0.028750, -0.001250, -0.008750, -0.013750, -0.018437, -0.024375
#*# 0.015625, 0.026563, 0.024375, 0.023125, -0.005625, -0.006250, -0.018125, -0.000625, -0.020312
#*# 0.033125, 0.032813, 0.030625, 0.022813, 0.000000, -0.002813, -0.008750, -0.003750, -0.020000
#*# 0.049687, 0.046875, 0.046562, 0.039375, 0.015625, 0.016875, 0.000937, 0.012500, -0.011250
#*# 0.060312, 0.054375, 0.049375, 0.033750, 0.011250, 0.010000, -0.005000, -0.006563, -0.029375
#*# 0.080625, 0.071875, 0.060000, 0.037500, 0.018750, 0.020625, 0.006875, -0.000313, -0.029375
#*# 0.100000, 0.083125, 0.065937, 0.040625, 0.024062, 0.028437, 0.018125, -0.003125, -0.037500
#*# tension = 0.2
#*# min_x = 30.0
#*# algo = bicubic
#*# y_count = 9
#*# mesh_y_pps = 2
#*# min_y = 30.0
#*# x_count = 9
#*# max_y = 320.0
#*# mesh_x_pps = 2
#*# max_x = 320.0
#*#
#*# [bed_mesh TEST-7]
#*# version = 1
#*# points =
#*# -0.018750, 0.022188, 0.037813, 0.016563, -0.019062, -0.027812, -0.034375, -0.033750, -0.032812
#*# 0.017813, 0.047813, 0.054688, 0.042188, 0.006563, 0.004063, -0.004062, -0.009687, -0.005625
#*# 0.023750, 0.041250, 0.045313, 0.034063, 0.002813, -0.004062, -0.009375, -0.013125, -0.020625
#*# 0.018438, 0.031875, 0.030938, 0.028438, -0.000312, -0.000312, -0.012812, 0.005938, -0.015312
#*# 0.034375, 0.035313, 0.034375, 0.025938, 0.000000, -0.002813, -0.007188, -0.000938, -0.016563
#*# 0.049375, 0.047187, 0.046562, 0.041562, 0.017187, 0.019375, 0.004375, 0.015312, -0.008438
#*# 0.060000, 0.054062, 0.048750, 0.035312, 0.012500, 0.012500, -0.001563, -0.002813, -0.027188
#*# 0.080000, 0.070937, 0.060312, 0.037500, 0.019687, 0.020937, 0.005937, -0.000625, -0.027813
#*# 0.102187, 0.086875, 0.069375, 0.047187, 0.029062, 0.032812, 0.020312, 0.001562, -0.035000
#*# tension = 0.2
#*# min_x = 30.0
#*# algo = bicubic
#*# y_count = 9
#*# mesh_y_pps = 2
#*# min_y = 30.0
#*# x_count = 9
#*# max_y = 320.0
#*# mesh_x_pps = 2
#*# max_x = 320.0
#*#
#*# [bed_mesh TEST-8]
#*# version = 1
#*# points =
#*# -0.031875, 0.013125, 0.025313, 0.008438, -0.029375, -0.034375, -0.041875, -0.041875, -0.038437
#*# 0.013125, 0.038750, 0.043125, 0.030938, -0.005937, -0.008750, -0.012812, -0.018125, -0.015625
#*# 0.017813, 0.032188, 0.036250, 0.024688, -0.004062, -0.014375, -0.017187, -0.021562, -0.026250
#*# 0.020625, 0.030313, 0.028750, 0.023438, -0.003750, -0.004375, -0.017187, -0.002812, -0.021875
#*# 0.038438, 0.035938, 0.032500, 0.024063, 0.000000, -0.003438, -0.011250, -0.005938, -0.022500
#*# 0.055937, 0.050937, 0.049062, 0.040937, 0.015937, 0.017187, 0.001250, 0.010312, -0.016250
#*# 0.069375, 0.061250, 0.055625, 0.037812, 0.014062, 0.012187, -0.005000, -0.006250, -0.030938
#*# 0.090937, 0.082500, 0.068750, 0.045000, 0.024687, 0.025937, 0.010000, 0.003437, -0.030938
#*# 0.117187, 0.101562, 0.081562, 0.055625, 0.035000, 0.037187, 0.024375, 0.001562, -0.035313
#*# tension = 0.2
#*# min_x = 30.0
#*# algo = bicubic
#*# y_count = 9
#*# mesh_y_pps = 2
#*# min_y = 30.0
#*# x_count = 9
#*# max_y = 320.0
#*# mesh_x_pps = 2
#*# max_x = 320.0