position[E_AXIS]=target[E_AXIS];// Behave as if the move really took place, but ignore E part
if(thermalManager.tooColdToExtrude(extruder)){
de=0;// no difference
position[E_AXIS]=target[E_AXIS];// Behave as if the move really took place, but ignore E part
#if ENABLED(LIN_ADVANCE)
de=0;// no difference
position_float[E_AXIS]=e;
#if ENABLED(LIN_ADVANCE)
de_float=0;
position_float[E_AXIS]=e;
#endif
de_float=0;
SERIAL_ECHO_START();
#endif
SERIAL_ECHOLNPGM(MSG_ERR_COLD_EXTRUDE_STOP);
SERIAL_ECHO_START();
}
SERIAL_ECHOLNPGM(MSG_ERR_COLD_EXTRUDE_STOP);
}
#endif // PREVENT_COLD_EXTRUSION
#if ENABLED(PREVENT_LENGTHY_EXTRUDE)
#if ENABLED(PREVENT_LENGTHY_EXTRUDE)
if(labs(de)>(int32_t)axis_steps_per_mm[E_AXIS_N]*(EXTRUDE_MAXLENGTH)){// It's not important to get max. extrusion length in a precision < 1mm, so save some cycles and cast to int
if(labs(de*e_factor[extruder])>(int32_t)axis_steps_per_mm[E_AXIS_N]*(EXTRUDE_MAXLENGTH)){// It's not important to get max. extrusion length in a precision < 1mm, so save some cycles and cast to int
position[E_AXIS]=target[E_AXIS];// Behave as if the move really took place, but ignore E part
position[E_AXIS]=target[E_AXIS];// Behave as if the move really took place, but ignore E part
staticint16_tflow_percentage[EXTRUDERS];// Extrusion factor for each extruder
staticint16_tflow_percentage[EXTRUDERS];// Extrusion factor for each extruder
staticfloatfilament_size[EXTRUDERS],// diameter of filament (in millimeters), typically around 1.75 or 2.85, 0 disables the volumetric calculations for the extruder
staticfloate_factor[EXTRUDERS],// The flow percentage and volumetric multiplier combine to scale E movement
filament_size[EXTRUDERS],// diameter of filament (in millimeters), typically around 1.75 or 2.85, 0 disables the volumetric calculations for the extruder
volumetric_multiplier[EXTRUDERS];// Reciprocal of cross-sectional area of filament (in mm^2). Pre-calculated to reduce computation in the planner
volumetric_multiplier[EXTRUDERS];// Reciprocal of cross-sectional area of filament (in mm^2). Pre-calculated to reduce computation in the planner
// May be auto-adjusted by a filament width sensor
// May be auto-adjusted by a filament width sensor