Add 0.025mm Manual Move for Z (#14456)

This commit is contained in:
Tanguy Pruvot 2019-07-01 10:17:50 +02:00 committed by Scott Lahteine
parent 56c4a96180
commit ca7f56e60b
29 changed files with 39 additions and 6 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -543,6 +543,9 @@
#ifndef MSG_HOTEND_TOO_COLD
#define MSG_HOTEND_TOO_COLD _UxGT("Hotend too cold")
#endif
#ifndef MSG_MOVE_0025MM
#define MSG_MOVE_0025MM _UxGT("Move 0.025mm")
#endif
#ifndef MSG_MOVE_01MM
#define MSG_MOVE_01MM _UxGT("Move 0.1mm")
#endif

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -239,9 +239,10 @@ void _goto_manual_move(const float scale) {
move_menu_scale = scale;
ui.goto_screen(_manual_move_func_ptr);
}
void menu_move_10mm() { _goto_manual_move(10); }
void menu_move_1mm() { _goto_manual_move( 1); }
void menu_move_01mm() { _goto_manual_move( 0.1f); }
void menu_move_10mm() { _goto_manual_move(10); }
void menu_move_1mm() { _goto_manual_move( 1); }
void menu_move_01mm() { _goto_manual_move( 0.1f); }
void menu_move_0025mm() { _goto_manual_move( 0.025f); }
void _menu_move_distance(const AxisEnum axis, const screenFunc_t func, const int8_t eindex=-1) {
_manual_move_func_ptr = func;
@ -269,6 +270,8 @@ void _menu_move_distance(const AxisEnum axis, const screenFunc_t func, const int
MENU_ITEM(submenu, MSG_MOVE_10MM, menu_move_10mm);
MENU_ITEM(submenu, MSG_MOVE_1MM, menu_move_1mm);
MENU_ITEM(submenu, MSG_MOVE_01MM, menu_move_01mm);
if (axis == Z_AXIS)
MENU_ITEM(submenu, MSG_MOVE_0025MM, menu_move_0025mm);
}
END_MENU();
}