Closed MZachmann closed 2 years ago
It doesn't make sense to display more than three decimal places because reprapfirmware does not report a higher precision.
Mark Zachmann @.***> schrieb am Fr., 8. Apr. 2022, 18:30:
decimalPlaces determines how many decimal places are shown in the dashboard coordinate display
displayUnits determines what unit of measure (inch/mm) is used for those coordinates as well as what units are used for the speeds (mm/s or ipm)
these only affect displayed values
You can view, comment on, or merge this pull request online at:
https://github.com/Duet3D/DuetWebControl/pull/416 Commit Summary
- df77e04 https://github.com/Duet3D/DuetWebControl/pull/416/commits/df77e0443ead1669d6296402fdf8d00afed9021b Add two options - decimalPlaces and displayUnits
File Changes
(7 files https://github.com/Duet3D/DuetWebControl/pull/416/files)
- M src/components/panels/CNCAxesPosition.vue https://github.com/Duet3D/DuetWebControl/pull/416/files#diff-aab5cbc3acb349dce09197ec3f7a4002b8e19c320d9346463acaf147550e406a (19)
- M src/components/panels/CNCContainerPanel.vue https://github.com/Duet3D/DuetWebControl/pull/416/files#diff-0d4f6f3dc0fbea0ebb400abc7b9468c62a02a99b5d3d799ed1719ca55ff9a441 (20)
- M src/components/panels/SettingsAppearancePanel.vue https://github.com/Duet3D/DuetWebControl/pull/416/files#diff-ae135f45d6fc57fa97cc3b5684b67fe107d39c8b6baeb8221471a1bcabcf814a (16)
- M src/components/panels/StatusPanel.vue https://github.com/Duet3D/DuetWebControl/pull/416/files#diff-c773b218020ea9de70a724023aad27f17e4368fad81b54807b1b52671d0b0ae7 (28)
- M src/i18n/en.js https://github.com/Duet3D/DuetWebControl/pull/416/files#diff-deaad0a8e2bc14be8dd4b01a42841a6f8cd78ab0d54ed60e42ee1ba78b67b1b8 (9)
- M src/store/settings.js https://github.com/Duet3D/DuetWebControl/pull/416/files#diff-19da680ef2cbaebcffb60731f208df3a703079d4526f2d930c9bb56146ebfcfb (9)
- M vue.config.js https://github.com/Duet3D/DuetWebControl/pull/416/files#diff-1d62a367f02f5c91000e35c82b0086fae3246eca3942f9034c058b16a3780ec2 (1)
Patch Links:
- https://github.com/Duet3D/DuetWebControl/pull/416.patch
- https://github.com/Duet3D/DuetWebControl/pull/416.diff
— Reply to this email directly, view it on GitHub https://github.com/Duet3D/DuetWebControl/pull/416, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNFFWNQJXRIPFZ7WECMYYLVEBNL5ANCNFSM5S5B2KQQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
ok. is that also true in inches?
I am sure about mm because that's what is reported to and displayed on Dwc.
I'm trying to add both inch display support and selectable decimal places. Since the options are closely linked in the structure I just did a pull for both changes.
I started from needing 2 decimal places (for mm), then wanting it in inches, then needing 3 decimal places and thinking about 4 for rare tests. Having imperial is a huge convenience when working in the US and this code change is so benign.
Thanks, I'll have a look!
Thank you.
decimalPlaces determines how many decimal places are shown in the dashboard coordinate display
displayUnits determines what unit of measure (inch/mm) is used for those coordinates as well as what units are used for the speeds (mm/s or ipm)
these only affect displayed values