Compare commits
No commits in common. "a12fb34d3d31cfe0637140efa89daf626bef237f" and "b4e66f399c7f9b632ad9330db67fbda0b88387b3" have entirely different histories.
a12fb34d3d
...
b4e66f399c
@ -163,9 +163,7 @@
|
||||
*
|
||||
* :[3, 4, 5, 6]
|
||||
*/
|
||||
//#define LINEAR_AXES 3
|
||||
#define LINEAR_AXES 2
|
||||
#define Z_AXIS 0
|
||||
#define LINEAR_AXES 3
|
||||
|
||||
/**
|
||||
* Axis codes for additional axes:
|
||||
@ -897,14 +895,14 @@
|
||||
* Override with M92
|
||||
* X, Y, Z [, I [, J [, K]]], E0 [, E1[, E2...]]
|
||||
*/
|
||||
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80 }
|
||||
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400}
|
||||
|
||||
/**
|
||||
* Default Max Feed Rate (mm/s)
|
||||
* Override with M203
|
||||
* X, Y, Z [, I [, J [, K]]], E0 [, E1[, E2...]]
|
||||
*/
|
||||
#define DEFAULT_MAX_FEEDRATE { 300, 300 }
|
||||
#define DEFAULT_MAX_FEEDRATE { 300, 300, 5}
|
||||
|
||||
//#define LIMITED_MAX_FR_EDITING // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
|
||||
#if ENABLED(LIMITED_MAX_FR_EDITING)
|
||||
@ -917,7 +915,7 @@
|
||||
* Override with M201
|
||||
* X, Y, Z [, I [, J [, K]]], E0 [, E1[, E2...]]
|
||||
*/
|
||||
#define DEFAULT_MAX_ACCELERATION { 3000, 3000 }
|
||||
#define DEFAULT_MAX_ACCELERATION { 3000, 3000, 100}
|
||||
|
||||
//#define LIMITED_MAX_ACCEL_EDITING // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
|
||||
#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
|
||||
@ -1717,7 +1715,7 @@
|
||||
#endif
|
||||
|
||||
// Homing speeds (mm/min)
|
||||
#define HOMING_FEEDRATE_MM_M { (50*60), (50*60) }
|
||||
#define HOMING_FEEDRATE_MM_M { (50*60), (50*60), (4*60) }
|
||||
|
||||
// Validate that endstops are triggered on homing moves
|
||||
#define VALIDATE_HOMING_ENDSTOPS
|
||||
|
@ -753,8 +753,8 @@
|
||||
|
||||
//#define SENSORLESS_BACKOFF_MM { 2, 2, 0 } // (mm) Backoff from endstops before sensorless homing
|
||||
|
||||
#define HOMING_BUMP_MM { 5, 5 } // (mm) Backoff from endstops after first bump
|
||||
#define HOMING_BUMP_DIVISOR { 2, 2 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||
#define HOMING_BUMP_MM { 5, 5, 2 } // (mm) Backoff from endstops after first bump
|
||||
#define HOMING_BUMP_DIVISOR { 2, 2, 4 } // Re-Bump Speed Divisor (Divides the Homing Feedrate)
|
||||
|
||||
//#define HOMING_BACKOFF_POST_MM { 2, 2, 2 } // (mm) Backoff from endstops after homing
|
||||
|
||||
@ -927,7 +927,7 @@
|
||||
// @section motion
|
||||
|
||||
//#define AXIS_RELATIVE_MODES { false, false, false, false }
|
||||
#define AXIS_RELATIVE_MODES { false, false}
|
||||
#define AXIS_RELATIVE_MODES { false, false, false}
|
||||
|
||||
// Add a Duplicate option for well-separated conjoined nozzles
|
||||
//#define MULTI_NOZZLE_DUPLICATION
|
||||
@ -1165,7 +1165,7 @@
|
||||
// @section lcd
|
||||
|
||||
#if EITHER(IS_ULTIPANEL, EXTENSIBLE_UI)
|
||||
#define MANUAL_FEEDRATE { 50*60, 50*60 } // (mm/min) Feedrates for manual moves along X, Y, Z, E from panel
|
||||
#define MANUAL_FEEDRATE { 50*60, 50*60, 4*60} // (mm/min) Feedrates for manual moves along X, Y, Z, E from panel
|
||||
#define FINE_MANUAL_MOVE 0.025 // (mm) Smallest manual move (< 0.1mm) applying to Z on most machines
|
||||
#if IS_ULTIPANEL
|
||||
#define MANUAL_E_MOVES_RELATIVE // Display extruder move distance rather than "position"
|
||||
|
@ -490,7 +490,7 @@ void MarlinUI::draw_status_screen() {
|
||||
|
||||
const xyz_pos_t lpos = current_position.asLogical();
|
||||
const bool is_inch = parser.using_inch_units();
|
||||
//strcpy(zstring, is_inch ? ftostr42_52(LINEAR_UNIT(lpos.z)) : ftostr52sp(lpos.z));
|
||||
strcpy(zstring, is_inch ? ftostr42_52(LINEAR_UNIT(lpos.z)) : ftostr52sp(lpos.z));
|
||||
|
||||
if (show_e_total) {
|
||||
#if ENABLED(LCD_SHOW_E_TOTAL)
|
||||
@ -885,7 +885,7 @@ void MarlinUI::draw_status_screen() {
|
||||
|
||||
#endif
|
||||
|
||||
//_draw_axis_value(Z_AXIS, zstring, blink);
|
||||
_draw_axis_value(Z_AXIS, zstring, blink);
|
||||
|
||||
#if NONE(XYZ_NO_FRAME, XYZ_HOLLOW_FRAME)
|
||||
u8g.setColorIndex(1); // black on white
|
||||
|
@ -390,7 +390,7 @@ void menu_backlash();
|
||||
|
||||
// M201 / M204 Accelerations
|
||||
void menu_advanced_acceleration() {
|
||||
const float max_accel = _MAX(planner.settings.max_acceleration_mm_per_s2[A_AXIS], planner.settings.max_acceleration_mm_per_s2[B_AXIS]);
|
||||
const float max_accel = _MAX(planner.settings.max_acceleration_mm_per_s2[A_AXIS], planner.settings.max_acceleration_mm_per_s2[B_AXIS], planner.settings.max_acceleration_mm_per_s2[C_AXIS]);
|
||||
|
||||
// M201 settings
|
||||
constexpr xyze_ulong_t max_accel_edit =
|
||||
|
@ -157,7 +157,7 @@ void _menu_move_distance(const AxisEnum axis, const screenFunc_t func, const int
|
||||
switch (axis) {
|
||||
case X_AXIS: STATIC_ITEM(MSG_MOVE_X, SS_DEFAULT|SS_INVERT); break;
|
||||
case Y_AXIS: STATIC_ITEM(MSG_MOVE_Y, SS_DEFAULT|SS_INVERT); break;
|
||||
//case Z_AXIS: STATIC_ITEM(MSG_MOVE_Z, SS_DEFAULT|SS_INVERT); break;
|
||||
case Z_AXIS: STATIC_ITEM(MSG_MOVE_Z, SS_DEFAULT|SS_INVERT); break;
|
||||
default:
|
||||
TERN_(MANUAL_E_MOVES_RELATIVE, manual_move_e_origin = current_position.e);
|
||||
STATIC_ITEM(MSG_MOVE_E, SS_DEFAULT|SS_INVERT);
|
||||
|
@ -76,7 +76,7 @@ struct vector_3 {
|
||||
vector_3 operator*(const float &v) { return vector_3(x * v, y * v, z * v); }
|
||||
|
||||
operator xy_float_t() { return xy_float_t({ x, y }); }
|
||||
operator xyz_float_t() { return xyz_float_t({ x, y }); }
|
||||
operator xyz_float_t() { return xyz_float_t({ x, y, z }); }
|
||||
|
||||
void debug(PGM_P const title);
|
||||
};
|
||||
|
@ -1894,7 +1894,7 @@ bool Planner::_populate_block(block_t * const block, bool split_move,
|
||||
#if CORE_IS_XY
|
||||
if (da < 0) SBI(dm, X_HEAD); // Save the toolhead's true direction in X
|
||||
if (db < 0) SBI(dm, Y_HEAD); // ...and Y
|
||||
//if (dc < 0) SBI(dm, Z_AXIS);
|
||||
if (dc < 0) SBI(dm, Z_AXIS);
|
||||
if (da + db < 0) SBI(dm, A_AXIS); // Motor A direction
|
||||
if (CORESIGN(da - db) < 0) SBI(dm, B_AXIS); // Motor B direction
|
||||
#elif CORE_IS_XZ
|
||||
@ -1952,7 +1952,7 @@ bool Planner::_populate_block(block_t * const block, bool split_move,
|
||||
// Number of steps for each axis
|
||||
// See https://www.corexy.com/theory.html
|
||||
#if CORE_IS_XY
|
||||
block->steps.set(ABS(da + db), ABS(da - db));
|
||||
block->steps.set(ABS(da + db), ABS(da - db), ABS(dc));
|
||||
#elif CORE_IS_XZ
|
||||
block->steps.set(ABS(da + dc), ABS(db), ABS(da - dc));
|
||||
#elif CORE_IS_YZ
|
||||
@ -1983,7 +1983,7 @@ bool Planner::_populate_block(block_t * const block, bool split_move,
|
||||
#if CORE_IS_XY
|
||||
steps_dist_mm.head.x = da * steps_to_mm[A_AXIS];
|
||||
steps_dist_mm.head.y = db * steps_to_mm[B_AXIS];
|
||||
//steps_dist_mm.z = dc * steps_to_mm[Z_AXIS];
|
||||
steps_dist_mm.z = dc * steps_to_mm[Z_AXIS];
|
||||
steps_dist_mm.a = (da + db) * steps_to_mm[A_AXIS];
|
||||
steps_dist_mm.b = CORESIGN(da - db) * steps_to_mm[B_AXIS];
|
||||
#elif CORE_IS_XZ
|
||||
@ -2124,9 +2124,9 @@ bool Planner::_populate_block(block_t * const block, bool split_move,
|
||||
ENABLE_AXIS_X();
|
||||
ENABLE_AXIS_Y();
|
||||
}
|
||||
//#if DISABLED(Z_LATE_ENABLE)
|
||||
// if (block->steps.z) ENABLE_AXIS_Z();
|
||||
//#endif
|
||||
#if DISABLED(Z_LATE_ENABLE)
|
||||
if (block->steps.z) ENABLE_AXIS_Z();
|
||||
#endif
|
||||
#elif CORE_IS_XZ
|
||||
if (block->steps.a || block->steps.c) {
|
||||
ENABLE_AXIS_X();
|
||||
|
@ -2717,7 +2717,7 @@ void Stepper::_set_position(const abce_long_t &spos) {
|
||||
#if CORE_IS_XY
|
||||
// corexy positioning
|
||||
// these equations follow the form of the dA and dB equations on https://www.corexy.com/theory.html
|
||||
count_position.set(spos.a + spos.b, CORESIGN(spos.a - spos.b));
|
||||
count_position.set(spos.a + spos.b, CORESIGN(spos.a - spos.b), spos.c);
|
||||
#elif CORE_IS_XZ
|
||||
// corexz planning
|
||||
count_position.set(spos.a + spos.c, spos.b, CORESIGN(spos.a - spos.c));
|
||||
|
Loading…
Reference in New Issue
Block a user