-
Notifications
You must be signed in to change notification settings - Fork 1
/
mmu_klipperscreen.conf
658 lines (619 loc) · 22.4 KB
/
mmu_klipperscreen.conf
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
# Happy Hare KlipperScreen menus. Don't remove this line, installer needs it!
#
# Copyright (C) 2023 moggieuk#6538 (discord)
#
# Menu options:
# name, icon, panel, method, confirm, enable, params, style, NEW: show_disabled, refresh_on
#
# Additional functionality added with this MMU Happy Hare fork:
#
# Options:
# show_disabled - True will cause 'enable' logic to show button disabled rather than not display it
# refresh_on - List of printer variables to monitor real time for 'show_disabled'
#
# Menu name:
# can specify multiple roots, e.g. [menu __main,__print mymenu]
# will duplicate on both __main and __print menus
# (no space after comman)
#
# Useful for custom single purpose use (like dedicated SpoolMan display on filament rack)
# you can make any panel "sticky" (never changes without navigation) by adding the following.
# Caution: only intended for monitoring panels - NO NAVIGATION
# [main]
# sticky_panel: <panel_name>
#
[menu __main,__print mmu]
name: {{ gettext('MMU') }}
icon: mmu_carrot
panel: mmu_main
enable: {{ printer.mmu is defined and not klipperscreen.side_mmu_shortcut }}
[menu __main,__print mmu ttg]
name: {{ gettext('Manage TTG...') }}
icon: mmu_ttg_map
panel: mmu_toolmap
[menu __main,__print mmu filaments]
name: {{ gettext('Filaments...') }}
icon: mmu_filaments
panel: mmu_filaments
[menu __main,__print mmu spoolman]
name: {{ gettext('Spoolman...') }}
icon: spoolman
panel: mmu_spoolman
enable: {{ moonraker.spoolman }}
show_disabled: True
[menu __main,__print mmu preload_gates]
name: {{ gettext('Preload Gate...') }}
icon: mmu_reset
enable: {{ printer.idle_timeout.state != "Printing" }}
show_disabled: True
refresh_on: printer.idle_timeout.state
# Generated menus for each tool/gate...
[menu __main,__print mmu preload_gates PG0]
name: {{ gettext('Preload Gate #0') }}
icon: mmu_reset
method: printer.gcode.script
params: { "script":"MMU_PRELOAD GATE=0" }
enable: {{ printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.action
[menu __main,__print mmu preload_gates PG1]
name: {{ gettext('Preload Gate #1') }}
icon: mmu_reset
method: printer.gcode.script
params: { "script":"MMU_PRELOAD GATE=1" }
enable: {{ printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.action
[menu __main,__print mmu preload_gates PG2]
name: {{ gettext('Preload Gate #2') }}
icon: mmu_reset
method: printer.gcode.script
params: { "script":"MMU_PRELOAD GATE=2" }
enable: {{ printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.action
[menu __main,__print mmu preload_gates PG3]
name: {{ gettext('Preload Gate #3') }}
icon: mmu_reset
method: printer.gcode.script
params: { "script":"MMU_PRELOAD GATE=3" }
enable: {{ printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.action
[menu __main,__print mmu preload_gates PG4]
name: {{ gettext('Preload Gate #4') }}
icon: mmu_reset
method: printer.gcode.script
params: { "script":"MMU_PRELOAD GATE=4" }
enable: {{ printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.action
[menu __main,__print mmu preload_gates PG5]
name: {{ gettext('Preload Gate #5') }}
icon: mmu_reset
method: printer.gcode.script
params: { "script":"MMU_PRELOAD GATE=5" }
enable: {{ printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.action
[menu __main,__print mmu preload_gates PG6]
name: {{ gettext('Preload Gate #6') }}
icon: mmu_reset
method: printer.gcode.script
params: { "script":"MMU_PRELOAD GATE=6" }
enable: {{ printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.action
[menu __main,__print mmu preload_gates PG7]
name: {{ gettext('Preload Gate #7') }}
icon: mmu_reset
method: printer.gcode.script
params: { "script":"MMU_PRELOAD GATE=7" }
enable: {{ printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.action
[menu __main,__print mmu check_gates]
name: {{ gettext('Check Gate...') }}
icon: mmu_checkgates
enable: {{ printer.idle_timeout.state != "Printing" }}
show_disabled: True
refresh_on: printer.idle_timeout.state
# Generated menus for each tool/gate...
[menu __main,__print mmu check_gates CG0]
name: {{ gettext('Check Gate #0') }}
icon: mmu_checkgate0
method: printer.gcode.script
params: { "script":"MMU_CHECK_GATES GATE=0 QUIET=1" }
enable: {{ printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.action
[menu __main,__print mmu check_gates CG1]
name: {{ gettext('Check Gate #1') }}
icon: mmu_checkgate1
method: printer.gcode.script
params: { "script":"MMU_CHECK_GATES GATE=1 QUIET=1" }
enable: {{ printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.action
[menu __main,__print mmu check_gates CG2]
name: {{ gettext('Check Gate #2') }}
icon: mmu_checkgate2
method: printer.gcode.script
params: { "script":"MMU_CHECK_GATES GATE=2 QUIET=1" }
enable: {{ printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.action
[menu __main,__print mmu check_gates CG3]
name: {{ gettext('Check Gate #3') }}
icon: mmu_checkgate3
method: printer.gcode.script
params: { "script":"MMU_CHECK_GATES GATE=3 QUIET=1" }
enable: {{ printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.action
[menu __main,__print mmu check_gates CG4]
name: {{ gettext('Check Gate #4') }}
icon: mmu_checkgate4
method: printer.gcode.script
params: { "script":"MMU_CHECK_GATES GATE=4 QUIET=1" }
enable: {{ printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.action
[menu __main,__print mmu check_gates CG5]
name: {{ gettext('Check Gate #5') }}
icon: mmu_checkgate5
method: printer.gcode.script
params: { "script":"MMU_CHECK_GATES GATE=5 QUIET=1" }
enable: {{ printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.action
[menu __main,__print mmu check_gates CG6]
name: {{ gettext('Check Gate #6') }}
icon: mmu_checkgate6
method: printer.gcode.script
params: { "script":"MMU_CHECK_GATES GATE=6 QUIET=1" }
enable: {{ printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.action
[menu __main,__print mmu check_gates CG7]
name: {{ gettext('Check Gate #7') }}
icon: mmu_checkgate7
method: printer.gcode.script
params: { "script":"MMU_CHECK_GATES GATE=7 QUIET=1" }
enable: {{ printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.action
[menu __main,__print mmu tools]
name: {{ gettext('Load Tool...') }}
icon: extruder
enable: {{ printer.idle_timeout.state != "Printing" }}
show_disabled: True
refresh_on: printer.idle_timeout.state
# Generated menus for each tool/gate...
[menu __main,__print mmu tools T0]
name: {{ gettext('T0') }}
icon: mmu_t0
method: printer.gcode.script
params: { "script":"MMU_CHANGE_TOOL TOOL=0 QUIET=1" }
enable: {{ (printer.mmu.tool != 0 or (printer.mmu.tool == 0 and printer.mmu.filament != "Loaded")) and printer.mmu.gate_status[0] != 0 and printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.tool, printer.mmu.gate_status, printer.mmu.filament, printer.mmu.action
[menu __main,__print mmu tools T1]
name: {{ gettext('T1') }}
icon: mmu_t1
method: printer.gcode.script
params: { "script":"MMU_CHANGE_TOOL TOOL=1 QUIET=1" }
enable: {{ (printer.mmu.tool != 1 or (printer.mmu.tool == 1 and printer.mmu.filament != "Loaded")) and printer.mmu.gate_status[1] != 0 and printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.tool, printer.mmu.gate_status, printer.mmu.filament, printer.mmu.action
[menu __main,__print mmu tools T2]
name: {{ gettext('T2') }}
icon: mmu_t2
method: printer.gcode.script
params: { "script":"MMU_CHANGE_TOOL TOOL=2 QUIET=1" }
enable: {{ (printer.mmu.tool != 2 or (printer.mmu.tool == 2 and printer.mmu.filament != "Loaded")) and printer.mmu.gate_status[2] != 0 and printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.tool, printer.mmu.gate_status, printer.mmu.filament, printer.mmu.action
[menu __main,__print mmu tools T3]
name: {{ gettext('T3') }}
icon: mmu_t3
method: printer.gcode.script
params: { "script":"MMU_CHANGE_TOOL TOOL=3 QUIET=1" }
enable: {{ (printer.mmu.tool != 3 or (printer.mmu.tool == 3 and printer.mmu.filament != "Loaded")) and printer.mmu.gate_status[3] != 0 and printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.tool, printer.mmu.gate_status, printer.mmu.filament, printer.mmu.action
[menu __main,__print mmu tools T4]
name: {{ gettext('T4') }}
icon: mmu_t4
method: printer.gcode.script
params: { "script":"MMU_CHANGE_TOOL TOOL=4 QUIET=1" }
enable: {{ (printer.mmu.tool != 4 or (printer.mmu.tool == 4 and printer.mmu.filament != "Loaded")) and printer.mmu.gate_status[4] != 0 and printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.tool, printer.mmu.gate_status, printer.mmu.filament, printer.mmu.action
[menu __main,__print mmu tools T5]
name: {{ gettext('T5') }}
icon: mmu_t5
method: printer.gcode.script
params: { "script":"MMU_CHANGE_TOOL TOOL=5 QUIET=1" }
enable: {{ (printer.mmu.tool != 5 or (printer.mmu.tool == 5 and printer.mmu.filament != "Loaded")) and printer.mmu.gate_status[5] != 0 and printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.tool, printer.mmu.gate_status, printer.mmu.filament, printer.mmu.action
[menu __main,__print mmu tools T6]
name: {{ gettext('T6') }}
icon: mmu_t6
method: printer.gcode.script
params: { "script":"MMU_CHANGE_TOOL TOOL=6 QUIET=1" }
enable: {{ (printer.mmu.tool != 6 or (printer.mmu.tool == 6 and printer.mmu.filament != "Loaded")) and printer.mmu.gate_status[6] != 0 and printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.tool, printer.mmu.gate_status, printer.mmu.filament, printer.mmu.action
[menu __main,__print mmu tools T7]
name: {{ gettext('T7') }}
icon: mmu_t7
method: printer.gcode.script
params: { "script":"MMU_CHANGE_TOOL TOOL=7 QUIET=1" }
enable: {{ (printer.mmu.tool != 7 or (printer.mmu.tool == 7 and printer.mmu.filament != "Loaded")) and printer.mmu.gate_status[7] != 0 and printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.tool, printer.mmu.gate_status, printer.mmu.filament, printer.mmu.action
# Example: to just select the tool (not load)
#[menu __main,__print mmu select_tools]
#name: {{ gettext('Select Tool...') }}
#icon: extruder
#enable: {{ printer.idle_timeout.state != "Printing" }}
#show_disabled: True
#refresh_on: printer.idle_timeout.state
#
#MMU_iter_select_tools
[menu __main,__print mmu select_gates]
name: {{ gettext('Select Gate...') }}
icon: mmu_select_gate
enable: {{ printer.idle_timeout.state != "Printing" }}
show_disabled: True
refresh_on: printer.idle_timeout.state
[menu __main,__print mmu select_gates bypass}]
name: {{ gettext('Select Bypass') }}
icon: mmu_select_bypass
method: printer.gcode.script
params: {"script":"MMU_SELECT_BYPASS"}
enable: {{ printer.mmu.gate != -2 and printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.gate, printer.mmu.action
# Generated menus for each tool/gate...
[menu __main,__print mmu select_gates G0]
name: {{ gettext('Select Gate #0') }}
icon: mmu_select_gate
method: printer.gcode.script
params: { "script":"MMU_SELECT GATE=0" }
enable: {{ printer.mmu.gate != 0 and printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.gate, printer.mmu.action
[menu __main,__print mmu select_gates G1]
name: {{ gettext('Select Gate #1') }}
icon: mmu_select_gate
method: printer.gcode.script
params: { "script":"MMU_SELECT GATE=1" }
enable: {{ printer.mmu.gate != 1 and printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.gate, printer.mmu.action
[menu __main,__print mmu select_gates G2]
name: {{ gettext('Select Gate #2') }}
icon: mmu_select_gate
method: printer.gcode.script
params: { "script":"MMU_SELECT GATE=2" }
enable: {{ printer.mmu.gate != 2 and printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.gate, printer.mmu.action
[menu __main,__print mmu select_gates G3]
name: {{ gettext('Select Gate #3') }}
icon: mmu_select_gate
method: printer.gcode.script
params: { "script":"MMU_SELECT GATE=3" }
enable: {{ printer.mmu.gate != 3 and printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.gate, printer.mmu.action
[menu __main,__print mmu select_gates G4]
name: {{ gettext('Select Gate #4') }}
icon: mmu_select_gate
method: printer.gcode.script
params: { "script":"MMU_SELECT GATE=4" }
enable: {{ printer.mmu.gate != 4 and printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.gate, printer.mmu.action
[menu __main,__print mmu select_gates G5]
name: {{ gettext('Select Gate #5') }}
icon: mmu_select_gate
method: printer.gcode.script
params: { "script":"MMU_SELECT GATE=5" }
enable: {{ printer.mmu.gate != 5 and printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.gate, printer.mmu.action
[menu __main,__print mmu select_gates G6]
name: {{ gettext('Select Gate #6') }}
icon: mmu_select_gate
method: printer.gcode.script
params: { "script":"MMU_SELECT GATE=6" }
enable: {{ printer.mmu.gate != 6 and printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.gate, printer.mmu.action
[menu __main,__print mmu select_gates G7]
name: {{ gettext('Select Gate #7') }}
icon: mmu_select_gate
method: printer.gcode.script
params: { "script":"MMU_SELECT GATE=7" }
enable: {{ printer.mmu.gate != 7 and printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.gate, printer.mmu.action
[menu __main,__print mmu status]
name: {{ gettext('Display Status') }}
icon: info
method: printer.gcode.script
params: {"script":"MMU_STATUS"}
enable: {{ printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.action
[menu __main,__print mmu print]
name: {{ gettext('Print Stats') }}
icon: mmu_status
method: printer.gcode.script
params: {"script":"MMU_STATS"}
enable: {{ printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.action
[menu __main,__print mmu reset]
name: {{ gettext('Reset Stats') }}
icon: mmu_stats_reset
method: printer.gcode.script
confirm: Are you sure you want to reset MMU statistics?
params: {"script":"MMU_STATS RESET=1"}
enable: {{ printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.action
[menu __main,__print mmu enable_endless_spool]
name: {{ gettext('Enable E.Spool') }}
icon: mmu_enable_endless_spool
method: printer.gcode.script
params: {"script":"MMU_ENDLESS_SPOOL ENABLE=1"}
enable: {{ printer.mmu.endless_spool == 0 }}
show_disabled: True
refresh_on: printer.mmu.endless_spool
[menu __main,__print mmu disable_endless_spool]
name: {{ gettext('Disable E.Spool') }}
icon: mmu_disable_endless_spool
method: printer.gcode.script
params: {"script":"MMU_ENDLESS_SPOOL ENABLE=0"}
enable: {{ printer.mmu.endless_spool == 1 }}
show_disabled: True
refresh_on: printer.mmu.endless_spool
[menu __main,__print mmu led_disable]
name: {{ gettext('Disable LED') }}
icon: mmu_led_disable
method: printer.gcode.script
params: {"script":"MMU_LED ENABLE=0 QUIET=1"}
enable: {{ printer.mmu.enabled == 1 and not printer.mmu.print_state == "standby" }}
show_disabled: True
refresh_on: printer.mmu.enabled, printer.mmu.print_state
[menu __main,__print mmu led_gate_status]
name: {{ gettext('LED Gate Status') }}
icon: mmu_led_gate_status
method: printer.gcode.script
params: {"script":"MMU_LED ENABLE=1 EXIT_EFFECT=gate_status QUIET=1"}
enable: {{ printer.mmu.enabled == 1 and not printer.mmu.print_state == "standby" }}
show_disabled: True
refresh_on: printer.mmu.enabled, printer.mmu.print_state
[menu __main,__print mmu led_filament_color]
name: {{ gettext('LED Fil. Color') }}
icon: mmu_led_filament_color
method: printer.gcode.script
params: {"script":"MMU_LED ENABLE=1 EXIT_EFFECT=filament_color QUIET=1"}
enable: {{ printer.mmu.enabled == 1 and not printer.mmu.print_state == "standby" }}
show_disabled: True
refresh_on: printer.mmu.enabled, printer.mmu.print_state
# Example: User added ...
[menu __main,__print mmu spare1]
name: {{ gettext('user def') }}
icon: mmu_carrot
enable: False
show_disabled: False
# Examples: for basic management
#[menu __main,__print mmu home]
#name: {{ gettext('Home Selector') }}
#icon: home
#method: printer.gcode.script
#params: {"script":"MMU_HOME"}
#
#[menu __main,__print mmu servoup]
#name: {{ gettext('Servo UP') }}
#icon: arrow-up
#method: printer.gcode.script
#params: {"script":"MMU_SERVO POS=up"}
#enable: {{ printer.mmu.servo != "Up" }}
#show_disabled: True
#refresh_on: printer.mmu.servo
#
#[menu __main,__print mmu servodown]
#name: {{ gettext('Servo Down') }}
#icon: arrow-down
#method: printer.gcode.script
#params: {"script":"MMU_SERVO POS=down"}
#enable: {{ printer.mmu.servo != "Down" }}
#show_disabled: True
#refresh_on: printer.mmu.servo
#
#[menu __main,__print mmu motoroff]
#name: {{ gettext('Disable Motors') }}
#icon: motor-off
#method: printer.gcode.script
#confirm: "This will invalidate selector position and require rehoming. Are you sure?"
#params: {"script":"MMU_MOTORS_OFF"}
#
# ---------- MMU Manage submenu end
# ---------- MMU config/calibration menu
#
[menu __main more mmu_calib]
name: {{ gettext('MMU Setup') }}
icon: mmu_gear
enable: {{ printer.mmu is defined }}
[menu __main more mmu_calib home]
name: {{ gettext('Home') }}
icon: home
method: printer.gcode.script
params: {"script":"MMU_HOME"}
[menu __main more mmu_calib select_gates]
name: {{ gettext('Select Gate...') }}
icon: mmu_select_gate
# Generated menus for each tool/gate...
[menu __main more mmu_calib select_gates G0]
name: {{ gettext('Select Gate #0') }}
icon: mmu_select_gate
method: printer.gcode.script
params: { "script":"MMU_SELECT GATE=0" }
enable: {{ printer.mmu.gate != 0 and printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.gate, printer.mmu.action
[menu __main more mmu_calib select_gates G1]
name: {{ gettext('Select Gate #1') }}
icon: mmu_select_gate
method: printer.gcode.script
params: { "script":"MMU_SELECT GATE=1" }
enable: {{ printer.mmu.gate != 1 and printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.gate, printer.mmu.action
[menu __main more mmu_calib select_gates G2]
name: {{ gettext('Select Gate #2') }}
icon: mmu_select_gate
method: printer.gcode.script
params: { "script":"MMU_SELECT GATE=2" }
enable: {{ printer.mmu.gate != 2 and printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.gate, printer.mmu.action
[menu __main more mmu_calib select_gates G3]
name: {{ gettext('Select Gate #3') }}
icon: mmu_select_gate
method: printer.gcode.script
params: { "script":"MMU_SELECT GATE=3" }
enable: {{ printer.mmu.gate != 3 and printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.gate, printer.mmu.action
[menu __main more mmu_calib select_gates G4]
name: {{ gettext('Select Gate #4') }}
icon: mmu_select_gate
method: printer.gcode.script
params: { "script":"MMU_SELECT GATE=4" }
enable: {{ printer.mmu.gate != 4 and printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.gate, printer.mmu.action
[menu __main more mmu_calib select_gates G5]
name: {{ gettext('Select Gate #5') }}
icon: mmu_select_gate
method: printer.gcode.script
params: { "script":"MMU_SELECT GATE=5" }
enable: {{ printer.mmu.gate != 5 and printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.gate, printer.mmu.action
[menu __main more mmu_calib select_gates G6]
name: {{ gettext('Select Gate #6') }}
icon: mmu_select_gate
method: printer.gcode.script
params: { "script":"MMU_SELECT GATE=6" }
enable: {{ printer.mmu.gate != 6 and printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.gate, printer.mmu.action
[menu __main more mmu_calib select_gates G7]
name: {{ gettext('Select Gate #7') }}
icon: mmu_select_gate
method: printer.gcode.script
params: { "script":"MMU_SELECT GATE=7" }
enable: {{ printer.mmu.gate != 7 and printer.mmu.action == "Idle" }}
show_disabled: True
refresh_on: printer.mmu.gate, printer.mmu.action
[menu __main more mmu_calib grip]
name: {{ gettext('Test Grip') }}
icon: mmu_grip
method: printer.gcode.script
params: {"script":"MMU_TEST_GRIP"}
[menu __main more mmu_calib formtip]
name: {{ gettext('Form Tip') }}
icon: mmu_formtip
method: printer.gcode.script
params: {"script":"MMU_FORM_TIP"}
[menu __main more mmu_calib servoup]
name: {{ gettext('Servo UP') }}
icon: arrow-up
method: printer.gcode.script
params: {"script":"MMU_SERVO POS=up"}
enable: {{ printer.mmu.servo != "Up" }}
show_disabled: True
refresh_on: printer.mmu.servo
[menu __main more mmu_calib servomove]
name: {{ gettext('Servo MOVE') }}
icon: arrow-right
method: printer.gcode.script
params: {"script":"MMU_SERVO POS=move"}
enable: {{ printer.mmu.servo != "Move" }}
show_disabled: True
refresh_on: printer.mmu.servo
[menu __main more mmu_calib servodown]
name: {{ gettext('Servo DOWN') }}
icon: arrow-down
method: printer.gcode.script
params: {"script":"MMU_SERVO POS=down"}
enable: {{ printer.mmu.servo != "Down" }}
show_disabled: True
refresh_on: printer.mmu.servo
[menu __main more mmu_calib encoder]
name: {{ gettext('Cal. Encoder') }}
icon: mmu_encodercal
method: printer.gcode.script
params: {"script":"MMU_CALIBRATE_ENCODER"}
[menu __main more mmu_calib all]
name: {{ gettext('Calibrate ALL') }}
icon: extruder
method: printer.gcode.script
confirm: This will calibrate all gates. Are you sure?
params: {"script":"MMU_CALIBRATE_GATES ALL=1"}
[menu __main more mmu_calib gate]
name: {{ gettext('Cal. Gate...') }}
icon: mmu_calibrate
# Generated menus for each tool/gate...
[menu __main more mmu_calib gate CG0]
name: {{ gettext('Calibrate #0') }}
icon: mmu_calibrate
method: printer.gcode.script
params: { "script":"MMU_CALIBRATE_GATES GATE=0" }
[menu __main more mmu_calib gate CG1]
name: {{ gettext('Calibrate #1') }}
icon: mmu_calibrate
method: printer.gcode.script
params: { "script":"MMU_CALIBRATE_GATES GATE=1" }
[menu __main more mmu_calib gate CG2]
name: {{ gettext('Calibrate #2') }}
icon: mmu_calibrate
method: printer.gcode.script
params: { "script":"MMU_CALIBRATE_GATES GATE=2" }
[menu __main more mmu_calib gate CG3]
name: {{ gettext('Calibrate #3') }}
icon: mmu_calibrate
method: printer.gcode.script
params: { "script":"MMU_CALIBRATE_GATES GATE=3" }
[menu __main more mmu_calib gate CG4]
name: {{ gettext('Calibrate #4') }}
icon: mmu_calibrate
method: printer.gcode.script
params: { "script":"MMU_CALIBRATE_GATES GATE=4" }
[menu __main more mmu_calib gate CG5]
name: {{ gettext('Calibrate #5') }}
icon: mmu_calibrate
method: printer.gcode.script
params: { "script":"MMU_CALIBRATE_GATES GATE=5" }
[menu __main more mmu_calib gate CG6]
name: {{ gettext('Calibrate #6') }}
icon: mmu_calibrate
method: printer.gcode.script
params: { "script":"MMU_CALIBRATE_GATES GATE=6" }
[menu __main more mmu_calib gate CG7]
name: {{ gettext('Calibrate #7') }}
icon: mmu_calibrate
method: printer.gcode.script
params: { "script":"MMU_CALIBRATE_GATES GATE=7" }
#
# ---------- MMU config/calibration end