Is there a why to draw a straight rule line outside of object
You can use grid for precise measurements


Switch to orthographic view (View > Orthographic)
Use top/side view (View > Viewpoint)
enable Absolute Snap to Increment


When zooming, the grid will go from meters > centimeters> milimeters.