after update to 2.0.3 (and also to 682e40674f) dimensions function now shows too much digits in all the numbers. if i set in Edit - Current Drawing Preferences - Units to show 4 digits after dot, it shows "80.0000" instead of simply "80", or "25.4000" instead of "25.4", same with angular dimensions. before 2.0.3 that was fine
I feel the current behavior is more reasonable,
specifying 4 digits after dot
1.0000
or
1
maybe:
1 and 1.0000 \plus\minus 0.0001
What's the general rule in CAD?
by ± you mean tolerance? i think it could be an optional field in a dimension's
options toolbar - when set, let if automatically show 1.000±0.001 or 1±0.001
as for using 1.000 always instead of 1 - those lables definetely take too much
space, littering the drawing. when one is building things bigger than 1m, who
needs these .0000...?
fixed in master branch:
80fe6e3..9ec6781 master -> master
ok, thanks!
btw, regex substitution would look much nicer in such cases. smth like:
s/.?0+$//
and no need for all those "if blah-blah-blah...."
done.
I leave the old code in comment, in case we want to keep the engine Qt free in LibreCAD-V3
9ec6781..d31c9b3
Thanks for the regex idea