as.tmesh3d function

Convert object to a triangular mesh