Display volumetric ratio in terms of E mm
This commit is contained in:
parent
4f05a66ee1
commit
bf6a1816b4
6 changed files with 8 additions and 7 deletions
|
|
@ -814,8 +814,9 @@ void Temperature::manage_heater() {
|
|||
|
||||
// Get the delayed info and add 100 to reconstitute to a percent of
|
||||
// the nominal filament diameter then square it to get an area
|
||||
const float vmroot = measurement_delay[meas_shift_index] * 0.01 + 1.0;
|
||||
planner.volumetric_multiplier[FILAMENT_SENSOR_EXTRUDER_NUM] = vmroot <= 0.1 ? 0.01 : sq(vmroot);
|
||||
float vmroot = measurement_delay[meas_shift_index] * 0.01 + 1.0;
|
||||
NOLESS(vmroot, 0.1);
|
||||
planner.volumetric_multiplier[FILAMENT_SENSOR_EXTRUDER_NUM] = 1.0 / CIRCLE_AREA(vmroot / 2);
|
||||
planner.refresh_e_factor(FILAMENT_SENSOR_EXTRUDER_NUM);
|
||||
}
|
||||
#endif // FILAMENT_WIDTH_SENSOR
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue