Different ESTEPS per extruder for FlexyDually

master
Marcio Teixeira 7 years ago
parent 77c1c642cf
commit 981ec2e195

@ -515,7 +515,9 @@
* following movement settings. If fewer factors are given than the * following movement settings. If fewer factors are given than the
* total number of extruders, the last value applies to the rest. * total number of extruders, the last value applies to the rest.
*/ */
//#define DISTINCT_E_FACTORS #if defined(LULZBOT_DISTINCT_E_FACTORS)
#define DISTINCT_E_FACTORS LULZBOT_DISTINCT_E_FACTORS
#endif
/** /**
* Default Axis Steps Per Unit (steps/mm) * Default Axis Steps Per Unit (steps/mm)

@ -336,6 +336,9 @@
// In the experimental Gladiola_GLCD, the encoder direction is reversed. // In the experimental Gladiola_GLCD, the encoder direction is reversed.
#define LULZBOT_REVERSE_ENCODER_DIRECTION #define LULZBOT_REVERSE_ENCODER_DIRECTION
#endif #endif
// Confusingly, Marlin shows three separate e-step settings: the active nozzle, nozzle1, nozzle2.
// We hide the first since it is redundant.
#define LULZBOT_HIDE_E_STEPS_FOR_ACTIVE_NOZZLE
#endif #endif
/*********************************************** COMMON TOOLHEADS PARAMETERS *****************************/ /*********************************************** COMMON TOOLHEADS PARAMETERS *****************************/
@ -471,6 +474,7 @@
#undef LULZBOT_WIPE_Y2 #undef LULZBOT_WIPE_Y2
#define LULZBOT_WIPE_Y2 73 #define LULZBOT_WIPE_Y2 73
#define LULZBOT_X_MAX_ENDSTOP_INVERTING true #define LULZBOT_X_MAX_ENDSTOP_INVERTING true
#define LULZBOT_DISTINCT_E_FACTORS
#endif /* TOOLHEAD_Longfin_FlexyDually */ #endif /* TOOLHEAD_Longfin_FlexyDually */
@ -617,13 +621,11 @@
#endif #endif
// default steps per unit for LulzBot TAZ. // default steps per unit for LulzBot TAZ.
// LULZBOT_ESTEPS_PER_EXTRUDER is required for the tuning of FlexyDually
// but currently is not implemented in Marlin 1.1.4.
#if LULZBOT_EXTRUDERS == 1 || not defined(LULZBOT_ESTEPS_PER_EXTRUDER) #if defined(LULZBOT_DISTINCT_E_FACTORS) && LULZBOT_EXTRUDERS == 2
#define LULZBOT_DEFAULT_AXIS_STEPS_PER_UNIT {LULZBOT_XY_STEPS,LULZBOT_XY_STEPS,LULZBOT_Z_STEPS,LULZBOT_E_STEPS}
#elif LULZBOT_EXTRUDERS == 2
#define LULZBOT_DEFAULT_AXIS_STEPS_PER_UNIT {LULZBOT_XY_STEPS,LULZBOT_XY_STEPS,LULZBOT_Z_STEPS,LULZBOT_E_STEPS,LULZBOT_E_STEPS} #define LULZBOT_DEFAULT_AXIS_STEPS_PER_UNIT {LULZBOT_XY_STEPS,LULZBOT_XY_STEPS,LULZBOT_Z_STEPS,LULZBOT_E_STEPS,LULZBOT_E_STEPS}
#else
#define LULZBOT_DEFAULT_AXIS_STEPS_PER_UNIT {LULZBOT_XY_STEPS,LULZBOT_XY_STEPS,LULZBOT_Z_STEPS,LULZBOT_E_STEPS}
#endif #endif
// Gralco's customized Z Offset overlay (also requires dogm_bitmaps_Lulzbot.h) // Gralco's customized Z Offset overlay (also requires dogm_bitmaps_Lulzbot.h)

@ -3248,7 +3248,9 @@ void kill_screen(const char* lcd_msg) {
MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float62, MSG_ZSTEPS, &planner.axis_steps_per_mm[Z_AXIS], 5, 9999, _planner_refresh_positioning); MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float62, MSG_ZSTEPS, &planner.axis_steps_per_mm[Z_AXIS], 5, 9999, _planner_refresh_positioning);
#if ENABLED(DISTINCT_E_FACTORS) #if ENABLED(DISTINCT_E_FACTORS)
#if not defined(LULZBOT_HIDE_E_STEPS_FOR_ACTIVE_NOZZLE)
MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float62, MSG_ESTEPS, &planner.axis_steps_per_mm[E_AXIS + active_extruder], 5, 9999, _planner_refresh_positioning); MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float62, MSG_ESTEPS, &planner.axis_steps_per_mm[E_AXIS + active_extruder], 5, 9999, _planner_refresh_positioning);
#endif
MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float62, MSG_E1STEPS, &planner.axis_steps_per_mm[E_AXIS], 5, 9999, _planner_refresh_e0_positioning); MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float62, MSG_E1STEPS, &planner.axis_steps_per_mm[E_AXIS], 5, 9999, _planner_refresh_e0_positioning);
MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float62, MSG_E2STEPS, &planner.axis_steps_per_mm[E_AXIS + 1], 5, 9999, _planner_refresh_e1_positioning); MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float62, MSG_E2STEPS, &planner.axis_steps_per_mm[E_AXIS + 1], 5, 9999, _planner_refresh_e1_positioning);
#if E_STEPPERS > 2 #if E_STEPPERS > 2

@ -15,5 +15,4 @@ To select what firmware to build, modify lines 6 and 7 of "Configuration_LulzBot
# Known Issues: # Known Issues:
1. The Makefile does not work. Building must be done via the Arduino IDE (internal builds are being done with 1.8.3) 1. The Makefile does not work. Building must be done via the Arduino IDE (internal builds are being done with 1.8.3)
2. There is no way to tune the FlexyDually properly right now, as Marlin 1.1.4 does not support separate ESTEPs per extruder. 2. Printer needs to be power cycled to clear "clean nozzle" state.
3. Printer needs to be power cycled to clear "clean nozzle" state.
Loading…
Cancel
Save