Single Z raise value for all tool-changing / parking (#12090)
* Universal tool-change Z lift * Add TOOLCHANGE_ZRAISE to example configs * Park/unpark changes to example configs * Implement DEBUG_DXC_MODE
This commit is contained in:
committed by
Scott Lahteine
parent
6bdbe3299e
commit
3ec3872730
@@ -23,6 +23,21 @@
|
||||
|
||||
#include "../inc/MarlinConfigPre.h"
|
||||
|
||||
#if EXTRUDERS > 1
|
||||
|
||||
typedef struct {
|
||||
float swap_length;
|
||||
int16_t prime_speed, retract_speed;
|
||||
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
|
||||
struct { float x, y; } change_point;
|
||||
#endif
|
||||
float z_raise = TOOLCHANGE_ZRAISE;
|
||||
} toolchange_settings_t;
|
||||
|
||||
extern toolchange_settings_t toolchange_settings;
|
||||
|
||||
#endif
|
||||
|
||||
#if DO_SWITCH_EXTRUDER
|
||||
void move_extruder_servo(const uint8_t e);
|
||||
#endif
|
||||
@@ -49,21 +64,14 @@
|
||||
#endif // PARKING_EXTRUDER
|
||||
|
||||
#if ENABLED(SINGLENOZZLE)
|
||||
typedef struct {
|
||||
float swap_length;
|
||||
int16_t prime_speed, retract_speed;
|
||||
#if ENABLED(SINGLENOZZLE_SWAP_PARK)
|
||||
struct { float x, y; } change_point;
|
||||
#endif
|
||||
float z_raise;
|
||||
} singlenozzle_settings_t;
|
||||
extern singlenozzle_settings_t sn_settings;
|
||||
extern uint16_t singlenozzle_temp[EXTRUDERS];
|
||||
#if FAN_COUNT > 0
|
||||
extern uint8_t singlenozzle_fan_speed[EXTRUDERS];
|
||||
#endif
|
||||
#endif
|
||||
|
||||
extern float z_raise;
|
||||
|
||||
/**
|
||||
* Perform a tool-change, which may result in moving the
|
||||
* previous tool out of the way and the new tool into place.
|
||||
|
||||
Reference in New Issue
Block a user