Potree - How to show measurements with 3 decimals (mm)?

To chat about anything else.
Post Reply
soranan
I have made 40-50 posts
I have made 40-50 posts
Posts: 49
Joined: Thu Jul 27, 2017 9:57 am
6
Full Name: Suran Khani
Company Details: SkelDK Landinspektoerer
Company Position Title: Surveyor
Country: Denmark
Linkedin Profile: Yes
Has thanked: 6 times
Been thanked: 2 times

Potree - How to show measurements with 3 decimals (mm)?

Post by soranan »

Hi LSF!

Is it possible to show measurements with 3 decimals, in mm rather than cm in Potree viewer when measuring, Fx. points/coordinates?
As shown in attached image.

Thank you in advance
You do not have the required permissions to view the files attached to this post.
badam
V.I.P Member
V.I.P Member
Posts: 916
Joined: Tue May 11, 2021 5:36 pm
2
Full Name: Adam Berta
Company Details: InnoScan 3D Hungary Kft
Company Position Title: unknown
Country: Hungary
Linkedin Profile: No
Has thanked: 52 times
Been thanked: 297 times
Contact:

Re: Potree - How to show measurements with 3 decimals (mm)?

Post by badam »

hello there is no easy way, unfortinatelly..

It is hard coded to be rounded to 2 decimals. It is in the Measure class, and search for .toFixed(2), and replace them with a parameter or a .toFixed(3).
there are parts where there is .toFixed(1) (for example angle measurements)

It is probably better if you ask potree related questions on the official github page.
Post Reply

Return to “General Chat”