-
Notifications
You must be signed in to change notification settings - Fork 2
/
menu_calibration.cfg
193 lines (167 loc) · 3.8 KB
/
menu_calibration.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
# Adds a calibration menu item, inspiration from /u/VonThing
[menu __calibration]
type: list
name: Calibration
items:
__calibration_test_bltouch
__calibration_reset_bltouch
__calibration_home_all_axes
__calibration_bed_screws_adjust
__calibration_bed_mesh_calibrate
__calibration_screws_calculate
__calibration_probe_calibrate
__calibration_probe_accuracy
__general_firmware_restart
[menu __calibration_accept]
type: command
name: Accept
gcode: ACCEPT
[menu __calibration_abort]
type: command
name: Abort
gcode: ABORT
action: back
[menu __calibration_test_bltouch]
type: command
name: Test BLTouch
gcode: BLTOUCH_DEBUG COMMAND=self_test
[menu __calibration_reset_bltouch]
type: command
name: Test BLTouch
gcode: BLTOUCH_DEBUG COMMAND=reset
[menu __calibration_screws_calculate]
type: command
name: Screw tilt calculate
gcode:
G28
SCREWS_TILT_CALCULATE
[menu __calibration_bed_screws_adjust]
type: list
name: Adjust screws
enter_gcode:
G28
BED_SCREWS_ADJUST
show_back: False
items:
__calibration_accept
__calibration_bed_screws_adjust_adjusted
__calibration_save_config
__calibration_abort
[menu __calibration_probe_accuracy]
type: command
name: Test accuracy
gcode:
G28
G0 X164 Y134 Z10 F6000
PROBE_ACCURACY
[menu __calibration_save_config]
type: command
name: Save config
gcode: SAVE_CONFIG
[menu __general_firmware_restart]
type: command
name: Restart firmware
gcode: FIRMWARE_RESTART
[menu __calibration_home_all_axes]
type: command
name: Home XYZ
gcode: G28
[menu __calibration_bed_screws_adjust_adjusted]
type: command
name: Adjusted
gcode: ADJUSTED
[menu __calibration_probe_calibrate]
type: list
show_back: False
name: Adjust Z offset
enter_gcode:
G28
G0 Z10 F6000
PROBE_CALIBRATE
items:
__calibration__toolhead_zpos
__calibration_probe_calibrate_testz_minus, __calibration_probe_calibrate_testz_plus
__calibration_probe_calibrate_testz_minus_minus, __calibration_probe_calibrate_testz_plus_plus
__calibration_probe_calibrate_testz_minus_1, __calibration_probe_calibrate_testz_plus_1
__calibration_probe_calibrate_testz_minus_point_1, __calibration_probe_calibrate_testz_plus_point_1
__calibration_accept
__calibration_save_config
__calibration_abort
[menu __calibration__toolhead_zpos]
type: item
width: 16
name: "Z = {0:.3f}"
cursor: \x20
parameter: toolhead.zpos
[menu __calibration_probe_calibrate_testz_minus]
cursor: \x20
type: command
width: 7
name: " -"
gcode: TESTZ Z=-
[menu __calibration_probe_calibrate_testz_plus]
cursor: \x20
type: command
name: " +"
width: 7
gcode: TESTZ Z=+
[menu __calibration_probe_calibrate_testz_minus_minus]
cursor: \x20
type: command
name: " --"
width: 7
gcode: TESTZ Z=--
[menu __calibration_probe_calibrate_testz_plus_plus]
cursor: \x20
type: command
name: " ++"
width: 7
gcode: TESTZ Z=++
[menu __calibration_probe_calibrate_testz_minus_1]
cursor: \x20
type: command
name: " -1.0"
width: 7
gcode: TESTZ Z=-1
[menu __calibration_probe_calibrate_testz_plus_1]
cursor: \x20
type: command
name: " +1.0"
width: 7
gcode: TESTZ Z=+1
[menu __calibration_probe_calibrate_testz_minus_point_1]
cursor: \x20
type: command
name: " -0.1"
width: 7
gcode: TESTZ Z=-0.1
[menu __calibration_probe_calibrate_testz_plus_point_1]
cursor: \x20
type: command
name: " +0.1"
width: 7
gcode: TESTZ Z=+0.1
[menu __calibration_bed_mesh_calibrate]
type: command
name: Generate bed mesh
width: 18
gcode:
G29
SAVE_CONFIG
FIRMWARE_RESTART
# items:
# __calibration_card_bed_mesh
# [menu __calibration_card_bed_mesh]
# type: card
# name: Calibration card
# content:
# "{0}"
# ""
# " Will reboot"
# " when complete"
# items:
# __calibration_bed_mesh_calibrate_text_1
# [menu __calibration_bed_mesh_calibrate_text_1]
# type: item
# name: " [In progress]"
# cursor: \x20