How to remove lines based on a STL file?

See the tips in this post…