Contour Lines from .OBJ model? (for Pen Plotting)

The photo above shows an SVG I created with Blender, I am trying to achieve similar results in TouchDesigner using SOP2SVG (a branch of SOPtoSVG).

Although the SVG exporter works great, I’m having a hard time bisecting models and creating horizontal contour lines.

A complication is that some of the .OBJ models I’m utilizing have meshes which aren’t completely closed. I tried to work around this with a Proximity POP but haven’t had much luck.

So far I’ve tried approaching this with SOPs and POPs, with and without GLSL, but haven’t really come close to the expected result.

Thanks for any advice!