|
@@ -26,16 +26,6 @@
|
26
|
26
|
* Conditionals that need to be set before Configuration_adv.h or pins.h
|
27
|
27
|
*/
|
28
|
28
|
|
29
|
|
-// Kinematics
|
30
|
|
-#if ENABLED(MORGAN_SCARA)
|
31
|
|
- #define IS_SCARA 1
|
32
|
|
- #define IS_KINEMATIC 1
|
33
|
|
-#elif ENABLED(DELTA)
|
34
|
|
- #define IS_KINEMATIC 1
|
35
|
|
-#else
|
36
|
|
- #define IS_CARTESIAN 1
|
37
|
|
-#endif
|
38
|
|
-
|
39
|
29
|
// MKS_LCD12864 is a variant of MKS_MINI_12864
|
40
|
30
|
#if ENABLED(MKS_LCD12864)
|
41
|
31
|
#define MKS_MINI_12864
|
|
@@ -888,6 +878,55 @@
|
888
|
878
|
#define BOOT_MARLIN_LOGO_SMALL
|
889
|
879
|
#endif
|
890
|
880
|
|
|
881
|
+/**
|
|
882
|
+ * CoreXY, CoreXZ, and CoreYZ - and their reverse
|
|
883
|
+ */
|
|
884
|
+#if EITHER(COREXY, COREYX)
|
|
885
|
+ #define CORE_IS_XY 1
|
|
886
|
+#endif
|
|
887
|
+#if EITHER(COREXZ, COREZX)
|
|
888
|
+ #define CORE_IS_XZ 1
|
|
889
|
+#endif
|
|
890
|
+#if EITHER(COREYZ, COREZY)
|
|
891
|
+ #define CORE_IS_YZ 1
|
|
892
|
+#endif
|
|
893
|
+#if CORE_IS_XY || CORE_IS_XZ || CORE_IS_YZ
|
|
894
|
+ #define IS_CORE 1
|
|
895
|
+#endif
|
|
896
|
+#if IS_CORE
|
|
897
|
+ #if CORE_IS_XY
|
|
898
|
+ #define CORE_AXIS_1 A_AXIS
|
|
899
|
+ #define CORE_AXIS_2 B_AXIS
|
|
900
|
+ #define NORMAL_AXIS Z_AXIS
|
|
901
|
+ #elif CORE_IS_XZ
|
|
902
|
+ #define CORE_AXIS_1 A_AXIS
|
|
903
|
+ #define NORMAL_AXIS Y_AXIS
|
|
904
|
+ #define CORE_AXIS_2 C_AXIS
|
|
905
|
+ #elif CORE_IS_YZ
|
|
906
|
+ #define NORMAL_AXIS X_AXIS
|
|
907
|
+ #define CORE_AXIS_1 B_AXIS
|
|
908
|
+ #define CORE_AXIS_2 C_AXIS
|
|
909
|
+ #endif
|
|
910
|
+ #define CORESIGN(n) (ANY(COREYX, COREZX, COREZY) ? (-(n)) : (n))
|
|
911
|
+#elif ENABLED(MARKFORGED_XY)
|
|
912
|
+ // Markforged kinematics
|
|
913
|
+ #define CORE_AXIS_1 A_AXIS
|
|
914
|
+ #define CORE_AXIS_2 B_AXIS
|
|
915
|
+ #define NORMAL_AXIS Z_AXIS
|
|
916
|
+#endif
|
|
917
|
+
|
|
918
|
+#if ENABLED(MORGAN_SCARA)
|
|
919
|
+ #define IS_SCARA 1
|
|
920
|
+ #define IS_KINEMATIC 1
|
|
921
|
+#elif ENABLED(DELTA)
|
|
922
|
+ #define IS_KINEMATIC 1
|
|
923
|
+#else
|
|
924
|
+ #define IS_CARTESIAN 1
|
|
925
|
+ #if !IS_CORE
|
|
926
|
+ #define IS_FULL_CARTESIAN 1
|
|
927
|
+ #endif
|
|
928
|
+#endif
|
|
929
|
+
|
891
|
930
|
// This flag indicates some kind of jerk storage is needed
|
892
|
931
|
#if EITHER(CLASSIC_JERK, IS_KINEMATIC)
|
893
|
932
|
#define HAS_CLASSIC_JERK 1
|