Dimension tool (as in sketchup)

 From:  Max Smirnov (SMIRNOV)
7403.84 
v.0.97

Select line/curve/edge and then run the script ;)

EDITED: 7 Mar 2022 by SMIRNOV