Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional after homing options #26469

Merged
merged 6 commits into from
Nov 28, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Marlin/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -2249,6 +2249,9 @@
#define Z_SAFE_HOMING_X_POINT X_CENTER // X point for Z homing
#define Z_SAFE_HOMING_Y_POINT Y_CENTER // Y point for Z homing
//#define Z_SAFE_HOMING_POINT_ABSOLUTE // Ignore home offsets (M206) for Z homing position
#define Move_to_Custom //move nozzle to x y after a home
#define Custom_Pos_X 0 //or pick custom
#define Custom_Pos_Y 0
#endif

// Homing speeds (linear=mm/min, rotational=°/min)
Expand Down
3 changes: 3 additions & 0 deletions Marlin/src/gcode/calibrate/G28.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@

do_blocking_move_to_xy(destination);
homeaxis(Z_AXIS);
#ifdef Move_to_Custom
do_blocking_move_to_xy(Custom_Pos_X, Custom_Pos_Y);
#endif
}
else {
LCD_MESSAGE(MSG_ZPROBE_OUT);
Expand Down