I think it would make sense to ask about this as a seperate question to get more answers.
Also custom mesh implies that it is one you have created and hence would know which vertices are which. I believe you are talking aboiut an imported mesh that someone else has created.
One possibilty would be to use a manual method to pick the required facet triangles like this
to find the ones you need before building your app.