-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom_menu_items.cfg
126 lines (109 loc) · 2.91 KB
/
custom_menu_items.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
#######################################################################################################################################
# This sample config assumes the following:
# You have implemented the nozzle_scrub.cfg in your macros and the gcode name is the same.
# This will provide the option to launch the macro from the display screen of your printer.
#######################################################################################################################################
# disable octoprint menu
[menu __main __octoprint]
type: disabled
[menu __main __setup]
type: disabled
[menu __main __tune]
type: disabled
[menu __main __sdcard]
type: disabled
[menu __main __control]
type: disabled
# add nozzle cleaning to the filament menu
[menu __main __filament __clean]
type: command
name: Clean Nozzle
gcode:
clean_nozzle
# redefine cooldown using my own macro
[menu __main __temp __cooldown __all]
type: command
enable: {('extruder' in printer) and ('heater_bed' in printer)}
name: Cooldown all
gcode:
COOLDOWN
# another redefine
[menu __main __temp __cooldown __hotend]
type: command
enable: {'extruder' in printer}
name: Cooldown hotend
gcode:
M106 S255
M109 S80
M107
M104 S0
####################################################
# redefine filament loading - 2x the amount (50 orig)
[menu __main __filament __loadf]
type: command
name: Load Fil. fast
gcode:
SAVE_GCODE_STATE NAME=__filament__load
M83
G1 E99 F500
RESTORE_GCODE_STATE NAME=__filament__load
[menu __main __filament __unloadf]
type: command
name: Unload Fil.fast
gcode:
SAVE_GCODE_STATE NAME=__filament__load
M83
G1 E-99 F500
RESTORE_GCODE_STATE NAME=__filament__load
[menu __main __filament __loads]
type: command
name: Load Fil. slow
gcode:
SAVE_GCODE_STATE NAME=__filament__load
M83
G1 E99 F240
RESTORE_GCODE_STATE NAME=__filament__load
[menu __main __filament __unloads]
type: command
name: Unload Fil.slow
gcode:
SAVE_GCODE_STATE NAME=__filament__load
M83
G1 E-99 F240
RESTORE_GCODE_STATE NAME=__filament__load
[menu __main __filament __cooldown]
type: command
enable: {'extruder' in printer}
name: Cooldown hotend
index: 4
gcode:
M106 S255
M109 S80
M107
M104 S0
####################################################
####################################################
### menu fans ###
[menu __main __fans]
type: list
name: Fans
index: 7
[menu __main __fans __nevermore]
type: input
name: Nevermore: {'%3d' % (menu.input*100)}%
input: {printer['fan_generic nevermore'].speed}
input_min: 0
input_max: 1
input_step: 0.05
gcode:
SET_FAN_SPEED FAN=nevermore SPEED={menu.input}
[menu __main __fans __exhaust]
type: input
name: Exhaust: {'%3d' % (menu.input*100)}%
input: {printer['fan_generic exhaust'].speed}
input_min: 0
input_max: 1
input_step: 0.05
gcode:
SET_FAN_SPEED FAN=exhaust SPEED={menu.input}
####################################################