How to draw the contour lines of the model surface?

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