-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathimproved_menu.cfg
264 lines (222 loc) · 4.86 KB
/
improved_menu.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
### Remove Octroprint
[menu __main __octoprint]
type: list
name: OctoPrint
enable: false
### Remove Octroprint END
### Remove Old Filament comamnds
[menu __main __filament __loadf]
enable: false
type: command
name: Load Fil. fast
gcode:
[menu __main __filament __loads]
enable: false
type: command
name: Load Fil. fast
gcode:
[menu __main __filament __unloadf]
enable: false
type: command
name: Load Fil. fast
gcode:
[menu __main __filament __unloads]
enable: false
type: command
name: Load Fil. fast
gcode:
[menu __main __filament __feed]
enable: false
type: input
name: Feed: {'%.1f' % menu.input}
input: 5
input_step: 0.1
### Remove Old Filament comamnds END
[menu __main __setup __calib]
type: list
name: Calibration
# remove delta
[menu __main __setup __calib __delta_calib_auto]
type: command
enable: false
name: Delta cal. auto
gcode:
G28
DELTA_CALIBRATE
[menu __main __setup __calib __delta_calib_man]
type: list
enable: false
name: Delta cal. man
[menu __main __setup __calib __bedprobe]
type: command
enable: false
#enable: {not printer.idle_timeout.state == "Printing"}
name: Bed probe
gcode: PROBE
[menu __main __setup __calib __delta_calib_man __start]
type: command
name: Start probing
enable: false
gcode:
G28
DELTA_CALIBRATE METHOD=manual
[menu __main __setup __calib __delta_calib_man __move_z]
type: input
name: Move Z: {'%03.2f' % menu.input}
input: {printer.gcode_move.gcode_position.z}
input_step: 1
realtime: True
enable: false
gcode:
{%- if menu.event == 'change' -%}
G1 Z{'%.2f' % menu.input}
{%- elif menu.event == 'long_click' -%}
G1 Z{'%.2f' % menu.input}
SAVE_GCODE_STATE NAME=__move__axis
G91
G1 Z2
G1 Z-2
RESTORE_GCODE_STATE NAME=__move__axis
{%- endif -%}
[menu __main __setup __calib __delta_calib_man __test_z]
type: input
name: Test Z: {['++','+','+.01','+.05','+.1','+.5','-.5','-.1','-.05','-.01','-','--'][menu.input|int]}
input: 6
input_min: 0
input_max: 11
input_step: 1
gcode:
{%- if menu.event == 'long_click' -%}
TESTZ Z={['++','+','+.01','+.05','+.1','+.5','-.5','-.1','-.05','-.01','-','--'][menu.input|int]}
{%- endif -%}
[menu __main __setup __calib __delta_calib_man __accept]
type: command
name: Accept
enable: false
gcode: ACCEPT
[menu __main __setup __calib __delta_calib_man __abort]
type: command
name: Abort
enable: false
gcode: ABORT
# remove delta END
[menu __main __setup __calib __probe]
type: list
name: Set Z Offset
[menu __main __setup __calib __probe __beginzpc]
type: command
enable: true
name: Calibrate Z-Probe
gcode:
MY_PROBE_CALIBRATE
[menu __main __setup __calib __probe __beginzesc]
type: command
enable: true
name: Calibrate Endstop
gcode:
_SOUND_YES
MY_ENDSTOP_CALIBRATE
[menu __main __setup __calib __probe __accept]
type: command
name: Accept
gcode:
ACCEPT
# WE REALLY WANT TO PUT THE TOOLHEAD SOMEWHEWRE SAFE BEFORE SAVE_CONFIG
PARK
[menu __main __setup __calib __probe __abort]
type: command
name: Abort
gcode:
ABORT
PARK
#action: back
[menu __main __setup __calib __probe __accuracy]
type: command
name: Test accuracy
gcode:
G28
PROBE_ACCURACY
[menu __main __setup __calib __save_config]
type: command
name: Save config
gcode:
SAVE_CONFIG
[menu __main __setup __calib __home_all_axes]
type: command
name: Home XYZ
gcode:
G28
#[menu __main __setup __calib __probe __zpos]
#type: command
#width: 16
#name: {"Z = 0:.3f" % toolhead.zpos }
#gcode:
# BEEP
#cursor: \x20
#parameter: toolhead.zpos
[menu __main __setup __calib __probe __testz_minus]
#cursor: \x20
type: command
#width: 7
name: " -"
gcode:
TESTZ Z=-
[menu __main __setup __calib __probe __testz_plus]
#cursor: \x20
type: command
name: " +"
#width: 7
gcode:
TESTZ Z=+
[menu __main __setup __calib __probe __testz_minus_minus]
#cursor: \x20
type: command
name: " --"
#width: 7
gcode:
TESTZ Z=--
[menu __main __setup __calib __probe __testz_plus_plus]
#cursor: \x20
type: command
name: " ++"
#width: 7
gcode:
TESTZ Z=++
[menu __main __setup __calib __probe __calibrate_testz_minus_1]
#cursor: \x20
type: command
name: " -1.0"
#width: 7
gcode:
TESTZ Z=-1
[menu __main __setup __calib __probe __calibrate_testz_plus_1]
#cursor: \x20
type: command
name: " +1.0"
#width: 7
gcode:
TESTZ Z=+1
[menu __main __setup __calib __probe __calibrate_testz_minus_point_1]
#cursor: \x20
type: command
name: " -0.1"
#width: 7
gcode:
TESTZ Z=-0.1
[menu __main __setup __calib __probe __calibrate_testz_plus_point_1]
#cursor: \x20
type: command
name: " +0.1"
#width: 7
gcode:
TESTZ Z=+0.1
[menu __main __control __park]
type: command
enable: {not printer.idle_timeout.state == "Printing"}
name: Park
gcode: PARK
[menu __main __control __present]
type: command
enable: {not printer.idle_timeout.state == "Printing"}
name: Present
gcode: PRESENT