Skip to content

Commit

Permalink
Hotfix/Mesh mapping T1 moves (#70)
Browse files Browse the repository at this point in the history
While running G293, removed unneeded movement of right tool to the silicon cloth.

Authored-by: Javier97sm <Javier97sm@users.noreply.github.com>
  • Loading branch information
Javier97sm authored Nov 19, 2021
1 parent 514969c commit c24c177
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
19 changes: 0 additions & 19 deletions Marlin/Marlin_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8903,25 +8903,6 @@ inline void gcode_G293(){//BCN3D Mesh Bed leveling piezo
const float x_probe_mesh_points[3] = {start_x, start_x + shift_x, start_x + shift_x*2};
const float y_probe_mesh_points[3] = {start_y, start_y + shift_y, start_y + shift_y*2};


current_position[X_AXIS] += x_gap_avoid_collision_l;
planner.buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], MMM_TO_MMS(9000), 0);


active_extruder=1;
set_axis_is_at_home(X_AXIS);
SERIAL_PROTOCOLLN(current_position[X_AXIS]);
planner.set_position_mm(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS],current_position[E_AXIS]);
current_position[X_AXIS]-=x_gap_avoid_collision_r;
planner.buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], MMM_TO_MMS(9000), 1);

active_extruder=0;
set_axis_is_at_home(X_AXIS);
current_position[X_AXIS]+=x_gap_avoid_collision_l;
planner.set_position_mm(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS],current_position[E_AXIS]); // We are now at position
planner.synchronize();


SERIAL_PROTOCOLPGM("Zvalue after home: ");
SERIAL_PROTOCOLLN(current_position[Z_AXIS]);
float mesh_z_points[3][3];
Expand Down
2 changes: 1 addition & 1 deletion Marlin/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
* Marlin release version identifier
*/

#define SHORT_BUILD_VERSION "v0.12.0RC0"
#define SHORT_BUILD_VERSION "v0.12.0RC1"

/**
* Verbose version identifier which should contain a reference to the location
Expand Down

0 comments on commit c24c177

Please sign in to comment.