FreeCAD: master 714a7165

Author Committer Branch Timestamp Parent
uwestoehr wmayer master 2020-12-27 03:06:27 master adc78f1e
Changeset [TD] handle equal tolerances correctly

the common rule is that if a dimension has equal over- and undertolerance, they are output on the same line as the dimension concatenated using the ± character.

This PR does this.

Note that this is not just cosmetics, it is even standardized in the GD&T norms.

also:
* use one format specifier for tolerances since the norms don't allow a different format for the over- and the undertolerance
* some code optimizations like a self-explaining function name, remove unnecessary/outdated comments
mod - src/Mod/TechDraw/App/DrawViewDimension.cpp Diff File
mod - src/Mod/TechDraw/App/DrawViewDimension.h Diff File
mod - src/Mod/TechDraw/Gui/QGIViewDimension.cpp Diff File
mod - src/Mod/TechDraw/Gui/QGIViewDimension.h Diff File