How to draw the contour lines of the model surface?

Hi, can someone help me?
How to draw the black line when the mouse is on the model in the video?

Hi!
Maybe this will help: Draw a horizontal line around object on Mouse Hover - #5 by prisoner849

Thanks a lot, this is exactly what I needed