mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-26 21:36:21 +00:00
✨ POLARGRAPH / PEN_UP_DOWN_MENU (#25303)
Co-authored-by: Dan Royer <1464454+i-make-robots@users.noreply.github.com>
This commit is contained in:
parent
5446968a58
commit
738f0a10f5
@ -878,8 +878,9 @@
|
||||
// Enable for Polargraph Kinematics
|
||||
//#define POLARGRAPH
|
||||
#if ENABLED(POLARGRAPH)
|
||||
#define POLARGRAPH_MAX_BELT_LEN 1035.0
|
||||
#define DEFAULT_SEGMENTS_PER_SECOND 5
|
||||
#define POLARGRAPH_MAX_BELT_LEN 1035.0 // (mm) Belt length at full extension. Override with M665 H.
|
||||
#define DEFAULT_SEGMENTS_PER_SECOND 5 // Move segmentation based on duration
|
||||
#define PEN_UP_DOWN_MENU // Add "Pen Up" and "Pen Down" to the MarlinUI menu
|
||||
#endif
|
||||
|
||||
// @section delta
|
||||
|
@ -596,6 +596,8 @@ namespace Language_en {
|
||||
LSTR MSG_TOUCHMI_SAVE = _UxGT("Save");
|
||||
LSTR MSG_MANUAL_DEPLOY_TOUCHMI = _UxGT("Deploy TouchMI");
|
||||
LSTR MSG_MANUAL_DEPLOY = _UxGT("Deploy Z-Probe");
|
||||
LSTR MSG_MANUAL_PENUP = _UxGT("Pen up");
|
||||
LSTR MSG_MANUAL_PENDOWN = _UxGT("Pen down");
|
||||
LSTR MSG_MANUAL_STOW = _UxGT("Stow Z-Probe");
|
||||
LSTR MSG_HOME_FIRST = _UxGT("Home %s First");
|
||||
LSTR MSG_ZPROBE_SETTINGS = _UxGT("Probe Settings");
|
||||
|
@ -360,6 +360,13 @@ void menu_motion() {
|
||||
#endif
|
||||
|
||||
//
|
||||
// Pen up/down menu
|
||||
//
|
||||
#if ENABLED(PEN_UP_DOWN_MENU)
|
||||
GCODES_ITEM(MSG_MANUAL_PENUP, F("M280 P0 S90"));
|
||||
GCODES_ITEM(MSG_MANUAL_PENDOWN, F("M280 P0 S50"));
|
||||
#endif
|
||||
|
||||
// Probe Offset Wizard
|
||||
//
|
||||
#if ENABLED(PROBE_OFFSET_WIZARD)
|
||||
|
@ -926,6 +926,8 @@ void restore_feedrate_and_scaling() {
|
||||
#if BOTH(HAS_HOTEND_OFFSET, DELTA)
|
||||
// The effector center position will be the target minus the hotend offset.
|
||||
const xy_pos_t offs = hotend_offset[active_extruder];
|
||||
#elif ENABLED(POLARGRAPH)
|
||||
// POLARGRAPH uses draw_area_* below...
|
||||
#elif ENABLED(POLAR)
|
||||
// For now, we don't limit POLAR
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user