|
@@ -227,11 +227,11 @@ void move_to(const float &rx, const float &ry, const float &z, const float &e_de
|
227
|
227
|
|
228
|
228
|
if (z != last_z) {
|
229
|
229
|
last_z = z;
|
230
|
|
- feed_value = planner.settings.max_feedrate_mm_s[Z_AXIS]/(3.0); // Base the feed rate off of the configured Z_AXIS feed rate
|
|
230
|
+ feed_value = planner.settings.max_feedrate_mm_s[Z_AXIS]/(2.0); // Base the feed rate off of the configured Z_AXIS feed rate
|
231
|
231
|
|
232
|
232
|
destination[X_AXIS] = current_position[X_AXIS];
|
233
|
233
|
destination[Y_AXIS] = current_position[Y_AXIS];
|
234
|
|
- destination[Z_AXIS] = z; // We know the last_z==z or we wouldn't be in this block of code.
|
|
234
|
+ destination[Z_AXIS] = z; // We know the last_z!=z or we wouldn't be in this block of code.
|
235
|
235
|
destination[E_AXIS] = current_position[E_AXIS];
|
236
|
236
|
|
237
|
237
|
G26_line_to_destination(feed_value);
|
|
@@ -240,7 +240,7 @@ void move_to(const float &rx, const float &ry, const float &z, const float &e_de
|
240
|
240
|
|
241
|
241
|
// Check if X or Y is involved in the movement.
|
242
|
242
|
// Yes: a 'normal' movement. No: a retract() or recover()
|
243
|
|
- feed_value = has_xy_component ? PLANNER_XY_FEEDRATE() / 10.0 : planner.settings.max_feedrate_mm_s[E_AXIS] / 1.5;
|
|
243
|
+ feed_value = has_xy_component ? PLANNER_XY_FEEDRATE() / 3.0 : planner.settings.max_feedrate_mm_s[E_AXIS] / 1.5;
|
244
|
244
|
|
245
|
245
|
if (g26_debug_flag) SERIAL_ECHOLNPAIR("in move_to() feed_value for XY:", feed_value);
|
246
|
246
|
|
|
@@ -819,6 +819,19 @@ void GcodeSuite::G26() {
|
819
|
819
|
recover_filament(destination);
|
820
|
820
|
const float save_feedrate = feedrate_mm_s;
|
821
|
821
|
feedrate_mm_s = PLANNER_XY_FEEDRATE() / 10.0;
|
|
822
|
+
|
|
823
|
+ if (g26_debug_flag) {
|
|
824
|
+ SERIAL_ECHOPAIR(" plan_arc(ex=", endpoint[X_AXIS]);
|
|
825
|
+ SERIAL_ECHOPAIR(", ey=", endpoint[Y_AXIS]);
|
|
826
|
+ SERIAL_ECHOPAIR(", ez=", endpoint[Z_AXIS]);
|
|
827
|
+ SERIAL_ECHOPAIR(", len=", arc_offset);
|
|
828
|
+ SERIAL_ECHOPAIR(") -> (ex=", current_position[X_AXIS]);
|
|
829
|
+ SERIAL_ECHOPAIR(", ey=", current_position[Y_AXIS]);
|
|
830
|
+ SERIAL_ECHOPAIR(", ez=", current_position[Z_AXIS]);
|
|
831
|
+ SERIAL_CHAR(')');
|
|
832
|
+ SERIAL_EOL();
|
|
833
|
+ }
|
|
834
|
+
|
822
|
835
|
plan_arc(endpoint, arc_offset, false); // Draw a counter-clockwise arc
|
823
|
836
|
feedrate_mm_s = save_feedrate;
|
824
|
837
|
set_destination_from_current();
|