Commit 613ae4e6 authored by MagoKimbra's avatar MagoKimbra

Add language

parent eeed03cb
...@@ -215,20 +215,25 @@ ...@@ -215,20 +215,25 @@
* Select the language that you prefer and change LANGUAGE_CHOICE * * Select the language that you prefer and change LANGUAGE_CHOICE *
* * * *
* 1 English * * 1 English *
* 2 Polish * * 2 Polish *
* 3 French * * 3 French *
* 4 German * * 4 German *
* 5 Spanish * * 5 Spanish *
* 6 Russian * * 6 Russian *
* 7 Italian * * 7 Italian *
* 8 Portuguese * * 8 Portuguese *
* 9 Finnish * * 9 Finnish *
* 10 Aragonese * * 10 Aragonese *
* 11 Dutch * * 11 Dutch *
* 12 Catalan * * 12 Danish *
* 13 Basque-Euskera * * 13 Catalan *
* 14 Portuguese (Brazil) * * 14 Basque-Euskera *
* * * 15 Portuguese (Brazil) *
* 16 Bulgarian *
* 17 Japanese *
* 18 Japanese utf *
* 19 Chinese *
* *
***********************************************************************/ ***********************************************************************/
#define LANGUAGE_CHOICE 1 #define LANGUAGE_CHOICE 1
/***********************************************************************/ /***********************************************************************/
......
...@@ -303,17 +303,21 @@ ...@@ -303,17 +303,21 @@
/***************************************************************************************** /*****************************************************************************************
******************************* Axis steps per unit ************************************* ******************************* Axis steps per unit *************************************
*****************************************************************************************/ *****************************************************************************************/
// Default steps per unit X, Y, Z, E0...(per extruder) #define XYZ_STEPS_PER_UNIT 80
#define DEFAULT_AXIS_STEPS_PER_UNIT {80, 80, 80, 625, 625, 625, 625} // Default steps per unit X, Y, Z, E0...(per extruder)
#define DEFAULT_AXIS_STEPS_PER_UNIT {XYZ_STEPS_PER_UNIT, XYZ_STEPS_PER_UNIT, XYZ_STEPS_PER_UNIT, 625, 625, 625, 625}
/*****************************************************************************************/ /*****************************************************************************************/
/***************************************************************************************** /*****************************************************************************************
********************************** Axis feedrate **************************************** ********************************** Axis feedrate ****************************************
*****************************************************************************************/ *****************************************************************************************/
// X, Y, Z, E0...(per extruder). (mm/sec) #define XYZ_MAX_FEEDRATE 500 // (mm/sec)
#define DEFAULT_MAX_FEEDRATE {500, 500, 500, 100, 100, 100, 100} #define XYZ_MANUAL_FEEDRATE 50 // (mm/min)
#define MANUAL_FEEDRATE {50*60, 50*60, 50*60, 60} // Feedrates for manual moves along X, Y, Z, E from panel // X, Y, Z, E0...(per extruder). (mm/sec)
#define DEFAULT_MAX_FEEDRATE {XYZ_MAX_FEEDRATE, XYZ_MAX_FEEDRATE, XYZ_MAX_FEEDRATE, 100, 100, 100, 100}
// Feedrates for manual moves along X, Y, Z, E from panel
#define MANUAL_FEEDRATE {XYZ_MANUAL_FEEDRATE*60, XYZ_MANUAL_FEEDRATE*60, XYZ_MANUAL_FEEDRATE*60, 60}
#define DEFAULT_MINIMUMFEEDRATE 0.0 // minimum feedrate #define DEFAULT_MINIMUMFEEDRATE 0.0 // minimum feedrate
#define DEFAULT_MINTRAVELFEEDRATE 0.0 #define DEFAULT_MINTRAVELFEEDRATE 0.0
// Minimum planner junction speed. Sets the default minimum speed the planner plans for at the end // Minimum planner junction speed. Sets the default minimum speed the planner plans for at the end
...@@ -326,10 +330,11 @@ ...@@ -326,10 +330,11 @@
/***************************************************************************************** /*****************************************************************************************
******************************** Axis accelleration ************************************* ******************************** Axis accelleration *************************************
*****************************************************************************************/ *****************************************************************************************/
// Maximum start speed for accelerated moves. X, Y, Z, E0...(per extruder) #define XYZ_MAX_ACCELERATION 5000 // (mm/s^2)
#define DEFAULT_MAX_ACCELERATION {5000, 5000, 5000, 1000, 1000, 1000, 1000} // Maximum start speed for accelerated moves. X, Y, Z, E0...(per extruder)
#define DEFAULT_MAX_ACCELERATION {XYZ_MAX_ACCELERATION, XYZ_MAX_ACCELERATION, XYZ_MAX_ACCELERATION, 1000, 1000, 1000, 1000}
// Maximum acceleration in mm/s^2 for retracts E0... (per extruder) // Maximum acceleration in mm/s^2 for retracts E0... (per extruder)
#define DEFAULT_RETRACT_ACCELERATION {10000, 10000, 10000, 10000} #define DEFAULT_RETRACT_ACCELERATION {10000, 10000, 10000, 10000}
// X, Y, Z and E* maximum acceleration in mm/s^2 for printing moves // X, Y, Z and E* maximum acceleration in mm/s^2 for printing moves
#define DEFAULT_ACCELERATION 3000 #define DEFAULT_ACCELERATION 3000
// X, Y, Z acceleration in mm/s^2 for travel (non printing) moves // X, Y, Z acceleration in mm/s^2 for travel (non printing) moves
...@@ -355,13 +360,14 @@ ...@@ -355,13 +360,14 @@
/***************************************************************************************** /*****************************************************************************************
************************************ Homing feedrate ************************************ ************************************ Homing feedrate ************************************
*****************************************************************************************/ *****************************************************************************************/
#define HOMING_FEEDRATE {100*60, 100*60, 100*60, 0} // set the homing speeds (mm/min) // set the homing speeds (mm/min)
#define HOMING_XYZ_FEEDRATE 100
#define HOMING_FEEDRATE {HOMING_XYZ_FEEDRATE*60, HOMING_XYZ_FEEDRATE*60, HOMING_XYZ_FEEDRATE*60, 0}
// homing hits the endstop, then retracts by this distance, before it tries to slowly bump again: // homing hits the endstop, then retracts by this distance, before it tries to slowly bump again:
#define X_HOME_BUMP_MM 5 #define XYZ_HOME_BUMP_MM 5
#define Y_HOME_BUMP_MM 5 // Re-Bump Speed Divisor (Divides the Homing Feedrate)
#define Z_HOME_BUMP_MM 5 #define XYZ_BUMP_DIVISOR 10
#define HOMING_BUMP_DIVISOR {5, 5, 5} // Re-Bump Speed Divisor (Divides the Homing Feedrate)
/*****************************************************************************************/ /*****************************************************************************************/
......
...@@ -313,10 +313,10 @@ ...@@ -313,10 +313,10 @@
#undef SLOWDOWN //DELTA not needs SLOWDOWN #undef SLOWDOWN //DELTA not needs SLOWDOWN
#define AUTOLEVEL_GRID_MULTI 1/AUTOLEVEL_GRID #define AUTOLEVEL_GRID_MULTI 1/AUTOLEVEL_GRID
// DELTA must have same valour for 3 axis endstop hits // DELTA must have same valour for 3 axis endstop hits
#undef Y_HOME_BUMP_MM #define X_HOME_BUMP_MM XYZ_HOME_BUMP_MM
#undef Z_HOME_BUMP_MM #define Y_HOME_BUMP_MM XYZ_HOME_BUMP_MM
#define Y_HOME_BUMP_MM X_HOME_BUMP_MM #define Z_HOME_BUMP_MM XYZ_HOME_BUMP_MM
#define Z_HOME_BUMP_MM X_HOME_BUMP_MM #define HOMING_BUMP_DIVISOR {XYZ_BUMP_DIVISOR, XYZ_BUMP_DIVISOR, XYZ_BUMP_DIVISOR}
// Effective horizontal distance bridged by diagonal push rods. // Effective horizontal distance bridged by diagonal push rods.
#define DEFAULT_DELTA_RADIUS (DELTA_SMOOTH_ROD_OFFSET-DELTA_EFFECTOR_OFFSET-DELTA_CARRIAGE_OFFSET) #define DEFAULT_DELTA_RADIUS (DELTA_SMOOTH_ROD_OFFSET-DELTA_EFFECTOR_OFFSET-DELTA_CARRIAGE_OFFSET)
......
...@@ -19,9 +19,14 @@ ...@@ -19,9 +19,14 @@
// 9 Finnish // 9 Finnish
// 10 Aragonese // 10 Aragonese
// 11 Dutch // 11 Dutch
// 12 Catalan // 12 Danish
// 13 Basque-Euskera // 13 Catalan
// 14 Portuguese (Brazil) // 14 Basque-Euskera
// 15 Portuguese (Brazil)
// 16 Bulgarian
// 17 Japanese
// 18 Japanese utf
// 19 Chinese
#if DISABLED(LANGUAGE_CHOICE) #if DISABLED(LANGUAGE_CHOICE)
#define LANGUAGE_CHOICE 7 // Pick your language from the list above #define LANGUAGE_CHOICE 7 // Pick your language from the list above
...@@ -255,12 +260,22 @@ ...@@ -255,12 +260,22 @@
#include "language_an.h" #include "language_an.h"
#elif LANGUAGE_CHOICE == 11 // Dutch #elif LANGUAGE_CHOICE == 11 // Dutch
#include "language_nl.h" #include "language_nl.h"
#elif LANGUAGE_CHOICE == 12 // Catalan #elif LANGUAGE_CHOICE == 12 // Danish
#include "language_da.h"
#elif LANGUAGE_CHOICE == 13 // Catalan
#include "language_ca.h" #include "language_ca.h"
#elif LANGUAGE_CHOICE == 13 // Basque-Euskera #elif LANGUAGE_CHOICE == 14 // Basque-Euskera
#include "language_eu.h" #include "language_eu.h"
#elif LANGUAGE_CHOICE == 14 // Portuguese - Brasil #elif LANGUAGE_CHOICE == 15 // Portuguese - Brasil
#include "language_pt-br.h" #include "language_pt-br.h"
#elif LANGUAGE_CHOICE == 16 // Bulgarian
#include "language_bg.h"
#elif LANGUAGE_CHOICE == 17 // Japanese
#include "language_kana.h"
#elif LANGUAGE_CHOICE == 18 // Japanese utf
#include "language_kana_utf8.h"
#elif LANGUAGE_CHOICE == 19 // Chinese
#include "language_cn.h"
#endif #endif
#endif //__LANGUAGE_H #endif //__LANGUAGE_H
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -8,12 +8,12 @@ ...@@ -8,12 +8,12 @@
#ifndef LANGUAGE_EN_H #ifndef LANGUAGE_EN_H
#define LANGUAGE_EN_H #define LANGUAGE_EN_H
#if !( ENABLED(MAPPER_NON)|| ENABLED(MAPPER_C2C3)|| ENABLED(MAPPER_D0D1)|| ENABLED(MAPPER_D0D1_MOD)|| ENABLED(MAPPER_E382E383) ) #if DISABLED(MAPPER_NON) && DISABLED(MAPPER_C2C3) && DISABLED(MAPPER_D0D1) && DISABLED(MAPPER_D0D1_MOD) && DISABLED(MAPPER_E382E383)
#define MAPPER_NON // For direct asci codes #define MAPPER_NON // For direct asci codes
#endif #endif
//#define SIMULATE_ROMFONT //Comment in to see what is seen on the character based displays //#define SIMULATE_ROMFONT //Comment in to see what is seen on the character based displays
#if !( ENABLED(SIMULATE_ROMFONT)|| ENABLED(DISPLAY_CHARSET_ISO10646_1)|| ENABLED(DISPLAY_CHARSET_ISO10646_5)|| ENABLED(DISPLAY_CHARSET_ISO10646_KANA)|| ENABLED(DISPLAY_CHARSET_ISO10646_CN) ) #if DISABLED(SIMULATE_ROMFONT) && DISABLED(DISPLAY_CHARSET_ISO10646_1) && DISABLED(DISPLAY_CHARSET_ISO10646_5) && DISABLED(DISPLAY_CHARSET_ISO10646_KANA) && DISABLED(DISPLAY_CHARSET_ISO10646_CN)
#define DISPLAY_CHARSET_ISO10646_1 // use the better font on full graphic displays. #define DISPLAY_CHARSET_ISO10646_1 // use the better font on full graphic displays.
#endif #endif
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment