Single X Duplication Extension (#13373)
* Multi-nozzle selective duplication * Use a bit-mask, reduce stepper_indirection.h size * Tweak the multi-nozzle duplication description * Use 'S' as a bool in M605 * Add HAS_DUPLICATION_MODE conditional * Remove '_MODE' from the option name * M605 in the style of Stacker M280 * Also include direct mask style (P)
This commit is contained in:
committed by
Scott Lahteine
parent
ad91476d26
commit
050eac03af
@ -435,6 +435,7 @@
|
||||
#define SWITCHING_NOZZLE_TWO_SERVOS defined(SWITCHING_NOZZLE_E1_SERVO_NR)
|
||||
|
||||
#define HAS_HOTEND_OFFSET (HOTENDS > 1)
|
||||
#define HAS_DUPLICATION_MODE (ENABLED(DUAL_X_CARRIAGE) || ENABLED(MULTI_NOZZLE_DUPLICATION))
|
||||
|
||||
/**
|
||||
* DISTINCT_E_FACTORS affects how some E factors are accessed
|
||||
|
@ -345,6 +345,8 @@
|
||||
#error "TMC_Z_CALIBRATION has been deprecated in favor of Z_STEPPER_AUTO_ALIGN. Please update your configuration."
|
||||
#elif defined(Z_MIN_PROBE_ENDSTOP)
|
||||
#error "Z_MIN_PROBE_ENDSTOP is no longer required. Please remove it from Configuration.h."
|
||||
#elif defined(DUAL_NOZZLE_DUPLICATION_MODE)
|
||||
#error "DUAL_NOZZLE_DUPLICATION_MODE is now MULTI_NOZZLE_DUPLICATION. Please update your configuration."
|
||||
#endif
|
||||
|
||||
#define BOARD_MKS_13 -47
|
||||
@ -1444,19 +1446,19 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Basic 2-nozzle duplication mode
|
||||
* Basic multi hotend duplication mode
|
||||
*/
|
||||
#if ENABLED(DUAL_NOZZLE_DUPLICATION_MODE)
|
||||
#if HOTENDS != 2
|
||||
#error "DUAL_NOZZLE_DUPLICATION_MODE requires exactly 2 hotends."
|
||||
#if ENABLED(MULTI_NOZZLE_DUPLICATION)
|
||||
#if HOTENDS < 2
|
||||
#error "MULTI_NOZZLE_DUPLICATION requires 2 or more hotends."
|
||||
#elif ENABLED(DUAL_X_CARRIAGE)
|
||||
#error "DUAL_NOZZLE_DUPLICATION_MODE is incompatible with DUAL_X_CARRIAGE."
|
||||
#error "MULTI_NOZZLE_DUPLICATION is incompatible with DUAL_X_CARRIAGE."
|
||||
#elif ENABLED(SINGLENOZZLE)
|
||||
#error "DUAL_NOZZLE_DUPLICATION_MODE is incompatible with SINGLENOZZLE."
|
||||
#error "MULTI_NOZZLE_DUPLICATION is incompatible with SINGLENOZZLE."
|
||||
#elif ENABLED(MIXING_EXTRUDER)
|
||||
#error "DUAL_NOZZLE_DUPLICATION_MODE is incompatible with MIXING_EXTRUDER."
|
||||
#error "MULTI_NOZZLE_DUPLICATION is incompatible with MIXING_EXTRUDER."
|
||||
#elif ENABLED(SWITCHING_EXTRUDER)
|
||||
#error "DUAL_NOZZLE_DUPLICATION_MODE is incompatible with SWITCHING_EXTRUDER."
|
||||
#error "MULTI_NOZZLE_DUPLICATION is incompatible with SWITCHING_EXTRUDER."
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user