I have been working on decoding .stl files to eventually obtain Z heights for machining. So far, I have translated the binary .stl to extract the 3 coordinates for each facet's vertex. Now I am trying to decide how best to slice through a section to find the machining coordinates.

Anybody else tried this?

(I know there are commercial programs that will do this, but I am a DIY type and cheap, too)