aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authoralocin73 <64709177+alocin73@users.noreply.github.com>2020-08-20 00:58:49 +0200
committerGitHub <noreply@github.com>2020-08-19 18:58:49 -0400
commit1bdf705524c4ac32829515e2919c543134a29076 (patch)
tree0b1aa2cf60e637d6bd4fa7d4b7687c76df843551 /docs
parentbc904dd431eafb2593c6bbd9cb0ba735c74e2124 (diff)
downloadkutter-1bdf705524c4ac32829515e2919c543134a29076.tar.gz
kutter-1bdf705524c4ac32829515e2919c543134a29076.tar.xz
kutter-1bdf705524c4ac32829515e2919c543134a29076.zip
hall_filament_width_sensor: Fix Flow update before next pending_position #3184 (#3198)
After reading the first item of self.filament_array, filament_width is updated back to self.nominal_filament_dia or self.diameter instead of retaining the value until next pending_position. Updated Filament Menu Template. Signed-off-by: Nicola Falciani <nicola.fal@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/HallFilamentWidthSensor.md29
1 files changed, 10 insertions, 19 deletions
diff --git a/docs/HallFilamentWidthSensor.md b/docs/HallFilamentWidthSensor.md
index efb62128..85f47c2c 100644
--- a/docs/HallFilamentWidthSensor.md
+++ b/docs/HallFilamentWidthSensor.md
@@ -92,26 +92,17 @@ Sensor generates two analog output based on calculated filament width. Sum of ou
**hall_filament_width_sensor.is_active** Sensor on or off
## Template for menu variables
- [menu __filament_width_current]
- type: item
- name: "Dia:{0:4.2f} mm"
- parameter: hall_filament_width_sensor.Diameter
+ [menu __main __filament __width_current]
+ type: command
+ enable: {'hall_filament_width_sensor' in printer}
+ name: Dia: {'%.2F' % printer.hall_filament_width_sensor.Diameter}
+ index: 0
- [menu __filament_raw_width_current]
- type: item
- name: "RAW:{0:4.0f}"
- parameter: hall_filament_width_sensor.Raw
-
- [menu __filament]
- type: list
- name: Filament
- items:
- __temp __hotend0_current, __temp __hotend0_target
- .__unload
- .__load
- .__feed
- __filament_width_current
- __filament_raw_width_current
+ [menu __main __filament __raw_width_current]
+ type: command
+ enable: {'hall_filament_width_sensor' in printer}
+ name: Raw: {'%4.0F' % printer.hall_filament_width_sensor.Raw}
+ index: 1
## Calibration procedure
Insert first calibration rod (1.5 mm size) get first raw sensor value