Ver código fonte

Add 0.025mm Manual Move for Z (#14456)

Tanguy Pruvot 6 anos atrás
pai
commit
ca7f56e60b

+ 1
- 0
Marlin/src/lcd/language/language_an.h Ver arquivo

@@ -72,6 +72,7 @@
72 72
 #define MSG_MOVE_Y                          _UxGT("Mover Y")
73 73
 #define MSG_MOVE_Z                          _UxGT("Mover Z")
74 74
 #define MSG_MOVE_E                          _UxGT("Extrusor")
75
+#define MSG_MOVE_0025MM                     _UxGT("Mover 0.025mm")
75 76
 #define MSG_MOVE_01MM                       _UxGT("Mover 0.1mm")
76 77
 #define MSG_MOVE_1MM                        _UxGT("Mover 1mm")
77 78
 #define MSG_MOVE_10MM                       _UxGT("Mover 10mm")

+ 1
- 0
Marlin/src/lcd/language/language_bg.h Ver arquivo

@@ -62,6 +62,7 @@
62 62
 #define MSG_MOVE_Y                          _UxGT("Движение по Y")
63 63
 #define MSG_MOVE_Z                          _UxGT("Движение по Z")
64 64
 #define MSG_MOVE_E                          _UxGT("Екструдер")
65
+#define MSG_MOVE_0025MM                     _UxGT("Премести с 0.025mm")
65 66
 #define MSG_MOVE_01MM                       _UxGT("Премести с 0.1mm")
66 67
 #define MSG_MOVE_1MM                        _UxGT("Премести с 1mm")
67 68
 #define MSG_MOVE_10MM                       _UxGT("Премести с 10mm")

+ 1
- 0
Marlin/src/lcd/language/language_ca.h Ver arquivo

@@ -76,6 +76,7 @@
76 76
 #define MSG_MOVE_Y                          _UxGT("Mou Y")
77 77
 #define MSG_MOVE_Z                          _UxGT("Mou Z")
78 78
 #define MSG_MOVE_E                          _UxGT("Extrusor")
79
+#define MSG_MOVE_0025MM                     _UxGT("Mou 0.025mm")
79 80
 #define MSG_MOVE_01MM                       _UxGT("Mou 0.1mm")
80 81
 #define MSG_MOVE_1MM                        _UxGT("Mou 1mm")
81 82
 #define MSG_MOVE_10MM                       _UxGT("Mou 10mm")

+ 1
- 0
Marlin/src/lcd/language/language_cz.h Ver arquivo

@@ -202,6 +202,7 @@
202 202
 #define MSG_MOVE_Z                          _UxGT("Posunout Z")
203 203
 #define MSG_MOVE_E                          _UxGT("Extrudér")
204 204
 #define MSG_HOTEND_TOO_COLD                 _UxGT("Hotend je studený")
205
+#define MSG_MOVE_0025MM                     _UxGT("Posunout o 0,025mm")
205 206
 #define MSG_MOVE_01MM                       _UxGT("Posunout o 0,1mm")
206 207
 #define MSG_MOVE_1MM                        _UxGT("Posunout o 1mm")
207 208
 #define MSG_MOVE_10MM                       _UxGT("Posunout o 10mm")

+ 1
- 0
Marlin/src/lcd/language/language_da.h Ver arquivo

@@ -72,6 +72,7 @@
72 72
 #define MSG_MOVE_Y                          _UxGT("Flyt Y")
73 73
 #define MSG_MOVE_Z                          _UxGT("Flyt Z")
74 74
 #define MSG_MOVE_E                          _UxGT("Extruder")
75
+#define MSG_MOVE_0025MM                     _UxGT("Flyt 0.025mm")
75 76
 #define MSG_MOVE_01MM                       _UxGT("Flyt 0.1mm")
76 77
 #define MSG_MOVE_1MM                        _UxGT("Flyt 1mm")
77 78
 #define MSG_MOVE_10MM                       _UxGT("Flyt 10mm")

+ 1
- 0
Marlin/src/lcd/language/language_de.h Ver arquivo

@@ -195,6 +195,7 @@
195 195
 #define MSG_MOVE_Z                          _UxGT("Bewege Z")
196 196
 #define MSG_MOVE_E                          _UxGT("Bewege Extruder")
197 197
 #define MSG_HOTEND_TOO_COLD                 _UxGT("Hotend zu kalt")
198
+#define MSG_MOVE_0025MM                     _UxGT(" 0,025 mm")
198 199
 #define MSG_MOVE_01MM                       _UxGT(" 0,1 mm")
199 200
 #define MSG_MOVE_1MM                        _UxGT(" 1,0 mm")
200 201
 #define MSG_MOVE_10MM                       _UxGT("10,0 mm")

+ 1
- 0
Marlin/src/lcd/language/language_el-gr.h Ver arquivo

@@ -72,6 +72,7 @@
72 72
 #define MSG_MOVE_Y                          _UxGT("Μετακίνηση Y")
73 73
 #define MSG_MOVE_Z                          _UxGT("Μετακίνηση Z")
74 74
 #define MSG_MOVE_E                          _UxGT("Εξωθητήρας")
75
+#define MSG_MOVE_0025MM                     _UxGT("Μετακίνηση 0,025 μμ")
75 76
 #define MSG_MOVE_01MM                       _UxGT("Μετακίνηση 0,1 μμ")
76 77
 #define MSG_MOVE_1MM                        _UxGT("Μετακίνηση 1 μμ")
77 78
 #define MSG_MOVE_10MM                       _UxGT("Μετακίνηση 10 μμ")

+ 4
- 3
Marlin/src/lcd/language/language_el.h Ver arquivo

@@ -72,9 +72,10 @@
72 72
 #define MSG_MOVE_Y                          _UxGT("Μετακίνηση Y")
73 73
 #define MSG_MOVE_Z                          _UxGT("Μετακίνηση Z")
74 74
 #define MSG_MOVE_E                          _UxGT("Εξωθητήρας")
75
-#define MSG_MOVE_01MM                       _UxGT("Μετακίνηση 0,1μμ")
76
-#define MSG_MOVE_1MM                        _UxGT("Μετακίνηση 1μμ")
77
-#define MSG_MOVE_10MM                       _UxGT("Μετακίνηση 10μμ")
75
+#define MSG_MOVE_0025MM                     _UxGT("Μετακίνηση 0,025 μμ")
76
+#define MSG_MOVE_01MM                       _UxGT("Μετακίνηση 0,1 μμ")
77
+#define MSG_MOVE_1MM                        _UxGT("Μετακίνηση 1 μμ")
78
+#define MSG_MOVE_10MM                       _UxGT("Μετακίνηση 10 μμ")
78 79
 #define MSG_SPEED                           _UxGT("Ταχύτητα")
79 80
 #define MSG_BED_Z                           _UxGT("Επ. Εκτύπωσης Z")
80 81
 #define MSG_NOZZLE                          _UxGT("Ακροφύσιο")

+ 3
- 0
Marlin/src/lcd/language/language_en.h Ver arquivo

@@ -543,6 +543,9 @@
543 543
 #ifndef MSG_HOTEND_TOO_COLD
544 544
   #define MSG_HOTEND_TOO_COLD                 _UxGT("Hotend too cold")
545 545
 #endif
546
+#ifndef MSG_MOVE_0025MM
547
+  #define MSG_MOVE_0025MM                     _UxGT("Move 0.025mm")
548
+#endif
546 549
 #ifndef MSG_MOVE_01MM
547 550
   #define MSG_MOVE_01MM                       _UxGT("Move 0.1mm")
548 551
 #endif

+ 1
- 0
Marlin/src/lcd/language/language_es.h Ver arquivo

@@ -80,6 +80,7 @@
80 80
 #define MSG_MOVE_Y                          _UxGT("Mover Y")
81 81
 #define MSG_MOVE_Z                          _UxGT("Mover Z")
82 82
 #define MSG_MOVE_E                          _UxGT("Extrusor")
83
+#define MSG_MOVE_0025MM                     _UxGT("Mover 0.025mm")
83 84
 #define MSG_MOVE_01MM                       _UxGT("Mover 0.1mm")
84 85
 #define MSG_MOVE_1MM                        _UxGT("Mover 1mm")
85 86
 #define MSG_MOVE_10MM                       _UxGT("Mover 10mm")

+ 1
- 0
Marlin/src/lcd/language/language_eu.h Ver arquivo

@@ -166,6 +166,7 @@
166 166
 #define MSG_MOVE_Y                          _UxGT("Mugitu Y")
167 167
 #define MSG_MOVE_Z                          _UxGT("Mugitu Z")
168 168
 #define MSG_MOVE_E                          _UxGT("Estrusorea")
169
+#define MSG_MOVE_0025MM                     _UxGT("Mugitu 0.025mm")
169 170
 #define MSG_MOVE_01MM                       _UxGT("Mugitu 0.1mm")
170 171
 #define MSG_MOVE_1MM                        _UxGT("Mugitu 1mm")
171 172
 #define MSG_MOVE_10MM                       _UxGT("Mugitu 10mm")

+ 1
- 0
Marlin/src/lcd/language/language_fi.h Ver arquivo

@@ -65,6 +65,7 @@
65 65
 #define MSG_MOVE_Y                          _UxGT("Liikuta Y")
66 66
 #define MSG_MOVE_Z                          _UxGT("Liikuta Z")
67 67
 #define MSG_MOVE_E                          _UxGT("Extruder")
68
+#define MSG_MOVE_0025MM                     _UxGT("Liikuta 0.025mm")
68 69
 #define MSG_MOVE_01MM                       _UxGT("Liikuta 0.1mm")
69 70
 #define MSG_MOVE_1MM                        _UxGT("Liikuta 1mm")
70 71
 #define MSG_MOVE_10MM                       _UxGT("Liikuta 10mm")

+ 1
- 0
Marlin/src/lcd/language/language_fr.h Ver arquivo

@@ -195,6 +195,7 @@
195 195
 #define MSG_MOVE_Z                          _UxGT("Déplacer Z")
196 196
 #define MSG_MOVE_E                          _UxGT("Extrudeur")
197 197
 #define MSG_HOTEND_TOO_COLD                 _UxGT("Buse trop froide")
198
+#define MSG_MOVE_0025MM                     _UxGT("Déplacer 0.025mm")
198 199
 #define MSG_MOVE_01MM                       _UxGT("Déplacer 0.1mm")
199 200
 #define MSG_MOVE_1MM                        _UxGT("Déplacer 1mm")
200 201
 #define MSG_MOVE_10MM                       _UxGT("Déplacer 10mm")

+ 1
- 0
Marlin/src/lcd/language/language_gl.h Ver arquivo

@@ -72,6 +72,7 @@
72 72
 #define MSG_MOVE_Y                          _UxGT("Mover Y")
73 73
 #define MSG_MOVE_Z                          _UxGT("Mover Z")
74 74
 #define MSG_MOVE_E                          _UxGT("Extrusor")
75
+#define MSG_MOVE_0025MM                     _UxGT("Mover 0.025mm")
75 76
 #define MSG_MOVE_01MM                       _UxGT("Mover 0.1mm")
76 77
 #define MSG_MOVE_1MM                        _UxGT("Mover 1mm")
77 78
 #define MSG_MOVE_10MM                       _UxGT("Mover 10mm")

+ 1
- 0
Marlin/src/lcd/language/language_hr.h Ver arquivo

@@ -72,6 +72,7 @@
72 72
 #define MSG_MOVE_Y                          _UxGT("Miči Y")
73 73
 #define MSG_MOVE_Z                          _UxGT("Miči Z")
74 74
 #define MSG_MOVE_E                          _UxGT("Extruder")
75
+#define MSG_MOVE_0025MM                     _UxGT("Miči 0.025mm")
75 76
 #define MSG_MOVE_01MM                       _UxGT("Miči 0.1mm")
76 77
 #define MSG_MOVE_1MM                        _UxGT("Miči 1mm")
77 78
 #define MSG_MOVE_10MM                       _UxGT("Miči 10mm")

+ 1
- 0
Marlin/src/lcd/language/language_it.h Ver arquivo

@@ -197,6 +197,7 @@
197 197
 #define MSG_MOVE_Z                          _UxGT("Muovi Z")
198 198
 #define MSG_MOVE_E                          _UxGT("Estrusore")
199 199
 #define MSG_HOTEND_TOO_COLD                 _UxGT("Ugello freddo")
200
+#define MSG_MOVE_0025MM                     _UxGT("Muovi di 0.025mm")
200 201
 #define MSG_MOVE_01MM                       _UxGT("Muovi di 0.1mm")
201 202
 #define MSG_MOVE_1MM                        _UxGT("Muovi di 1mm")
202 203
 #define MSG_MOVE_10MM                       _UxGT("Muovi di 10mm")

+ 1
- 0
Marlin/src/lcd/language/language_jp-kana.h Ver arquivo

@@ -82,6 +82,7 @@
82 82
 #define MSG_MOVE_Y                          _UxGT("Yジク イドウ")                  // "Move Y"
83 83
 #define MSG_MOVE_Z                          _UxGT("Zジク イドウ")                  // "Move Z"
84 84
 #define MSG_MOVE_E                          _UxGT("エクストルーダー")                // "Extruder"
85
+#define MSG_MOVE_0025MM                     _UxGT("0.025mm イドウ")               // "Move 0.025mm"
85 86
 #define MSG_MOVE_01MM                       _UxGT("0.1mm イドウ")                 // "Move 0.1mm"
86 87
 #define MSG_MOVE_1MM                        _UxGT("  1mm イドウ")                 // "Move 1mm"
87 88
 #define MSG_MOVE_10MM                       _UxGT(" 10mm イドウ")                 // "Move 10mm"

+ 1
- 0
Marlin/src/lcd/language/language_ko_KR.h Ver arquivo

@@ -177,6 +177,7 @@
177 177
 #define MSG_MOVE_Y                          _UxGT("Move Y")
178 178
 #define MSG_MOVE_Z                          _UxGT("Move Z")
179 179
 #define MSG_MOVE_E                          _UxGT("Extruder")
180
+#define MSG_MOVE_0025MM                     _UxGT("Move 0.025mm")
180 181
 #define MSG_MOVE_01MM                       _UxGT("Move 0.1mm")
181 182
 #define MSG_MOVE_1MM                        _UxGT("Move 1mm")
182 183
 #define MSG_MOVE_10MM                       _UxGT("Move 10mm")

+ 1
- 0
Marlin/src/lcd/language/language_nl.h Ver arquivo

@@ -80,6 +80,7 @@
80 80
 #define MSG_MOVE_Y                          _UxGT("Verplaats Y")
81 81
 #define MSG_MOVE_Z                          _UxGT("Verplaats Z")
82 82
 #define MSG_MOVE_E                          _UxGT("Extruder")
83
+#define MSG_MOVE_0025MM                     _UxGT("Verplaats 0.025mm")
83 84
 #define MSG_MOVE_01MM                       _UxGT("Verplaats 0.1mm")
84 85
 #define MSG_MOVE_1MM                        _UxGT("Verplaats 1mm")
85 86
 #define MSG_MOVE_10MM                       _UxGT("Verplaats 10mm")

+ 1
- 0
Marlin/src/lcd/language/language_pl.h Ver arquivo

@@ -70,6 +70,7 @@
70 70
 #define MSG_MOVE_Y                          _UxGT("Przesuń w Y")
71 71
 #define MSG_MOVE_Z                          _UxGT("Przesuń w Z")
72 72
 #define MSG_MOVE_E                          _UxGT("Ekstruzja (os E)")
73
+#define MSG_MOVE_0025MM                     _UxGT("Przesuń co .025mm")
73 74
 #define MSG_MOVE_01MM                       _UxGT("Przesuń co .1mm")
74 75
 #define MSG_MOVE_1MM                        _UxGT("Przesuń co 1mm")
75 76
 #define MSG_MOVE_10MM                       _UxGT("Przesuń co 10mm")

+ 1
- 0
Marlin/src/lcd/language/language_pt-br.h Ver arquivo

@@ -189,6 +189,7 @@
189 189
 #define MSG_MOVE_Z                          _UxGT("Mover Z")
190 190
 #define MSG_MOVE_E                          _UxGT("Mover Extrusor")
191 191
 #define MSG_HOTEND_TOO_COLD                 _UxGT("Extrus. mto fria")
192
+#define MSG_MOVE_0025MM                     _UxGT("Mover 0.025mm")
192 193
 #define MSG_MOVE_01MM                       _UxGT("Mover 0.1mm")
193 194
 #define MSG_MOVE_1MM                        _UxGT("Mover 1mm")
194 195
 #define MSG_MOVE_10MM                       _UxGT("Mover 10mm")

+ 1
- 0
Marlin/src/lcd/language/language_pt.h Ver arquivo

@@ -70,6 +70,7 @@
70 70
 #define MSG_MOVE_Y                          _UxGT("Mover Y")
71 71
 #define MSG_MOVE_Z                          _UxGT("Mover Z")
72 72
 #define MSG_MOVE_E                          _UxGT("Mover Extrusor")
73
+#define MSG_MOVE_0025MM                     _UxGT("Mover 0.025mm")
73 74
 #define MSG_MOVE_01MM                       _UxGT("Mover 0.1mm")
74 75
 #define MSG_MOVE_1MM                        _UxGT("Mover 1mm")
75 76
 #define MSG_MOVE_10MM                       _UxGT("Mover 10mm")

+ 1
- 0
Marlin/src/lcd/language/language_ru.h Ver arquivo

@@ -168,6 +168,7 @@
168 168
 #define MSG_MOVE_Y                          _UxGT("Движение по Y")
169 169
 #define MSG_MOVE_Z                          _UxGT("Движение по Z")
170 170
 #define MSG_MOVE_E                          _UxGT("Экструдер")
171
+#define MSG_MOVE_0025MM                     _UxGT("Движение 0.025мм")
171 172
 #define MSG_MOVE_01MM                       _UxGT("Движение 0.1мм")
172 173
 #define MSG_MOVE_1MM                        _UxGT("Движение 1мм")
173 174
 #define MSG_MOVE_10MM                       _UxGT("Движение 10мм")

+ 1
- 0
Marlin/src/lcd/language/language_sk.h Ver arquivo

@@ -206,6 +206,7 @@
206 206
 #define MSG_MOVE_Z                          _UxGT("Posunúť Z")
207 207
 #define MSG_MOVE_E                          _UxGT("Extrudér")
208 208
 #define MSG_HOTEND_TOO_COLD                 _UxGT("Hotend je studený")
209
+#define MSG_MOVE_0025MM                     _UxGT("Posunúť o 0,025mm")
209 210
 #define MSG_MOVE_01MM                       _UxGT("Posunúť o 0,1mm")
210 211
 #define MSG_MOVE_1MM                        _UxGT("Posunúť o 1mm")
211 212
 #define MSG_MOVE_10MM                       _UxGT("Posunúť o 10mm")

+ 1
- 0
Marlin/src/lcd/language/language_tr.h Ver arquivo

@@ -186,6 +186,7 @@
186 186
 #define MSG_MOVE_Z                          _UxGT("Z Hareketi")
187 187
 #define MSG_MOVE_E                          _UxGT("Ekstruder")
188 188
 #define MSG_HOTEND_TOO_COLD                 _UxGT("Nozul Çok Soğuk")
189
+#define MSG_MOVE_0025MM                     _UxGT("0.025mm")
189 190
 #define MSG_MOVE_01MM                       _UxGT("0.1mm")
190 191
 #define MSG_MOVE_1MM                        _UxGT("1mm")
191 192
 #define MSG_MOVE_10MM                       _UxGT("10mm")

+ 1
- 0
Marlin/src/lcd/language/language_uk.h Ver arquivo

@@ -72,6 +72,7 @@
72 72
 #define MSG_MOVE_Y                          _UxGT("Рух по Y")
73 73
 #define MSG_MOVE_Z                          _UxGT("Рух по Z")
74 74
 #define MSG_MOVE_E                          _UxGT("Екструдер")
75
+#define MSG_MOVE_0025MM                     _UxGT("Рух по 0.025mm")
75 76
 #define MSG_MOVE_01MM                       _UxGT("Рух по 0.1mm")
76 77
 #define MSG_MOVE_1MM                        _UxGT("Рух по 1mm")
77 78
 #define MSG_MOVE_10MM                       _UxGT("Рух по 10mm")

+ 1
- 0
Marlin/src/lcd/language/language_zh_CN.h Ver arquivo

@@ -164,6 +164,7 @@
164 164
 #define MSG_MOVE_Y                          _UxGT("移动Y")  //"Move Y"
165 165
 #define MSG_MOVE_Z                          _UxGT("移动Z")  //"Move Z"
166 166
 #define MSG_MOVE_E                          _UxGT("挤出机")  //"Extruder"
167
+#define MSG_MOVE_0025MM                     _UxGT("移动 0.025 mm")  //"Move 0.025mm"
167 168
 #define MSG_MOVE_01MM                       _UxGT("移动 0.1 mm")  //"Move 0.1mm"
168 169
 #define MSG_MOVE_1MM                        _UxGT("移动 1 mm")  //"Move 1mm"
169 170
 #define MSG_MOVE_10MM                       _UxGT("移动 10 mm")  //"Move 10mm"

+ 1
- 0
Marlin/src/lcd/language/language_zh_TW.h Ver arquivo

@@ -164,6 +164,7 @@
164 164
 #define MSG_MOVE_Y                          _UxGT("移動Y")  //"Move Y"
165 165
 #define MSG_MOVE_Z                          _UxGT("移動Z")  //"Move Z"
166 166
 #define MSG_MOVE_E                          _UxGT("擠出機")  //"Extruder"
167
+#define MSG_MOVE_0025MM                     _UxGT("移動 0.025 mm")  //"Move 0.025mm"
167 168
 #define MSG_MOVE_01MM                       _UxGT("移動 0.1 mm")  //"Move 0.1mm"
168 169
 #define MSG_MOVE_1MM                        _UxGT("移動 1 mm")  //"Move 1mm"
169 170
 #define MSG_MOVE_10MM                       _UxGT("移動 10 mm")  //"Move 10mm"

+ 6
- 3
Marlin/src/lcd/menu/menu_motion.cpp Ver arquivo

@@ -239,9 +239,10 @@ void _goto_manual_move(const float scale) {
239 239
   move_menu_scale = scale;
240 240
   ui.goto_screen(_manual_move_func_ptr);
241 241
 }
242
-void menu_move_10mm() { _goto_manual_move(10); }
243
-void menu_move_1mm()  { _goto_manual_move( 1); }
244
-void menu_move_01mm() { _goto_manual_move( 0.1f); }
242
+void menu_move_10mm()   { _goto_manual_move(10); }
243
+void menu_move_1mm()    { _goto_manual_move( 1); }
244
+void menu_move_01mm()   { _goto_manual_move( 0.1f); }
245
+void menu_move_0025mm() { _goto_manual_move( 0.025f); }
245 246
 
246 247
 void _menu_move_distance(const AxisEnum axis, const screenFunc_t func, const int8_t eindex=-1) {
247 248
   _manual_move_func_ptr = func;
@@ -269,6 +270,8 @@ void _menu_move_distance(const AxisEnum axis, const screenFunc_t func, const int
269 270
     MENU_ITEM(submenu, MSG_MOVE_10MM, menu_move_10mm);
270 271
     MENU_ITEM(submenu, MSG_MOVE_1MM, menu_move_1mm);
271 272
     MENU_ITEM(submenu, MSG_MOVE_01MM, menu_move_01mm);
273
+    if (axis == Z_AXIS)
274
+      MENU_ITEM(submenu, MSG_MOVE_0025MM, menu_move_0025mm);
272 275
   }
273 276
   END_MENU();
274 277
 }

Carregando…
Cancelar
Salvar