Browse Source

[2.0.x] add Calibrate Z (M915) to Prepare Menu (#11331)

MikeLud 7 years ago
parent
commit
aadcf08913

+ 1
- 0
Marlin/src/lcd/language/language_an.h View File

@@ -44,6 +44,7 @@
44 44
 #define MSG_AUTO_HOME_X                     _UxGT("Orichen X")
45 45
 #define MSG_AUTO_HOME_Y                     _UxGT("Orichen Y")
46 46
 #define MSG_AUTO_HOME_Z                     _UxGT("Orichen Z")
47
+#define MSG_TMC_Z_CALIBRATION               _UxGT("Calibrar Z")
47 48
 #define MSG_LEVEL_BED_HOMING                _UxGT("Orichen XYZ")
48 49
 #define MSG_LEVEL_BED_WAITING               _UxGT("Encetar (pretar)")
49 50
 #define MSG_LEVEL_BED_NEXT_POINT            _UxGT("Vinient punto")

+ 1
- 0
Marlin/src/lcd/language/language_bg.h View File

@@ -40,6 +40,7 @@
40 40
 #define MSG_AUTOSTART                       _UxGT("Автостарт")
41 41
 #define MSG_DISABLE_STEPPERS                _UxGT("Изкл. двигатели")
42 42
 #define MSG_AUTO_HOME                       _UxGT("Паркиране")
43
+#define MSG_TMC_Z_CALIBRATION               _UxGT("Калибровка Z")
43 44
 #define MSG_SET_HOME_OFFSETS                _UxGT("Задай Начало")
44 45
 #define MSG_SET_ORIGIN                      _UxGT("Изходна точка")
45 46
 #define MSG_PREHEAT_1                       _UxGT("Подгряване PLA")

+ 1
- 0
Marlin/src/lcd/language/language_ca.h View File

@@ -45,6 +45,7 @@
45 45
 #define MSG_AUTO_HOME_X                     _UxGT("X a origen")
46 46
 #define MSG_AUTO_HOME_Y                     _UxGT("Y a origen")
47 47
 #define MSG_AUTO_HOME_Z                     _UxGT("Z a origen")
48
+#define MSG_TMC_Z_CALIBRATION               _UxGT("Calibra Z")
48 49
 #define MSG_LEVEL_BED_HOMING                _UxGT("Origen XYZ")
49 50
 #define MSG_LEVEL_BED_WAITING               _UxGT("Premeu per iniciar")
50 51
 #define MSG_LEVEL_BED_NEXT_POINT            _UxGT("Següent punt")

+ 1
- 0
Marlin/src/lcd/language/language_cz.h View File

@@ -52,6 +52,7 @@
52 52
 #define MSG_AUTO_HOME_X                     _UxGT("Domů osa X")
53 53
 #define MSG_AUTO_HOME_Y                     _UxGT("Domů osa Y")
54 54
 #define MSG_AUTO_HOME_Z                     _UxGT("Domů osa Z")
55
+#define MSG_TMC_Z_CALIBRATION               _UxGT("Kalibrovat Z")
55 56
 #define MSG_LEVEL_BED_HOMING                _UxGT("Měření podložky")
56 57
 #define MSG_LEVEL_BED_WAITING               _UxGT("Kliknutím spusťte")
57 58
 #define MSG_LEVEL_BED_NEXT_POINT            _UxGT("Další bod")

+ 1
- 0
Marlin/src/lcd/language/language_da.h View File

@@ -44,6 +44,7 @@
44 44
 #define MSG_AUTO_HOME_X                     _UxGT("Home X")
45 45
 #define MSG_AUTO_HOME_Y                     _UxGT("Home Y")
46 46
 #define MSG_AUTO_HOME_Z                     _UxGT("Home Z")
47
+#define MSG_TMC_Z_CALIBRATION               _UxGT("Kalibrer Z")
47 48
 #define MSG_LEVEL_BED_HOMING                _UxGT("Homing XYZ")
48 49
 #define MSG_LEVEL_BED_WAITING               _UxGT("Klik når du er klar")
49 50
 #define MSG_LEVEL_BED_NEXT_POINT            _UxGT("Næste punkt")

+ 1
- 0
Marlin/src/lcd/language/language_de.h View File

@@ -48,6 +48,7 @@
48 48
 #define MSG_AUTO_HOME_X                     _UxGT("Home X")
49 49
 #define MSG_AUTO_HOME_Y                     _UxGT("Home Y")
50 50
 #define MSG_AUTO_HOME_Z                     _UxGT("Home Z")
51
+#define MSG_TMC_Z_CALIBRATION               _UxGT("Kalibriere Z")
51 52
 #define MSG_LEVEL_BED_HOMING                _UxGT("Home XYZ")
52 53
 #define MSG_LEVEL_BED_WAITING               _UxGT("Klick für Start")
53 54
 #define MSG_LEVEL_BED_NEXT_POINT            _UxGT("Nächste Koordinate")

+ 1
- 0
Marlin/src/lcd/language/language_el-gr.h View File

@@ -44,6 +44,7 @@
44 44
 #define MSG_AUTO_HOME_X                     _UxGT("Αρχικό σημείο X")
45 45
 #define MSG_AUTO_HOME_Y                     _UxGT("Αρχικό σημείο Y")
46 46
 #define MSG_AUTO_HOME_Z                     _UxGT("Αρχικό σημείο Z")
47
+#define MSG_TMC_Z_CALIBRATION               _UxGT("Βαθμονόμηση Z")
47 48
 #define MSG_LEVEL_BED_HOMING                _UxGT("Επαναφορά στο αρχικό σημείο ΧΥΖ")
48 49
 #define MSG_LEVEL_BED_WAITING               _UxGT("Κάντε κλικ για να ξεκινήσετε")
49 50
 #define MSG_LEVEL_BED_NEXT_POINT            _UxGT("Επόμενο σημείο")

+ 1
- 0
Marlin/src/lcd/language/language_el.h View File

@@ -44,6 +44,7 @@
44 44
 #define MSG_AUTO_HOME_X                     _UxGT("Αρχικό σημείο X")
45 45
 #define MSG_AUTO_HOME_Y                     _UxGT("Αρχικό σημείο Y")
46 46
 #define MSG_AUTO_HOME_Z                     _UxGT("Αρχικό σημείο Z")
47
+#define MSG_TMC_Z_CALIBRATION               _UxGT("Βαθμονόμηση Z")
47 48
 #define MSG_LEVEL_BED_HOMING                _UxGT("Επαναφορά Επ. Εκτύπωσης") //SHORTEN
48 49
 #define MSG_LEVEL_BED_WAITING               _UxGT("Επιπεδοποίηση επ. Εκτύπωσης περιμενει") //SHORTEN
49 50
 #define MSG_LEVEL_BED_NEXT_POINT            _UxGT("Επόμενο σημείο")

+ 3
- 0
Marlin/src/lcd/language/language_en.h View File

@@ -85,6 +85,9 @@
85 85
 #ifndef MSG_AUTO_HOME_Z
86 86
   #define MSG_AUTO_HOME_Z                     _UxGT("Home Z")
87 87
 #endif
88
+#ifndef MSG_TMC_Z_CALIBRATION
89
+  #define MSG_TMC_Z_CALIBRATION               _UxGT("Calibrate Z")
90
+#endif
88 91
 #ifndef MSG_LEVEL_BED_HOMING
89 92
   #define MSG_LEVEL_BED_HOMING                _UxGT("Homing XYZ")
90 93
 #endif

+ 1
- 0
Marlin/src/lcd/language/language_es.h View File

@@ -47,6 +47,7 @@
47 47
 #define MSG_AUTO_HOME_X                     _UxGT("Origen X")
48 48
 #define MSG_AUTO_HOME_Y                     _UxGT("Origen Y")
49 49
 #define MSG_AUTO_HOME_Z                     _UxGT("Origen Z")
50
+#define MSG_TMC_Z_CALIBRATION               _UxGT("Calibrar Z")
50 51
 #define MSG_LEVEL_BED_HOMING                _UxGT("Origen XYZ")
51 52
 #define MSG_LEVEL_BED_WAITING               _UxGT("Iniciar (Presione)")
52 53
 #define MSG_LEVEL_BED_NEXT_POINT            _UxGT("Siguiente punto")

+ 1
- 0
Marlin/src/lcd/language/language_eu.h View File

@@ -47,6 +47,7 @@
47 47
 #define MSG_AUTO_HOME_X                     _UxGT("X jatorrira")
48 48
 #define MSG_AUTO_HOME_Y                     _UxGT("Y jatorrira")
49 49
 #define MSG_AUTO_HOME_Z                     _UxGT("Z jatorrira")
50
+#define MSG_TMC_Z_CALIBRATION               _UxGT("Kalibratu Z")
50 51
 #define MSG_LEVEL_BED_HOMING                _UxGT("XYZ hasieraratzen")
51 52
 #define MSG_LEVEL_BED_WAITING               _UxGT("Klik egin hasteko")
52 53
 #define MSG_LEVEL_BED_NEXT_POINT            _UxGT("Hurrengo Puntua")

+ 1
- 0
Marlin/src/lcd/language/language_fi.h View File

@@ -40,6 +40,7 @@
40 40
 #define MSG_AUTOSTART                       _UxGT("Automaatti")
41 41
 #define MSG_DISABLE_STEPPERS                _UxGT("Vapauta moottorit")
42 42
 #define MSG_AUTO_HOME                       _UxGT("Aja referenssiin")
43
+#define MSG_TMC_Z_CALIBRATION               _UxGT("Kalibroi Z")
43 44
 #define MSG_LEVEL_BED_HOMING                _UxGT("Homing XYZ")
44 45
 #define MSG_LEVEL_BED_WAITING               _UxGT("Click to Begin")
45 46
 #define MSG_LEVEL_BED_DONE                  _UxGT("Leveling Done!")

+ 1
- 0
Marlin/src/lcd/language/language_fr.h View File

@@ -47,6 +47,7 @@
47 47
 #define MSG_AUTO_HOME_X                     _UxGT("Origine X Auto.")
48 48
 #define MSG_AUTO_HOME_Y                     _UxGT("Origine Y Auto.")
49 49
 #define MSG_AUTO_HOME_Z                     _UxGT("Origine Z Auto.")
50
+#define MSG_TMC_Z_CALIBRATION               _UxGT("Calibrer Z")
50 51
 #define MSG_LEVEL_BED_HOMING                _UxGT("Origine XYZ")
51 52
 #define MSG_LEVEL_BED_WAITING               _UxGT("Clic pour commencer")
52 53
 #define MSG_LEVEL_BED_NEXT_POINT            _UxGT("Point suivant")

+ 1
- 1
Marlin/src/lcd/language/language_gl.h View File

@@ -44,6 +44,7 @@
44 44
 #define MSG_AUTO_HOME_X                     _UxGT("Ir orixe X")
45 45
 #define MSG_AUTO_HOME_Y                     _UxGT("Ir orixe Y")
46 46
 #define MSG_AUTO_HOME_Z                     _UxGT("Ir orixe Z")
47
+#define MSG_TMC_Z_CALIBRATION               _UxGT("Calibrar Z")
47 48
 #define MSG_LEVEL_BED_HOMING                _UxGT("Ir orixes XYZ")
48 49
 #define MSG_LEVEL_BED_WAITING               _UxGT("Prema pulsador")
49 50
 #define MSG_LEVEL_BED_NEXT_POINT            _UxGT("Seguinte punto")
@@ -251,4 +252,3 @@
251 252
 #endif // LCD_HEIGHT < 4
252 253
 
253 254
 #endif // LANGUAGE_GL_H
254
-

+ 1
- 0
Marlin/src/lcd/language/language_hr.h View File

@@ -44,6 +44,7 @@
44 44
 #define MSG_AUTO_HOME_X                     _UxGT("Home-aj X")
45 45
 #define MSG_AUTO_HOME_Y                     _UxGT("Home-aj Y")
46 46
 #define MSG_AUTO_HOME_Z                     _UxGT("Home-aj Z")
47
+#define MSG_TMC_Z_CALIBRATION               _UxGT("Kalibriraj Z")
47 48
 #define MSG_LEVEL_BED_HOMING                _UxGT("Home-aj XYZ")
48 49
 #define MSG_LEVEL_BED_WAITING               _UxGT("Klikni za početak")
49 50
 #define MSG_LEVEL_BED_NEXT_POINT            _UxGT("Sljedeća točka")

+ 1
- 0
Marlin/src/lcd/language/language_it.h View File

@@ -46,6 +46,7 @@
46 46
 #define MSG_AUTO_HOME_X                     _UxGT("Home asse X")
47 47
 #define MSG_AUTO_HOME_Y                     _UxGT("Home asse Y")
48 48
 #define MSG_AUTO_HOME_Z                     _UxGT("Home asse Z")
49
+#define MSG_TMC_Z_CALIBRATION               _UxGT("Calibra Z")
49 50
 #define MSG_LEVEL_BED_HOMING                _UxGT("Home assi XYZ")
50 51
 #define MSG_LEVEL_BED_WAITING               _UxGT("Premi per iniziare")
51 52
 #define MSG_LEVEL_BED_NEXT_POINT            _UxGT("Punto successivo")

+ 1
- 0
Marlin/src/lcd/language/language_jp-kana.h View File

@@ -52,6 +52,7 @@
52 52
 #define MSG_AUTO_HOME_X                     _UxGT("Xジク ゲンテンフッキ")             // "Home X"
53 53
 #define MSG_AUTO_HOME_Y                     _UxGT("Yジク ゲンテンフッキ")             // "Home Y"
54 54
 #define MSG_AUTO_HOME_Z                     _UxGT("Zジク ゲンテンフッキ")             // "Home Z"
55
+#define MSG_TMC_Z_CALIBRATION               _UxGT("Zジク コウセイ")
55 56
 #define MSG_LEVEL_BED_HOMING                _UxGT("ゲンテンフッキチュウ")              // "Homing XYZ"
56 57
 #define MSG_LEVEL_BED_WAITING               _UxGT("レベリングカイシ")                // "Click to Begin"
57 58
 #define MSG_LEVEL_BED_NEXT_POINT            _UxGT("ツギノソクテイテンヘ")             // "Next Point"

+ 1
- 0
Marlin/src/lcd/language/language_nl.h View File

@@ -47,6 +47,7 @@
47 47
 #define MSG_AUTO_HOME_X                     _UxGT("Home X")
48 48
 #define MSG_AUTO_HOME_Y                     _UxGT("Home Y")
49 49
 #define MSG_AUTO_HOME_Z                     _UxGT("Home Z")
50
+#define MSG_TMC_Z_CALIBRATION               _UxGT("Kalibreer Z")
50 51
 #define MSG_LEVEL_BED_HOMING                _UxGT("Homing XYZ")
51 52
 #define MSG_LEVEL_BED_WAITING               _UxGT("Klik voor begin")
52 53
 #define MSG_LEVEL_BED_NEXT_POINT            _UxGT("Volgende Plaats")

+ 1
- 0
Marlin/src/lcd/language/language_pl.h View File

@@ -42,6 +42,7 @@
42 42
 #define MSG_AUTO_HOME_X                     _UxGT("Zeruj X")
43 43
 #define MSG_AUTO_HOME_Y                     _UxGT("Zeruj Y")
44 44
 #define MSG_AUTO_HOME_Z                     _UxGT("Zeruj Z")
45
+#define MSG_TMC_Z_CALIBRATION               _UxGT("Kalibruj Z")
45 46
 #define MSG_LEVEL_BED                       _UxGT("Poziom. stołu")
46 47
 #define MSG_LEVEL_BED_HOMING                _UxGT("Pozycja zerowa")
47 48
 #define MSG_LEVEL_BED_WAITING               _UxGT("Kliknij by rozp.")

+ 1
- 0
Marlin/src/lcd/language/language_pt-br.h View File

@@ -50,6 +50,7 @@
50 50
 #define MSG_AUTO_HOME_X                     _UxGT("Ir na origem X")
51 51
 #define MSG_AUTO_HOME_Y                     _UxGT("Ir na origem Y")
52 52
 #define MSG_AUTO_HOME_Z                     _UxGT("Ir na origem Z")
53
+#define MSG_TMC_Z_CALIBRATION               _UxGT("Calibrar Z")
53 54
 #define MSG_AUTO_HOME                       _UxGT("Ir na origem XYZ")
54 55
 #define MSG_LEVEL_BED_HOMING                _UxGT("Indo para origem")
55 56
 #define MSG_LEVEL_BED_WAITING               _UxGT("Clique para Iniciar")

+ 1
- 0
Marlin/src/lcd/language/language_pt.h View File

@@ -44,6 +44,7 @@
44 44
 #define MSG_AUTO_HOME_X                     _UxGT("Ir para origem X")
45 45
 #define MSG_AUTO_HOME_Y                     _UxGT("Ir para origem Y")
46 46
 #define MSG_AUTO_HOME_Z                     _UxGT("Ir para origem Z")
47
+#define MSG_TMC_Z_CALIBRATION               _UxGT("Calibrar Z")
47 48
 #define MSG_LEVEL_BED_HOMING                _UxGT("Indo para origem")
48 49
 #define MSG_LEVEL_BED_WAITING               _UxGT("Click para iniciar")
49 50
 #define MSG_LEVEL_BED_NEXT_POINT            _UxGT("Próximo ponto")

+ 1
- 0
Marlin/src/lcd/language/language_ru.h View File

@@ -48,6 +48,7 @@
48 48
 #define MSG_AUTO_HOME_X                     _UxGT("Парковка X")
49 49
 #define MSG_AUTO_HOME_Y                     _UxGT("Парковка Y")
50 50
 #define MSG_AUTO_HOME_Z                     _UxGT("Парковка Z")
51
+#define MSG_TMC_Z_CALIBRATION               _UxGT("Калибровать Z")
51 52
 #define MSG_LEVEL_BED_HOMING                _UxGT("Нулевое положение")
52 53
 #define MSG_LEVEL_BED_WAITING               _UxGT("Нажмите чтобы начать")
53 54
 #define MSG_LEVEL_BED_NEXT_POINT            _UxGT("Следующая точка")

+ 1
- 0
Marlin/src/lcd/language/language_sk.h View File

@@ -58,6 +58,7 @@
58 58
 #define MSG_AUTO_HOME_X                     _UxGT("Domov os X")
59 59
 #define MSG_AUTO_HOME_Y                     _UxGT("Domov os Y")
60 60
 #define MSG_AUTO_HOME_Z                     _UxGT("Domov os Z")
61
+#define MSG_TMC_Z_CALIBRATION               _UxGT("Kalibrovať Z")
61 62
 #define MSG_LEVEL_BED_HOMING                _UxGT("Meranie podložky")
62 63
 #define MSG_LEVEL_BED_WAITING               _UxGT("Kliknutím spusťte")
63 64
 #define MSG_LEVEL_BED_NEXT_POINT            _UxGT("Ďalší bod")

+ 1
- 0
Marlin/src/lcd/language/language_tr.h View File

@@ -47,6 +47,7 @@
47 47
 #define MSG_AUTO_HOME_X                     _UxGT("X Sıfırla")                                          // X Sıfırla
48 48
 #define MSG_AUTO_HOME_Y                     _UxGT("Y Sıfırla")                                          // Y Sıfırla
49 49
 #define MSG_AUTO_HOME_Z                     _UxGT("Z Sıfırla")                                          // Z Sıfırla
50
+#define MSG_TMC_Z_CALIBRATION               _UxGT("Ayarla Z")
50 51
 #define MSG_LEVEL_BED_HOMING                _UxGT("XYZ Sıfırlanıyor")                                   // XYZ Sıfırlanıyor
51 52
 #define MSG_LEVEL_BED_WAITING               _UxGT("Başlatmak için tıkla")                               // Başlatmak için tıkla
52 53
 #define MSG_LEVEL_BED_NEXT_POINT            _UxGT("Sıradaki Nokta")                                     // Sıradaki Nokta

+ 1
- 0
Marlin/src/lcd/language/language_uk.h View File

@@ -44,6 +44,7 @@
44 44
 #define MSG_AUTO_HOME_X                     _UxGT("Паркування X")
45 45
 #define MSG_AUTO_HOME_Y                     _UxGT("Паркування Y")
46 46
 #define MSG_AUTO_HOME_Z                     _UxGT("Паркування Z")
47
+#define MSG_TMC_Z_CALIBRATION               _UxGT("Калібрування Z")
47 48
 #define MSG_LEVEL_BED_HOMING                _UxGT("Паркування XYZ")
48 49
 #define MSG_LEVEL_BED_WAITING               _UxGT("Почати")
49 50
 #define MSG_LEVEL_BED_NEXT_POINT            _UxGT("Слідуюча Точка")

+ 1
- 0
Marlin/src/lcd/language/language_zh_CN.h View File

@@ -48,6 +48,7 @@
48 48
 #define MSG_AUTO_HOME_X                     _UxGT("回X原位")  //"Home X"
49 49
 #define MSG_AUTO_HOME_Y                     _UxGT("回Y原位")  //"Home Y"
50 50
 #define MSG_AUTO_HOME_Z                     _UxGT("回Z原位")  //"Home Z"
51
+#define MSG_TMC_Z_CALIBRATION               _UxGT("⊿校准Z")
51 52
 #define MSG_LEVEL_BED_HOMING                _UxGT("平台调平XYZ归原位")  //"Homing XYZ"
52 53
 #define MSG_LEVEL_BED_WAITING               _UxGT("单击开始热床调平")  //"Click to Begin"
53 54
 #define MSG_LEVEL_BED_NEXT_POINT            _UxGT("下个热床调平点")  //"Next Point"

+ 1
- 0
Marlin/src/lcd/language/language_zh_TW.h View File

@@ -48,6 +48,7 @@
48 48
 #define MSG_AUTO_HOME_X                     _UxGT("回X原點")  //"Home X"
49 49
 #define MSG_AUTO_HOME_Y                     _UxGT("回Y原點")  //"Home Y"
50 50
 #define MSG_AUTO_HOME_Z                     _UxGT("回Z原點")  //"Home Z"
51
+#define MSG_TMC_Z_CALIBRATION               _UxGT("⊿校準Z")
51 52
 #define MSG_LEVEL_BED_HOMING                _UxGT("平台調平XYZ歸原點")  //"Homing XYZ"
52 53
 #define MSG_LEVEL_BED_WAITING               _UxGT("單擊開始熱床調平")  //"Click to Begin"
53 54
 #define MSG_LEVEL_BED_NEXT_POINT            _UxGT("下個熱床調平點")  //"Next Point"

+ 7
- 0
Marlin/src/lcd/ultralcd.cpp View File

@@ -2687,6 +2687,13 @@ void lcd_quick_feedback(const bool clear_buttons) {
2687 2687
     #endif
2688 2688
 
2689 2689
     //
2690
+    // TMC Z Calibration
2691
+    //
2692
+    #if ENABLED(TMC_Z_CALIBRATION)
2693
+      MENU_ITEM(gcode, MSG_TMC_Z_CALIBRATION, PSTR("G28\nM915"));
2694
+    #endif
2695
+
2696
+    //
2690 2697
     // Level Bed
2691 2698
     //
2692 2699
     #if ENABLED(AUTO_BED_LEVELING_UBL)

Loading…
Cancel
Save