forked from Nighthawk3D/klipper_lcd_menu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtune_menu.cfg
170 lines (154 loc) · 3.94 KB
/
tune_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
### menu tune ###
[menu __main __tune]
type: list
enable: {printer.idle_timeout.state == "Printing"}
index: 2
name: Tune
[menu __main __tune __offsetz]
type: input
name: Offset Z:{'%05.3f' % menu.input}
input: {printer.gcode_move.homing_origin.z}
input_min: -5
input_max: 5
input_step: 0.005
realtime: True
gcode:
SET_GCODE_OFFSET Z={'%.3f' % menu.input} MOVE=1
[menu __main __tune __flow]
type: input
name: Flow: {'%3d' % (menu.input*100)}%
input: {printer.gcode_move.extrude_factor}
input_min: 0.01
input_max: 2
input_step: 0.01
realtime: True
gcode:
M221 S{'%d' % (menu.input*100)}
[menu __main __tune __speed]
type: input
name: Speed: {'%3d' % (menu.input*100)}%
input: {printer.gcode_move.speed_factor}
input_min: 0.01
input_max: 5
input_step: 0.01
realtime: True
gcode:
M220 S{'%d' % (menu.input*100)}
[menu __main __tune __fanspeed]
type: input
enable: {'fan' in printer}
name: Fan speed: {'%3d' % (menu.input*100)}%
input: {printer.fan.speed}
input_min: 0
input_max: 1
input_step: 0.01
gcode:
M106 S{'%d' % (menu.input*255)}
[menu __main __tune __firmwareretract]
type: list
name: Retraction
enable: {('firmware_retraction' in printer)}
[menu __main __tune __firmwareretract __retractdist]
type: input
name: Retract: {'%.2f' % menu.input}
input: {printer.firmware_retraction.retract_length}
input_min: 0
input_max: 10
input_step: 0.01
realtime: True
gcode:
SET_RETRACTION RETRACT_LENGTH={'%.2f' % menu.input}
[menu __main __tune __firmwareretract __unretractdist]
type: input
name: Unretract: {'%.2f' % menu.input}
input: {printer.firmware_retraction.unretract_extra_length}
input_min: 0
input_max: 5
input_step: 0.01
realtime: True
gcode:
SET_RETRACTION UNRETRACT_EXTRA_LENGTH={'%.2f' % menu.input}
[menu __main __tune __firmwareretract __retractspeed]
type: input
name: Ret_Speed:{'%1d' % menu.input}
input: {printer.firmware_retraction.retract_speed}
input_min: 0
input_max: 100
input_step: 1
realtime: True
gcode:
SET_RETRACTION RETRACT_SPEED={'%1d' % menu.input}
[menu __main __tune __firmwareretract __unretractspeed]
type: input
name: Unr_Speed:{'%1d' % menu.input}
input: {printer.firmware_retraction.unretract_speed}
input_min: 0
input_max: 100
input_step: 1
realtime: True
gcode:
SET_RETRACTION UNRETRACT_SPEED={'%1d' % menu.input}
[menu __main __tune __pressureadvance]
type: list
enable: {('extruder' in printer) and ('pressure_advance' in printer.extruder)}
name: Pressure Advance
[menu __main __tune __pressureadvance __pa]
type: input
name: Press_Adv:{'%.3f' % menu.input}
input: {printer.extruder.pressure_advance}
input_min: 0
input_max: 10
input_step: 0.001
realtime: True
gcode:
SET_PRESSURE_ADVANCE ADVANCE={'%f' % menu.input}
[menu __main __tune __pressureadvance __smooth]
type: input
name: PA_Smooth:{'%.2f' % menu.input}
input: {printer.extruder.smooth_time}
input_min: 0
input_max: 0.2
input_step: 0.01
realtime: True
gcode:
SET_PRESSURE_ADVANCE SMOOTH_TIME={'%f' % menu.input}
[menu __main __tune __printerlimits __maxvelocity]
type: input
name: Max_Veloc:{'%.d' % menu.input}
input: {printer.toolhead.max_velocity}
input_min: 1
input_max: 1000
input_step: 1
realtime: True
gcode:
SET_VELOCITY_LIMIT VELOCITY={'%d' % menu.input}
[menu __main __tune __printerlimits __maxaccel]
type: input
name: Max_Accel:{'%.d' % menu.input}
input: {printer.toolhead.max_accel}
input_min: 1
input_max: 10000
input_step: 10
realtime: True
gcode:
SET_VELOCITY_LIMIT ACCEL={'%d' % menu.input}
[menu __main __tune __printerlimits __maxacceltodecel]
type: input
name: Ac_To_Dec:{'%.d' % menu.input}
input: {printer.toolhead.max_accel_to_decel}
input_min: 1
input_max: 10000
input_step: 10
realtime: True
gcode:
SET_VELOCITY_LIMIT ACCEL_TO_DECEL={'%d' % menu.input}
[menu __main __tune __printerlimits __squarecornervelocity]
type: input
name: Sq_Co_Vel:{'%.d' % menu.input}
input: {printer.toolhead.square_corner_velocity}
input_min: 0
input_max: 100
input_step: 1
realtime: True
gcode:
SET_VELOCITY_LIMIT SQUARE_CORNER_VELOCITY={'%d' % menu.input}